sprockets-helpers 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,8 +54,9 @@ module Sprockets
54
54
  # methods of Sprockets::Context when included.
55
55
  def append_features(context) # :nodoc:
56
56
  context.class_eval do
57
+ context_methods = context.instance_methods(false)
57
58
  Helpers.public_instance_methods.each do |method|
58
- remove_method(method) if method_defined?(method)
59
+ remove_method(method) if context_methods.include?(method)
59
60
  end
60
61
  end
61
62
 
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Helpers
3
- VERSION = '0.7.1'
3
+ VERSION = '0.7.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,106 +1,78 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sprockets-helpers
3
- version: !ruby/object:Gem::Version
4
- hash: 1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.2
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 7
9
- - 1
10
- version: 0.7.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Pete Browne
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-09-25 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-09-28 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sprockets
16
+ requirement: &70126313740080 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '2.0'
21
22
  type: :runtime
22
23
  prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
+ version_requirements: *70126313740080
25
+ - !ruby/object:Gem::Dependency
26
+ name: appraisal
27
+ requirement: &70126313739200 !ruby/object:Gem::Requirement
24
28
  none: false
25
- requirements:
29
+ requirements:
26
30
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 2
31
- - 0
32
- version: "2.0"
33
- version_requirements: *id001
34
- name: sprockets
35
- - !ruby/object:Gem::Dependency
31
+ - !ruby/object:Gem::Version
32
+ version: '0.4'
36
33
  type: :development
37
34
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
35
+ version_requirements: *70126313739200
36
+ - !ruby/object:Gem::Dependency
37
+ name: rspec
38
+ requirement: &70126313738400 !ruby/object:Gem::Requirement
39
39
  none: false
40
- requirements:
40
+ requirements:
41
41
  - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- - 4
47
- version: "0.4"
48
- version_requirements: *id002
49
- name: appraisal
50
- - !ruby/object:Gem::Dependency
42
+ - !ruby/object:Gem::Version
43
+ version: '2.6'
51
44
  type: :development
52
45
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
46
+ version_requirements: *70126313738400
47
+ - !ruby/object:Gem::Dependency
48
+ name: test-construct
49
+ requirement: &70126313737600 !ruby/object:Gem::Requirement
54
50
  none: false
55
- requirements:
51
+ requirements:
56
52
  - - ~>
57
- - !ruby/object:Gem::Version
58
- hash: 15
59
- segments:
60
- - 2
61
- - 6
62
- version: "2.6"
63
- version_requirements: *id003
64
- name: rspec
65
- - !ruby/object:Gem::Dependency
53
+ - !ruby/object:Gem::Version
54
+ version: '1.2'
66
55
  type: :development
67
56
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
57
+ version_requirements: *70126313737600
58
+ - !ruby/object:Gem::Dependency
59
+ name: rake
60
+ requirement: &70126313737080 !ruby/object:Gem::Requirement
69
61
  none: false
70
- requirements:
71
- - - ~>
72
- - !ruby/object:Gem::Version
73
- hash: 11
74
- segments:
75
- - 1
76
- - 2
77
- version: "1.2"
78
- version_requirements: *id004
79
- name: test-construct
80
- - !ruby/object:Gem::Dependency
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
81
66
  type: :development
82
67
  prerelease: false
83
- requirement: &id005 !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- hash: 3
89
- segments:
90
- - 0
91
- version: "0"
92
- version_requirements: *id005
93
- name: rake
68
+ version_requirements: *70126313737080
94
69
  description: Asset path helpers for Sprockets 2.x applications
95
- email:
70
+ email:
96
71
  - me@petebrowne.com
97
72
  executables: []
98
-
99
73
  extensions: []
100
-
101
74
  extra_rdoc_files: []
102
-
103
- files:
75
+ files:
104
76
  - .gitignore
105
77
  - Appraisals
106
78
  - Gemfile
@@ -126,37 +98,34 @@ files:
126
98
  - sprockets-helpers.gemspec
127
99
  homepage: https://github.com/petebrowne/sprockets-helpers
128
100
  licenses: []
129
-
130
101
  post_install_message:
131
102
  rdoc_options: []
132
-
133
- require_paths:
103
+ require_paths:
134
104
  - lib
135
- required_ruby_version: !ruby/object:Gem::Requirement
105
+ required_ruby_version: !ruby/object:Gem::Requirement
136
106
  none: false
137
- requirements:
138
- - - ">="
139
- - !ruby/object:Gem::Version
140
- hash: 3
141
- segments:
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ segments:
142
112
  - 0
143
- version: "0"
144
- required_rubygems_version: !ruby/object:Gem::Requirement
113
+ hash: -647249405951979289
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
115
  none: false
146
- requirements:
147
- - - ">="
148
- - !ruby/object:Gem::Version
149
- hash: 3
150
- segments:
116
+ requirements:
117
+ - - ! '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ segments:
151
121
  - 0
152
- version: "0"
122
+ hash: -647249405951979289
153
123
  requirements: []
154
-
155
124
  rubyforge_project: sprockets-helpers
156
125
  rubygems_version: 1.8.11
157
126
  signing_key:
158
127
  specification_version: 3
159
128
  summary: Asset path helpers for Sprockets 2.x applications
160
- test_files:
129
+ test_files:
161
130
  - spec/spec_helper.rb
162
131
  - spec/sprockets-helpers_spec.rb