ruby-conf 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +4 -5
  2. data/Gemfile.lock +16 -17
  3. data/VERSION +1 -1
  4. data/lib/ruby-conf.rb +2 -2
  5. data/ruby-conf.gemspec +13 -16
  6. metadata +18 -34
data/Gemfile CHANGED
@@ -6,9 +6,8 @@ source "http://rubygems.org"
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  group :development do
9
- gem "rspec", "~> 2.8.0"
10
- gem "rr", "~> 1.0.4"
11
- gem "yard", "~> 0.7"
12
- gem "rdoc", "~> 3.12"
13
- gem "jeweler", "~> 1.8.3"
9
+ gem "rspec"
10
+ gem "rr"
11
+ gem "yard"
12
+ gem "jeweler"
14
13
  end
@@ -3,32 +3,31 @@ GEM
3
3
  specs:
4
4
  diff-lcs (1.1.3)
5
5
  git (1.2.5)
6
- jeweler (1.8.3)
6
+ jeweler (1.8.4)
7
7
  bundler (~> 1.0)
8
8
  git (>= 1.2.5)
9
9
  rake
10
10
  rdoc
11
- json (1.6.5)
12
- rake (0.9.2.2)
11
+ json (1.7.5)
12
+ rake (10.0.3)
13
13
  rdoc (3.12)
14
14
  json (~> 1.4)
15
15
  rr (1.0.4)
16
- rspec (2.8.0)
17
- rspec-core (~> 2.8.0)
18
- rspec-expectations (~> 2.8.0)
19
- rspec-mocks (~> 2.8.0)
20
- rspec-core (2.8.0)
21
- rspec-expectations (2.8.0)
22
- diff-lcs (~> 1.1.2)
23
- rspec-mocks (2.8.0)
24
- yard (0.7.4)
16
+ rspec (2.12.0)
17
+ rspec-core (~> 2.12.0)
18
+ rspec-expectations (~> 2.12.0)
19
+ rspec-mocks (~> 2.12.0)
20
+ rspec-core (2.12.2)
21
+ rspec-expectations (2.12.1)
22
+ diff-lcs (~> 1.1.3)
23
+ rspec-mocks (2.12.0)
24
+ yard (0.8.3)
25
25
 
26
26
  PLATFORMS
27
27
  ruby
28
28
 
29
29
  DEPENDENCIES
30
- jeweler (~> 1.8.3)
31
- rdoc (~> 3.12)
32
- rr (~> 1.0.4)
33
- rspec (~> 2.8.0)
34
- yard (~> 0.7)
30
+ jeweler
31
+ rr
32
+ rspec
33
+ yard
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.2.0
@@ -6,7 +6,7 @@ module Magic
6
6
  def __rc_gather() "#{to_s}#{__rc_chain.nil? ? "" : " #{__rc_chain.__rc_gather}"}" end
7
7
  end
8
8
 
9
- class RubyConf < Object
9
+ class RubyConf < BasicObject
10
10
  @@__rc_configs = {}
11
11
 
12
12
  class Config
@@ -140,7 +140,7 @@ class RubyConf < Object
140
140
  const = options.fetch(:as, name)
141
141
  if const && const.to_s[/^[A-Z]/]
142
142
  const = const.to_sym
143
- Object.const_set(const, config) if !Object.const_defined?(const) || Object.const_get(const).is_a?(Config)
143
+ ::Object.const_set(const, config) if !::Object.const_defined?(const) || ::Object.const_get(const).is_a?(Config)
144
144
  end
145
145
  config
146
146
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ruby-conf"
8
- s.version = "2.1.0"
8
+ s.version = "2.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Curtis Schofield & Hollin Wilkins & Mason"]
@@ -41,24 +41,21 @@ Gem::Specification.new do |s|
41
41
  s.specification_version = 3
42
42
 
43
43
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
45
- s.add_development_dependency(%q<rr>, ["~> 1.0.4"])
46
- s.add_development_dependency(%q<yard>, ["~> 0.7"])
47
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
48
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
44
+ s.add_development_dependency(%q<rspec>, [">= 0"])
45
+ s.add_development_dependency(%q<rr>, [">= 0"])
46
+ s.add_development_dependency(%q<yard>, [">= 0"])
47
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
49
48
  else
50
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
51
- s.add_dependency(%q<rr>, ["~> 1.0.4"])
52
- s.add_dependency(%q<yard>, ["~> 0.7"])
53
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
54
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
49
+ s.add_dependency(%q<rspec>, [">= 0"])
50
+ s.add_dependency(%q<rr>, [">= 0"])
51
+ s.add_dependency(%q<yard>, [">= 0"])
52
+ s.add_dependency(%q<jeweler>, [">= 0"])
55
53
  end
56
54
  else
57
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
58
- s.add_dependency(%q<rr>, ["~> 1.0.4"])
59
- s.add_dependency(%q<yard>, ["~> 0.7"])
60
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
61
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
55
+ s.add_dependency(%q<rspec>, [">= 0"])
56
+ s.add_dependency(%q<rr>, [">= 0"])
57
+ s.add_dependency(%q<yard>, [">= 0"])
58
+ s.add_dependency(%q<jeweler>, [">= 0"])
62
59
  end
63
60
  end
64
61
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-conf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -16,81 +16,65 @@ dependencies:
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 2.8.0
21
+ version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 2.8.0
29
+ version: '0'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rr
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ~>
35
+ - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 1.0.4
37
+ version: '0'
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ~>
43
+ - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 1.0.4
45
+ version: '0'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: yard
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ~>
51
+ - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
- version: '0.7'
53
+ version: '0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ~>
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: '0.7'
62
- - !ruby/object:Gem::Dependency
63
- name: rdoc
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: '3.12'
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: '3.12'
61
+ version: '0'
78
62
  - !ruby/object:Gem::Dependency
79
63
  name: jeweler
80
64
  requirement: !ruby/object:Gem::Requirement
81
65
  none: false
82
66
  requirements:
83
- - - ~>
67
+ - - ! '>='
84
68
  - !ruby/object:Gem::Version
85
- version: 1.8.3
69
+ version: '0'
86
70
  type: :development
87
71
  prerelease: false
88
72
  version_requirements: !ruby/object:Gem::Requirement
89
73
  none: false
90
74
  requirements:
91
- - - ~>
75
+ - - ! '>='
92
76
  - !ruby/object:Gem::Version
93
- version: 1.8.3
77
+ version: '0'
94
78
  description: rubyconf is a ruby configuration dsl that aims to make it simple to write
95
79
  and read configurations for ruby apps without a yaml or xml file
96
80
  email: blazingpair@blazingcloud.net
@@ -128,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
128
112
  version: '0'
129
113
  segments:
130
114
  - 0
131
- hash: 2592500136746080662
115
+ hash: 3625605981457111281
132
116
  required_rubygems_version: !ruby/object:Gem::Requirement
133
117
  none: false
134
118
  requirements: