shuttle 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +4 -0
- data/lib/shuttle.rb +9 -8
- data/lib/shuttle/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -76,6 +76,10 @@ You can deploy on how many repositories you want at once, as long as they are co
|
|
|
76
76
|
|
|
77
77
|
**Note**: before deploy, it will integrate the app.
|
|
78
78
|
|
|
79
|
+
## Thanks
|
|
80
|
+
|
|
81
|
+
[Anna Cruz](http://twitter.com/yuizinha) for contributing in the README translation and revision.
|
|
82
|
+
|
|
79
83
|
## Contributing
|
|
80
84
|
|
|
81
85
|
1. Fork it
|
data/lib/shuttle.rb
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
require 'shuttle/railtie'
|
|
2
2
|
|
|
3
3
|
module Shuttle
|
|
4
|
-
def self.yaml
|
|
5
|
-
begin
|
|
6
|
-
YAML.load_file(Rails.root.join('config/shuttle.yml').to_s)
|
|
7
|
-
rescue Errno::ENOENT
|
|
8
|
-
nil
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
|
|
12
4
|
def self.steps
|
|
13
5
|
yaml['steps'] if yaml.present?
|
|
14
6
|
end
|
|
@@ -16,4 +8,13 @@ module Shuttle
|
|
|
16
8
|
def self.stages
|
|
17
9
|
yaml['stages'] if yaml.present?
|
|
18
10
|
end
|
|
11
|
+
|
|
12
|
+
private
|
|
13
|
+
def self.yaml
|
|
14
|
+
begin
|
|
15
|
+
YAML.load_file(Rails.root.join('config/shuttle.yml').to_s)
|
|
16
|
+
rescue Errno::ENOENT
|
|
17
|
+
nil
|
|
18
|
+
end
|
|
19
|
+
end
|
|
19
20
|
end
|
data/lib/shuttle/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
name: shuttle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 2.0.
|
|
5
|
+
version: 2.0.1
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Felipe Bazzarella
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-03-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
prerelease: false
|