armoire 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/armoire.gemspec +3 -3
- data/lib/armoire/version.rb +1 -1
- data/lib/armoire.rb +4 -0
- data/spec/lib/armoire_spec.rb +9 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bc510af0b407bba42d3ae78daffc28afe432d2e
|
4
|
+
data.tar.gz: 47bd25ce6fa099f51208b2e1c126f70c1b7df776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a377d3d3e80029f4f02d496df8c8df3cda028f41af1598f1f50e053047fd655048e189589a38f661fc8e528f8830619c19e513eaaf38d1b652964cd6e0d2902a
|
7
|
+
data.tar.gz: b14ff3ea46b1efd9540a2534527d9a92001f0fac225f52baf72c37066cbcd3874b90f844735afe9a56d40566ec7801a596112f1792911fc76792e16fa108d386
|
data/.gitignore
CHANGED
data/armoire.gemspec
CHANGED
@@ -6,11 +6,11 @@ require 'armoire/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "armoire"
|
8
8
|
spec.version = Armoire::VERSION
|
9
|
-
spec.authors = ["Michael Smith"]
|
10
|
-
spec.email = ["mike@spokefire.co.uk"]
|
9
|
+
spec.authors = ["Michael Smith", "onthebeach"]
|
10
|
+
spec.email = ["mike@spokefire.co.uk", "development@onthebeach.co.uk"]
|
11
11
|
spec.description = %q{A simple configuration tool}
|
12
12
|
spec.summary = %q{A simple configuration tool}
|
13
|
-
spec.homepage = "https://github.com/
|
13
|
+
spec.homepage = "https://github.com/onthebeach/armoire"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
data/lib/armoire/version.rb
CHANGED
data/lib/armoire.rb
CHANGED
data/spec/lib/armoire_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Armoire do
|
4
|
-
describe '
|
4
|
+
describe '#environment' do
|
5
5
|
subject { described_class.instance.environment }
|
6
6
|
|
7
7
|
before do
|
@@ -154,4 +154,12 @@ describe Armoire do
|
|
154
154
|
Armoire.load! File.expand_path('../fixtures/application.yml', File.dirname(__FILE__))
|
155
155
|
end
|
156
156
|
end
|
157
|
+
|
158
|
+
describe '.environment' do
|
159
|
+
subject { Armoire.environment }
|
160
|
+
|
161
|
+
it "returns the current environment armoire is set to read" do
|
162
|
+
expect(subject).to eql("test")
|
163
|
+
end
|
164
|
+
end
|
157
165
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: armoire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Smith
|
8
|
+
- onthebeach
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-06-20 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
@@ -69,6 +70,7 @@ dependencies:
|
|
69
70
|
description: A simple configuration tool
|
70
71
|
email:
|
71
72
|
- mike@spokefire.co.uk
|
73
|
+
- development@onthebeach.co.uk
|
72
74
|
executables: []
|
73
75
|
extensions: []
|
74
76
|
extra_rdoc_files: []
|
@@ -92,7 +94,7 @@ files:
|
|
92
94
|
- spec/lib/armoire/setting_spec.rb
|
93
95
|
- spec/lib/armoire_spec.rb
|
94
96
|
- spec/spec_helper.rb
|
95
|
-
homepage: https://github.com/
|
97
|
+
homepage: https://github.com/onthebeach/armoire
|
96
98
|
licenses:
|
97
99
|
- MIT
|
98
100
|
metadata: {}
|