faster_require 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/ChangeLog +6 -2
  2. data/VERSION +1 -1
  3. data/lib/faster_require.rb +3 -3
  4. metadata +75 -88
data/ChangeLog CHANGED
@@ -1,5 +1,9 @@
1
- 0.9.3: work with execjs or some odd...
2
-
1
+ 0.9.4: work with some UTF-8 encoded .rb files...which is the default now so hopefully ok.
2
+ 1.9.x compat. only [ping me if you want this changed]
3
+
4
+ 0.9.3:
5
+ possibly an execsjs fix?
6
+
3
7
  0.9.1: work with rails 3.0.7 through a kludgey way...
4
8
 
5
9
  0.9.0: refactors, bug fix for poor file, can autoload disregarding dir now
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.3
1
+ 0.9.4
@@ -257,11 +257,11 @@ module FastRequire
257
257
  # load(known_loc, false) # too slow
258
258
 
259
259
  # use eval: if this fails to load breaks re-save the offending file in binary mode, or file an issue on the faster_require tracker...
260
- contents = File.open(known_loc, 'rb') {|f| f.read} # read only costs 0.34/10.0 s...
260
+ contents = File.open(known_loc, 'rb:utf-8') {|f| f.read} # read only costs 0.34/10.0 s...
261
261
  if contents =~ /require_relative/ # =~ is faster apparently faster than .include?
262
262
  load(known_loc, false) # load is slow, but overcomes a ruby core bug: http://redmine.ruby-lang.org/issues/4487
263
263
  else
264
- Kernel.eval(contents, TOPLEVEL_BINDING, known_loc) # note the 'rb' here--this means it's reading .rb files as binary, which *typically* works...maybe unnecessary though?
264
+ eval(contents, TOPLEVEL_BINDING, known_loc)
265
265
  end
266
266
  ensure
267
267
  raise 'unexpected' unless IN_PROCESS.pop == known_loc
@@ -363,4 +363,4 @@ module Kernel
363
363
  end
364
364
  end
365
365
 
366
- end
366
+ end
metadata CHANGED
@@ -1,190 +1,179 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faster_require
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.9.3
4
+ version: 0.9.4
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roger Pack
9
9
  - faisal
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-03 00:00:00.000000000 Z
13
+ date: 2014-02-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: redparse
17
- version_requirements: !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
18
19
  requirements:
19
20
  - - ! '>='
20
21
  - !ruby/object:Gem::Version
21
- version: !binary |-
22
- MA==
22
+ version: '0'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
23
26
  none: false
24
- requirement: !ruby/object:Gem::Requirement
25
27
  requirements:
26
28
  - - ! '>='
27
29
  - !ruby/object:Gem::Version
28
- version: !binary |-
29
- MA==
30
- none: false
31
- prerelease: false
32
- type: :development
30
+ version: '0'
33
31
  - !ruby/object:Gem::Dependency
34
32
  name: activesupport
35
- version_requirements: !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
36
35
  requirements:
37
36
  - - '='
38
37
  - !ruby/object:Gem::Version
39
38
  version: 2.3.10
39
+ type: :development
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
40
42
  none: false
41
- requirement: !ruby/object:Gem::Requirement
42
43
  requirements:
43
44
  - - '='
44
45
  - !ruby/object:Gem::Version
45
46
  version: 2.3.10
46
- none: false
47
- prerelease: false
48
- type: :development
49
47
  - !ruby/object:Gem::Dependency
50
48
  name: actionpack
51
- version_requirements: !ruby/object:Gem::Requirement
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
52
51
  requirements:
53
52
  - - '='
54
53
  - !ruby/object:Gem::Version
55
54
  version: 2.3.10
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
56
58
  none: false
57
- requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
60
  - - '='
60
61
  - !ruby/object:Gem::Version
61
62
  version: 2.3.10
62
- none: false
63
- prerelease: false
64
- type: :development
65
63
  - !ruby/object:Gem::Dependency
66
64
  name: jeweler
67
- version_requirements: !ruby/object:Gem::Requirement
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
68
67
  requirements:
69
68
  - - ! '>='
70
69
  - !ruby/object:Gem::Version
71
- version: !binary |-
72
- MA==
70
+ version: '0'
71
+ type: :development
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
73
74
  none: false
74
- requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - ! '>='
77
77
  - !ruby/object:Gem::Version
78
- version: !binary |-
79
- MA==
80
- none: false
81
- prerelease: false
82
- type: :development
78
+ version: '0'
83
79
  - !ruby/object:Gem::Dependency
84
80
  name: rspec
85
- version_requirements: !ruby/object:Gem::Requirement
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
86
83
  requirements:
87
84
  - - ! '>='
88
85
  - !ruby/object:Gem::Version
89
- version: !binary |-
90
- Mg==
86
+ version: '2'
87
+ type: :development
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
91
90
  none: false
92
- requirement: !ruby/object:Gem::Requirement
93
91
  requirements:
94
92
  - - ! '>='
95
93
  - !ruby/object:Gem::Version
96
- version: !binary |-
97
- Mg==
98
- none: false
99
- prerelease: false
100
- type: :development
94
+ version: '2'
101
95
  - !ruby/object:Gem::Dependency
