tagging 0.2.0 → 0.2.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.
- checksums.yaml +4 -4
- data/README.md +2 -7
- data/bin/git-tagging +3 -2
- data/lib/tagging/version.rb +1 -1
- data/tagging.gemspec +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: 5daf11ea5880523eeafe9a61a6629e424ce34d8c
|
|
4
|
+
data.tar.gz: b7778cff3d96c66089ca3b5ce9eed603172b7b68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fabe805c957ac7d933b3b7ab82ff53762b5158d9f4c065073345d6ccd5af13ee65579f5f137df521fd63f6c4cfbf790316268e0a67cd5b4470d928d806e426fc
|
|
7
|
+
data.tar.gz: 9c6fe4b28b53b74538d8df21db6b77876721df4d1a054109e8cba6a76e1d066cdc7dfba5d6159fa671d42bc0679dddedff07813cb993dbb7a28a78cb366260ff
|
data/README.md
CHANGED
|
@@ -33,7 +33,7 @@ Never bother updating the version for your next gem build by hand. Configured i
|
|
|
33
33
|
|
|
34
34
|
* It's necessary that your server have ssh permission. Seting a git user
|
|
35
35
|
|
|
36
|
-
`git-tagging push --config user.email
|
|
36
|
+
`git-tagging push --config user.email my@mail.com user.name "My Name"`
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
* Load remote tags
|
|
@@ -47,11 +47,6 @@ Never bother updating the version for your next gem build by hand. Configured i
|
|
|
47
47
|
production:
|
|
48
48
|
branch: master
|
|
49
49
|
commands:
|
|
50
|
-
- git-tagging --
|
|
50
|
+
- git-tagging push --config user.email my@mail.com user.name "My Name"`
|
|
51
51
|
- dpl --provider=opsworks --access-key-id=$AWS_ACCESS_KEY_ID --secret-access-key="$AWS_SECRET_ACCESS_KEY" --app-id=$AWS_APP_ID --wait-until-deployed --custom_json='{"deploy":{"my_app":{"scm":{"revision":"tags/$(git-tagging --version)" }}}}' --skip_cleanup
|
|
52
52
|
```
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
## Dependencies
|
|
56
|
-
|
|
57
|
-
* Git gem (>= 1.2.5)
|
data/bin/git-tagging
CHANGED
|
@@ -48,7 +48,7 @@ if ARGV.first == 'push'
|
|
|
48
48
|
|
|
49
49
|
# git config --global
|
|
50
50
|
opt.on("--config [variables]", "user.email \"you@example.com\" and user.name \"Name\". Like `git config --global`", String) do |value|
|
|
51
|
-
options[:config] = Hash[*ARGV]
|
|
51
|
+
options[:config] = Hash[*value, *ARGV]
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
opt.on("-m", "Tag message", String) do |message|
|
|
@@ -90,4 +90,5 @@ else
|
|
|
90
90
|
end
|
|
91
91
|
opt_parser.parse!
|
|
92
92
|
|
|
93
|
-
Tagging::CLI.run(options)
|
|
93
|
+
Tagging::CLI.run(options)
|
|
94
|
+
|
data/lib/tagging/version.rb
CHANGED
data/tagging.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
|
10
10
|
s.date = "2016-04-27"
|
|
11
11
|
s.homepage = 'https://github.com/altherlex/tagging'
|
|
12
12
|
s.summary = %q{Never bother updating the version for your next gem build by hand. Configured in your Rakefile, gem_version provides the next Gem version and stores it to the repository.}
|
|
13
|
-
s.description = %q{Automated version management for your
|
|
13
|
+
s.description = %q{Automated version management for your RailsApp builds on CI}
|
|
14
14
|
|
|
15
15
|
s.files = `git ls-files`.split("\n")
|
|
16
16
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tagging
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alther Alves
|
|
@@ -66,7 +66,7 @@ dependencies:
|
|
|
66
66
|
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
|
-
description: Automated version management for your
|
|
69
|
+
description: Automated version management for your RailsApp builds on CI
|
|
70
70
|
email:
|
|
71
71
|
- para.alves@gmail.com
|
|
72
72
|
executables:
|