This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end | |
gemfile(true) do | |
source "https://rubygems.org" | |
gem "rails", "5.0.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: "Carnevalee-Freakshow"; | |
// File at `app/assets/fonts/Carnevalee-Freakshow.ttf | |
src: font-url('Carnevalee-Freakshow.ttf') format('truetype'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2.2.2 rails (4-2-stable)]$ bench=1 version=4-2 ruby scope.rb | |
Calculating ------------------------------------- | |
scope 717.000 i/100ms | |
------------------------------------------------- | |
scope 7.539k (± 6.6%) i/s - 38.001k | |
[2.2.2 rails (4-2-stable)]$ g co 4-1-stable | |
Switched to branch '4-1-stable' | |
Your branch is up-to-date with 'origin/4-1-stable'. | |
[2.2.2 rails (4-1-stable)]$ bench=1 version=4-2 ruby scope.rb | |
Calculating ------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb | |
index 2c6eda0..012a562 100644 | |
--- a/test/ruby/test_bignum.rb | |
+++ b/test/ruby/test_bignum.rb | |
@@ -268,6 +268,18 @@ class TestBignum < Test::Unit::TestCase | |
assert_equal(2**180, (2**80) * o) | |
end | |
+ def test_positive_p | |
+ assert_predicate(T_ONE, :positive?) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'rails', '4.1.9' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.travis.yml b/.travis.yml | |
index 6c4d540..bbeca71 100644 | |
--- a/.travis.yml | |
+++ b/.travis.yml | |
@@ -1,8 +1,11 @@ | |
language: ruby | |
+sudo: false | |
script: 'ci/travis.rb' | |
before_install: | |
- - travis_retry gem install bundler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Running Initializer: set_load_path" | |
"Running Initializer: set_load_path" | |
"Running Initializer: set_load_path" | |
"Running Initializer: set_load_path" | |
"Running Initializer: set_load_path" | |
"Running Initializer: set_autoload_paths" | |
"Running Initializer: set_autoload_paths" | |
"Running Initializer: set_autoload_paths" | |
"Running Initializer: set_autoload_paths" | |
"Running Initializer: set_autoload_paths" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2.1.5 yves]$ be rake --trace environment | |
** Invoke environment (first_time) | |
** Execute environment | |
"added hook" | |
"load Active Record" | |
"Active Record config: maintain_test_schema" | |
"Active Record config: raise_in_transactional_callbacks" | |
"Load initializer" | |
[2.1.5 yves]$ rails runner 'p 1' | |
"added hook" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# test/template/benchmark/render_erb_test.rb | |
# encoding: utf-8 | |
require 'abstract_unit' | |
require 'controller/fake_models' | |
require 'benchmark/ips' | |
class TestController < ActionController::Base | |
end | |
class RenderErbBenchmarks < ActiveSupport::TestCase |
NewerOlder