102
96
  name: sane
103
- version_requirements: !ruby/object:Gem::Requirement
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
104
99
  requirements:
105
100
  - - ! '>='
106
101
  - !ruby/object:Gem::Version
107
- version: !binary |-
108
- MA==
102
+ version: '0'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
109
106
  none: false
110
- requirement: !ruby/object:Gem::Requirement
111
107
  requirements:
112
108
  - - ! '>='
113
109
  - !ruby/object:Gem::Version
114
- version: !binary |-
115
- MA==
116
- none: false
117
- prerelease: false
118
- type: :development
110
+ version: '0'
119
111
  - !ruby/object:Gem::Dependency
120
112
  name: facets
121
- version_requirements: !ruby/object:Gem::Requirement
113
+ requirement: !ruby/object:Gem::Requirement
114
+ none: false
122
115
  requirements:
123
116
  - - ! '>='
124
117
  - !ruby/object:Gem::Version
125
- version: !binary |-
126
- MA==
118
+ version: '0'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
127
122
  none: false
128
- requirement: !ruby/object:Gem::Requirement
129
123
  requirements:
130
124
  - - ! '>='
131
125
  - !ruby/object:Gem::Version
132
- version: !binary |-
133
- MA==
134
- none: false
135
- prerelease: false
136
- type: :development
126
+ version: '0'
137
127
  - !ruby/object:Gem::Dependency
138
128
  name: ruby-prof
139
- version_requirements: !ruby/object:Gem::Requirement
129
+ requirement: !ruby/object:Gem::Requirement
130
+ none: false
140
131
  requirements:
141
132
  - - ! '>='
142
133
  - !ruby/object:Gem::Version
143
- version: !binary |-
144
- MA==
134
+ version: '0'
135
+ type: :development
136
+ prerelease: false
137
+ version_requirements: !ruby/object:Gem::Requirement
145
138
  none: false
146
- requirement: !ruby/object:Gem::Requirement
147
139
  requirements:
148
140
  - - ! '>='
149
141
  - !ruby/object:Gem::Version
150
- version: !binary |-
151
- MA==
152
- none: false
153
- prerelease: false
154
- type: :development
142
+ version: '0'
155
143
  - !ruby/object:Gem::Dependency
156
144
  name: rack-mount
157
- version_requirements: !ruby/object:Gem::Requirement
145
+ requirement: !ruby/object:Gem::Requirement
146
+ none: false
158
147
  requirements:
159
148
  - - '='
160
149
  - !ruby/object:Gem::Version
161
150
  version: 0.6.14
151
+ type: :development
152
+ prerelease: false
153
+ version_requirements: !ruby/object:Gem::Requirement
162
154
  none: false
163
- requirement: !ruby/object:Gem::Requirement
164
155
  requirements:
165
156
  - - '='
166
157
  - !ruby/object:Gem::Version
167
158
  version: 0.6.14
168
- none: false
169
- prerelease: false
170
- type: :development
171
159
  - !ruby/object:Gem::Dependency
172
160
  name: rack
173
- version_requirements: !ruby/object:Gem::Requirement
161
+ requirement: !ruby/object:Gem::Requirement
162
+ none: false
174
163
  requirements:
175
164
  - - '='
176
165
  - !ruby/object:Gem::Version
177
166
  version: 1.2.2
167
+ type: :development
168
+ prerelease: false
169
+ version_requirements: !ruby/object:Gem::Requirement
178
170
  none: false
179
- requirement: !ruby/object:Gem::Requirement
180
171
  requirements:
181
172
  - - '='
182
173
  - !ruby/object:Gem::Version
183
174
  version: 1.2.2
184
- none: false
185
- prerelease: false
186
- type: :development
187
- description: A tool designed to speedup library loading (startup time) in Ruby by caching library locations
175
+ description: A tool designed to speedup library loading (startup time) in Ruby by
176
+ caching library locations
188
177
  email: rogerdpack@gmail.com
189
178
  executables:
190
179
  - faster_require
@@ -238,28 +227,26 @@ files:
238
227
  - TODO
239
228
  homepage: http://github.com/rdp/faster_require
240
229
  licenses: []
241
- post_install_message:
230
+ post_install_message:
242
231
  rdoc_options: []
243
232
  require_paths:
244
233
  - lib
245
234
  required_ruby_version: !ruby/object:Gem::Requirement
235
+ none: false
246
236
  requirements:
247
237
  - - ! '>='
248
238
  - !ruby/object:Gem::Version
249
- version: !binary |-
250
- MA==
251
- none: false
239
+ version: '0'
252
240
  required_rubygems_version: !ruby/object:Gem::Requirement
241
+ none: false
253
242
  requirements:
254
243
  - - ! '>='
255
244
  - !ruby/object:Gem::Version
256
- version: !binary |-
257
- MA==
258
- none: false
245
+ version: '0'
259
246
  requirements: []
260
- rubyforge_project:
247
+ rubyforge_project:
261
248
  rubygems_version: 1.8.24
262
- signing_key:
249
+ signing_key:
263
250
  specification_version: 3
264
251
  summary: Speed library loading in Ruby
265
252
  test_files: []