deployments 0.0.7 → 0.0.8
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/Gemfile +1 -0
- data/README.md +8 -0
- data/deployments.gemspec +1 -0
- data/lib/deployments/recipes.rb +10 -0
- data/lib/deployments/version.rb +1 -1
- data/recipes/deployments.rb +1 -0
- metadata +19 -1
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -65,6 +65,14 @@ Request params:
|
|
65
65
|
}
|
66
66
|
```
|
67
67
|
|
68
|
+
Also you can use capistrano recipes of the gem, you need to add:
|
69
|
+
```ruby
|
70
|
+
require 'deployments/recipes'
|
71
|
+
```
|
72
|
+
|
73
|
+
It will add capistrano hook "after 'deploy'" for pushing deployment details to
|
74
|
+
the server after deploy.
|
75
|
+
|
68
76
|
## Contributing
|
69
77
|
|
70
78
|
1. Fork it
|
data/deployments.gemspec
CHANGED
data/lib/deployments/version.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'deployments', 'recipes'))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deployments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -59,6 +59,22 @@ dependencies:
|
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: capistrano
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
62
78
|
description: Library for pushing details(commits, tag, username, env) about the current
|
63
79
|
app
|
64
80
|
email:
|
@@ -82,8 +98,10 @@ files:
|
|
82
98
|
- lib/deployments/dispatcher.rb
|
83
99
|
- lib/deployments/project.rb
|
84
100
|
- lib/deployments/railtie.rb
|
101
|
+
- lib/deployments/recipes.rb
|
85
102
|
- lib/deployments/version.rb
|
86
103
|
- lib/tasks/deployments.rake
|
104
|
+
- recipes/deployments.rb
|
87
105
|
- spec/build_spec.rb
|
88
106
|
- spec/deployments_spec.rb
|
89
107
|
- spec/dispatcher_spec.rb
|