configoro 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/configoro.gemspec +1 -1
- data/lib/configoro.rb +11 -5
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.1
|
data/configoro.gemspec
CHANGED
data/lib/configoro.rb
CHANGED
@@ -1,11 +1,17 @@
|
|
1
|
-
|
1
|
+
in_rails = defined?(Rails)
|
2
2
|
|
3
3
|
require 'erb'
|
4
4
|
require 'yaml'
|
5
|
-
|
6
|
-
|
5
|
+
|
6
|
+
if in_rails
|
7
|
+
require 'bundler'
|
8
|
+
Bundler.setup
|
9
|
+
end
|
7
10
|
|
8
11
|
require 'configoro/base'
|
9
12
|
require 'configoro/hash'
|
10
|
-
|
11
|
-
|
13
|
+
|
14
|
+
if in_rails
|
15
|
+
require 'configoro/railtie'
|
16
|
+
require "#{File.dirname __FILE__}/../generators/configoro_generator"
|
17
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configoro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -158,7 +158,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
segments:
|
160
160
|
- 0
|
161
|
-
hash: -
|
161
|
+
hash: -496878938871840213
|
162
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
163
|
none: false
|
164
164
|
requirements:
|