rails_helper 1.2.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  class Helper < (defined?(ActionView::Base) ? ActionView::Base : Object)
2
2
  def Helper.version
3
- '1.2.1'
3
+ '1.3.0'
4
4
  end
5
5
 
6
6
  def Helper.dependencies
@@ -78,7 +78,7 @@ class Helper < (defined?(ActionView::Base) ? ActionView::Base : Object)
78
78
  if defined?(Rails::Engine)
79
79
  class Engine < Rails::Engine
80
80
  config.after_initialize do
81
- Helper.send(:include, Rails.application.routes.url_helpers)
81
+ Rails.application.routes.install_helpers(Helper)
82
82
  end
83
83
  end
84
84
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "rails_helper"
6
- spec.version = "1.2.1"
6
+ spec.version = "1.3.0"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "rails_helper"
9
9
  spec.description = "description: rails_helper kicks the ass"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-26 00:00:00.000000000 Z
12
+ date: 2012-05-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails_current
16
- requirement: &70134363360400 !ruby/object:Gem::Requirement
16
+ requirement: &70316224506360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70134363360400
24
+ version_requirements: *70316224506360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rails_default_url_options
27
- requirement: &70134363359360 !ruby/object:Gem::Requirement
27
+ requirement: &70316224505800 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '1.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70134363359360
35
+ version_requirements: *70316224505800
36
36
  description: ! 'description: rails_helper kicks the ass'
37
37
  email: ara.t.howard@gmail.com
38
38
  executables: []