sugar-high 0.4.9 → 0.4.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sugar-high/class_ext.rb +1 -1
- data/spec/fixtures/autoload_modulez.rb +1 -1
- data/spec/fixtures/autoload_modulez/third_one_here.rb +4 -0
- data/spec/sugar-high/class_ext_spec.rb +1 -1
- data/sugar-high.gemspec +2 -2
- metadata +8 -8
- data/spec/fixtures/autoload_modulez/third.rb +0 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.9
|
1
|
+
0.4.9.1
|
data/lib/sugar-high/class_ext.rb
CHANGED
@@ -98,7 +98,7 @@ class Object
|
|
98
98
|
# It is very useful for situations of having not load_paths built Rails or Gems way.
|
99
99
|
|
100
100
|
args.each do |req_name|
|
101
|
-
send :autoload, req_name, "#{from}/#{req_name.to_s.
|
101
|
+
send :autoload, req_name, "#{from}/#{req_name.to_s.underscore}"
|
102
102
|
end
|
103
103
|
end
|
104
104
|
end
|
@@ -43,7 +43,7 @@ describe Object do
|
|
43
43
|
end
|
44
44
|
it "should autoload modules from __FILE__'s dir if :from is omitted'" do
|
45
45
|
require 'fixtures/autoload_modulez'
|
46
|
-
AutoloadModulez::
|
46
|
+
AutoloadModulez::ThirdOneHere.should respond_to(:test)
|
47
47
|
end
|
48
48
|
end
|
49
49
|
end
|
data/sugar-high.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sugar-high}
|
8
|
-
s.version = "0.4.9"
|
8
|
+
s.version = "0.4.9.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = [%q{Kristian Mandrup}]
|
@@ -66,7 +66,7 @@ Gem::Specification.new do |s|
|
|
66
66
|
"spec/fixtures/autoload_modulez.rb",
|
67
67
|
"spec/fixtures/autoload_modulez/first.rb",
|
68
68
|
"spec/fixtures/autoload_modulez/second.rb",
|
69
|
-
"spec/fixtures/autoload_modulez/
|
69
|
+
"spec/fixtures/autoload_modulez/third_one_here.rb",
|
70
70
|
"spec/fixtures/class_file.rb",
|
71
71
|
"spec/fixtures/class_file.txt",
|
72
72
|
"spec/fixtures/content_file.txt",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sugar-high
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.9
|
4
|
+
version: 0.4.9.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-06-23 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156798840 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2156798840
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: active_support
|
27
|
-
requirement: &
|
27
|
+
requirement: &2156798160 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2156798160
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &2156797460 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '2.5'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2156797460
|
47
47
|
description: More Ruby sugar - inspired by the 'zuker' project
|
48
48
|
email: kmandrup@gmail.com
|
49
49
|
executables: []
|
@@ -101,7 +101,7 @@ files:
|
|
101
101
|
- spec/fixtures/autoload_modulez.rb
|
102
102
|
- spec/fixtures/autoload_modulez/first.rb
|
103
103
|
- spec/fixtures/autoload_modulez/second.rb
|
104
|
-
- spec/fixtures/autoload_modulez/
|
104
|
+
- spec/fixtures/autoload_modulez/third_one_here.rb
|
105
105
|
- spec/fixtures/class_file.rb
|
106
106
|
- spec/fixtures/class_file.txt
|
107
107
|
- spec/fixtures/content_file.txt
|