rails-perftest 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ec4ca28835b274a94165814525c35a6ef4b0053
4
- data.tar.gz: 7aa56733ef0d24b49652486444edd6e6a786d63b
3
+ metadata.gz: 8cccfc9e2cc727cef3396b55156a12a8e904dff1
4
+ data.tar.gz: 84c0eab7faeb2d017407c9a2fd0d3c39795f7b6b
5
5
  SHA512:
6
- metadata.gz: 1f6cbc66f1a740a4033fbc7fe885e34828f30837d37c1660d7ff7394c81855962f7340ba2d665fb85e1b2a007c2e7c1a69ec2973ee6d969a93df80b49f8d3c77
7
- data.tar.gz: 3fb589ce89be13168cb11be1e43a1ef9051afde46add370efe02fdeed3349f4a6056b9d38da9a66bef864812161e09e0ba591221d1a83e05c9e2b0dad6265633
6
+ metadata.gz: 6ce25f93fcd0d74c77850c156f3fb972d3b4ea08ba237b4b48896c657b8a2255d2779ffbb9b71220e52a6f7b1881128e39dbd70ec051172990fc623f17fee4d8
7
+ data.tar.gz: dd7e5168d33e4f6dc321bed4cba071de2f34d086ce7c7c4161465b8ab0659f55ee23c5c3c2158a788a24f6be60ae0106a3693fc47cb8879bbd167692c2050716
data/.gitignore CHANGED
@@ -4,7 +4,7 @@
4
4
  .config
5
5
  .yardoc
6
6
  .rvmrc
7
- Gemfile.lock
7
+ .ruby-version
8
8
  InstalledFiles
9
9
  _yardoc
10
10
  coverage
@@ -0,0 +1,96 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rails-perftest (0.0.6)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ actionmailer (4.2.1)
10
+ actionpack (= 4.2.1)
11
+ actionview (= 4.2.1)
12
+ activejob (= 4.2.1)
13
+ mail (~> 2.5, >= 2.5.4)
14
+ rails-dom-testing (~> 1.0, >= 1.0.5)
15
+ actionpack (4.2.1)
16
+ actionview (= 4.2.1)
17
+ activesupport (= 4.2.1)
18
+ rack (~> 1.6)
19
+ rack-test (~> 0.6.2)
20
+ rails-dom-testing (~> 1.0, >= 1.0.5)
21
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
22
+ actionview (4.2.1)
23
+ activesupport (= 4.2.1)
24
+ builder (~> 3.1)
25
+ erubis (~> 2.7.0)
26
+ rails-dom-testing (~> 1.0, >= 1.0.5)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
28
+ activejob (4.2.1)
29
+ activesupport (= 4.2.1)
30
+ globalid (>= 0.3.0)
31
+ activemodel (4.2.1)
32
+ activesupport (= 4.2.1)
33
+ builder (~> 3.1)
34
+ activerecord (4.2.1)
35
+ activemodel (= 4.2.1)
36
+ activesupport (= 4.2.1)
37
+ arel (~> 6.0)
38
+ activesupport (4.2.1)
39
+ i18n (~> 0.7)
40
+ json (~> 1.7, >= 1.7.7)
41
+ minitest (~> 5.1)
42
+ thread_safe (~> 0.3, >= 0.3.4)
43
+ tzinfo (~> 1.1)
44
+ arel (6.0.0)
45
+ builder (3.2.2)
46
+ erubis (2.7.0)
47
+ globalid (0.3.5)
48
+ activesupport (>= 4.1.0)
49
+ i18n (0.7.0)
50
+ json (1.8.2)
51
+ loofah (2.0.1)
52
+ nokogiri (>= 1.5.9)
53
+ mail (2.6.3)
54
+ mime-types (>= 1.16, < 3)
55
+ mime-types (2.4.3)
56
+ mini_portile (0.6.2)
57
+ minitest (5.6.0)
58
+ nokogiri (1.6.6.2)
59
+ mini_portile (~> 0.6.0)
60
+ rack (1.6.0)
61
+ rack-test (0.6.3)
62
+ rack (>= 1.0)
63
+ rails-deprecated_sanitizer (1.0.3)
64
+ activesupport (>= 4.2.0.alpha)
65
+ rails-dom-testing (1.0.6)
66
+ activesupport (>= 4.2.0.beta, < 5.0)
67
+ nokogiri (~> 1.6.0)
68
+ rails-deprecated_sanitizer (>= 1.0.1)
69
+ rails-html-sanitizer (1.0.2)
70
+ loofah (~> 2.0)
71
+ railties (4.2.1)
72
+ actionpack (= 4.2.1)
73
+ activesupport (= 4.2.1)
74
+ rake (>= 0.8.7)
75
+ thor (>= 0.18.1, < 2.0)
76
+ rake (10.4.2)
77
+ ruby-prof (0.15.7)
78
+ sqlite3 (1.3.10)
79
+ thor (0.19.1)
80
+ thread_safe (0.3.5)
81
+ tzinfo (1.2.2)
82
+ thread_safe (~> 0.1)
83
+
84
+ PLATFORMS
85
+ ruby
86
+
87
+ DEPENDENCIES
88
+ actionmailer (~> 4.0)
89
+ actionpack (~> 4.0)
90
+ activemodel (~> 4.0)
91
+ activerecord (~> 4.0)
92
+ minitest (>= 3)
93
+ rails-perftest!
94
+ railties (~> 4.0)
95
+ ruby-prof (>= 0.12.1)
96
+ sqlite3 (~> 1.3)
data/README.md CHANGED
@@ -665,7 +665,8 @@ Commercial Products
665
665
  -------------------
