manageheroku 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/README.md +12 -0
- data/lib/manageheroku/conf.rb +2 -1
- data/lib/manageheroku/version.rb +1 -1
- data/test/conf_test.rb +6 -0
- data/test/sample_conf.yml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8af28afd8a378ba3db9360b88f200f128d98ccb
|
4
|
+
data.tar.gz: b5fac04fda4bd793698bca29c908421d136a6d2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1e334fb457f22fb4dd89b93c977b090361a1be2ec0cd5ec04367760d28c26df112d1c3c48b553f2dc5cd887a518e87488159386c7bfca4866bb66d67750adbf
|
7
|
+
data.tar.gz: 6f35974bc33580d35ae78b67620fbc43ab2f25fd1a9d4d655d424cd187896fab32ddea1f668c0b11c7362b3f1fffd2add26bdc75e703cffee39a2f27123f4d2b
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -27,3 +27,15 @@ TODO: Write usage instructions here
|
|
27
27
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
28
|
4. Push to the branch (`git push origin my-new-feature`)
|
29
29
|
5. Create a new Pull Request
|
30
|
+
|
31
|
+
## Releases
|
32
|
+
|
33
|
+
Bundler created the gem boilerplate and can release it for us.
|
34
|
+
|
35
|
+
Test with
|
36
|
+
|
37
|
+
`gem build manageheroku.gemspec`
|
38
|
+
|
39
|
+
For Realz
|
40
|
+
|
41
|
+
`bundle exec rake release`
|
data/lib/manageheroku/conf.rb
CHANGED
data/lib/manageheroku/version.rb
CHANGED
data/test/conf_test.rb
CHANGED
@@ -12,6 +12,12 @@ class ConfTest < MiniTest::Test
|
|
12
12
|
conf.formations.first.name.must_equal "myapp-development"
|
13
13
|
conf.formations.last.name.must_equal "myapp-performance"
|
14
14
|
end
|
15
|
+
|
16
|
+
it "supports ERB magic in the config file" do
|
17
|
+
ENV["TEST_VAL"] = "erb_is_great"
|
18
|
+
conf = Manageheroku::Conf.new(File.join(File.dirname(__FILE__), 'sample_conf.yml'))
|
19
|
+
conf.oauth_token.must_equal "erb_is_great"
|
20
|
+
end
|
15
21
|
end
|
16
22
|
end
|
17
23
|
|
data/test/sample_conf.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageheroku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Cronemeyer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: platform-api
|