666
666
 
667
667
  Rails has been lucky to have a few companies dedicated to Rails-specific
668
- performance tools. A couple of those are:
668
+ performance tools:
669
669
 
670
- * [New Relic](http://www.newrelic.com)
671
- * [Scout](http://scoutapp.com)
670
+ * [New Relic](https://www.newrelic.com)
671
+ * [Scout](https://scoutapp.com)
672
+ * [Skylight](https://www.skylight.io)
data/Rakefile CHANGED
@@ -26,7 +26,7 @@ deps = `git ls-files`.split("\n") - [specname]
26
26
  file specname => deps do
27
27
  files = `git ls-files`.split("\n")
28
28
  test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
29
- executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
29
+ executables = `git ls-files -- exe/*`.split("\n").map{ |f| File.basename(f) }
30
30
 
31
31
  require 'erb'
32
32
 
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'rake' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('rake', 'rake')
File without changes
@@ -1,6 +1,6 @@
1
1
  require 'fileutils'
2
2
  require 'active_support/concern'
3
- require 'active_support/core_ext/class/delegating_attributes'
3
+ require 'active_support/core_ext/class/attribute'
4
4
  require 'active_support/core_ext/string/inflections'
5
5
  require 'active_support/core_ext/module/delegation'
6
6
  require 'active_support/number_helper'
@@ -11,7 +11,7 @@ module ActiveSupport
11
11
  extend ActiveSupport::Concern
12
12
 
13
13
  included do
14
- superclass_delegating_accessor :profile_options
14
+ class_attribute :profile_options
15
15
  self.profile_options = {}
16
16
  end
17
17
 
@@ -1,5 +1,5 @@
1
1
  module Rails
2
2
  module Perftest
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -9,7 +9,8 @@ Gem::Specification.new do |gem|
9
9
  gem.homepage = "https://github.com/rails/rails-perftest"
10
10
  gem.license = "MIT"
11
11
 
12
- gem.files = [".gitignore",".travis.yml","Gemfile","LICENSE","README.md","Rakefile","bin/perftest","gemfiles/Gemfile-rails-4.0","gemfiles/Gemfile-rails-4.1","lib/generators/rails/app/templates/test/performance/browsing_test.rb","lib/generators/rails/performance_test/USAGE","lib/generators/rails/performance_test/performance_test_generator.rb","lib/generators/rails/performance_test/templates/performance_test.rb","lib/rails-perftest.rb","lib/rails/performance_test_help.rb","lib/rails/perftest/action_controller.rb","lib/rails/perftest/action_controller/performance_test.rb","lib/rails/perftest/action_dispatch.rb","lib/rails/perftest/action_dispatch/performance_test.rb","lib/rails/perftest/active_support/testing/performance.rb","lib/rails/perftest/active_support/testing/performance/jruby.rb","lib/rails/perftest/active_support/testing/performance/rubinius.rb","lib/rails/perftest/active_support/testing/performance/ruby.rb","lib/rails/perftest/commands.rb","lib/rails/perftest/commands/benchmarker.rb","lib/rails/perftest/commands/profiler.rb","lib/rails/perftest/railtie.rb","lib/rails/perftest/railties/testing.tasks","lib/rails/perftest/version.rb","rails-perftest.gemspec","rails-perftest.gemspec.erb","test/generators/generators_test_helper.rb","test/generators/performance_test_generator_test.rb","test/helper.rb","test/performance_test.rb"]
12
+ gem.files = [".gitignore",".travis.yml","Gemfile","Gemfile.lock","LICENSE","README.md","Rakefile","bin/rake","exe/perftest","gemfiles/Gemfile-rails-4.0","gemfiles/Gemfile-rails-4.1","lib/generators/rails/app/templates/test/performance/browsing_test.rb","lib/generators/rails/performance_test/USAGE","lib/generators/rails/performance_test/performance_test_generator.rb","lib/generators/rails/performance_test/templates/performance_test.rb","lib/rails-perftest.rb","lib/rails/performance_test_help.rb","lib/rails/perftest/action_controller.rb","lib/rails/perftest/action_controller/performance_test.rb","lib/rails/perftest/action_dispatch.rb","lib/rails/perftest/action_dispatch/performance_test.rb","lib/rails/perftest/active_support/testing/performance.rb","lib/rails/perftest/active_support/testing/performance/jruby.rb","lib/rails/perftest/active_support/testing/performance/rubinius.rb","lib/rails/perftest/active_support/testing/performance/ruby.rb","lib/rails/perftest/commands.rb","lib/rails/perftest/commands/benchmarker.rb","lib/rails/perftest/commands/profiler.rb","lib/rails/perftest/railtie.rb","lib/rails/perftest/railties/testing.tasks","lib/rails/perftest/version.rb","rails-perftest.gemspec","rails-perftest.gemspec.erb","test/generators/generators_test_helper.rb","test/generators/performance_test_generator_test.rb","test/helper.rb","test/performance_test.rb"]
13
+ gem.bindir = "exe"
13
14
  gem.executables = ["perftest"]
14
15
  gem.test_files = ["test/generators/generators_test_helper.rb","test/generators/performance_test_generator_test.rb","test/helper.rb","test/performance_test.rb"]
15
16
  gem.name = "rails-perftest"
@@ -10,6 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.license = "MIT"
11
11
 
12
12
  gem.files = [<%= files.map(&:inspect).join ',' %>]
13
+ gem.bindir = "exe"
13
14
  gem.executables = [<%= executables.map(&:inspect).join ',' %>]
14
15
  gem.test_files = [<%= test_files.map(&:inspect).join ',' %>]
15
16
  gem.name = "rails-perftest"
@@ -14,3 +14,4 @@ end
14
14
  # Call configure to load the settings from
15
15
  # Rails.application.config.generators to Rails::Generators
16
16
  Rails.application.load_generators
17
+ ActiveSupport::TestCase.test_order = :random if ActiveSupport::TestCase.respond_to?(:test_order=)
@@ -6,3 +6,4 @@ require 'active_support'
6
6
 
7
7
  # Show backtraces for deprecated behavior for quicker cleanup.
8
8
  ActiveSupport::Deprecation.debug = true
9
+ ActiveSupport::TestCase.test_order = :random if ActiveSupport::TestCase.respond_to?(:test_order=)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-perftest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yves Senn
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2014-09-23 00:00:00.000000000 Z
11
+ date: 2015-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-prof
@@ -133,10 +133,12 @@ files:
133
133
  - ".gitignore"
134
134
  - ".travis.yml"
135
135
  - Gemfile
136
+ - Gemfile.lock
136
137
  - LICENSE
137
138
  - README.md
138
139
  - Rakefile
139
- - bin/perftest
140
+ - bin/rake
141
+ - exe/perftest
140
142
  - gemfiles/Gemfile-rails-4.0
141
143
  - gemfiles/Gemfile-rails-4.1
142
144
  - lib/generators/rails/app/templates/test/performance/browsing_test.rb