app-release 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/RELEASE.md +7 -0
- data/lib/app_release/parser.rb +1 -14
- data/lib/app_release/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c212a7fccb68465ac63736e8f266f194fd6b6364a3e3f4da16ce4db2407bdc8b
|
4
|
+
data.tar.gz: 21f4dbb375edc4c737332e7f186b287a838f78cb934dd96556320d8baf3f4128
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ad4c88df6ef55fe715983d09ff7a7e9420d2613bbcba7e3bc9169cdbe84e136689ae6a5a8934b38612c7f46e5c68ab2ce859b3fb51a50415f277175dd3709ed
|
7
|
+
data.tar.gz: 6cd37588f8ff30193c1e576399f8489b3a8a9444e82b650a6178be06e9d8ed7f0ccef813c5042e576553db5a755921e943f0010075d766450cfada7e59718605
|
data/README.md
CHANGED
@@ -4,6 +4,8 @@ A simple tool for updating the version of a Rails application.
|
|
4
4
|
|
5
5
|
This library was implemented to simplify project versioning. With this tool can store, quickly create and push tags.
|
6
6
|
|
7
|
+
[Documentation](https://www.rubydoc.info/gems/app-release)
|
8
|
+
|
7
9
|
## Installation
|
8
10
|
|
9
11
|
```ruby
|
data/RELEASE.md
ADDED
data/lib/app_release/parser.rb
CHANGED
@@ -7,11 +7,7 @@ require 'app_release/git'
|
|
7
7
|
|
8
8
|
module AppRelease
|
9
9
|
class Parser
|
10
|
-
attr_reader :args
|
11
|
-
|
12
|
-
DEFAULT_ACTIONS = {
|
13
|
-
init: false
|
14
|
-
}.freeze
|
10
|
+
attr_reader :args
|
15
11
|
|
16
12
|
def self.parse(args)
|
17
13
|
new(args).parse
|
@@ -19,19 +15,10 @@ module AppRelease
|
|
19
15
|
|
20
16
|
def initialize(args)
|
21
17
|
@args = args
|
22
|
-
@actions = DEFAULT_ACTIONS.dup
|
23
18
|
end
|
24
19
|
|
25
20
|
def parse
|
26
|
-
# puts
|
27
|
-
# puts
|
28
|
-
# puts @args.inspect
|
29
|
-
# puts
|
30
|
-
# puts
|
31
|
-
|
32
21
|
parser.parse!(args)
|
33
|
-
|
34
|
-
# @actions
|
35
22
|
rescue StandardError => e
|
36
23
|
AppRelease::Console.danger("Ambiguously completable string is encountered\n#{e}")
|
37
24
|
end
|
data/lib/app_release/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app-release
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Sokolov
|
@@ -48,6 +48,7 @@ extra_rdoc_files: []
|
|
48
48
|
files:
|
49
49
|
- LICENSE.md
|
50
50
|
- README.md
|
51
|
+
- RELEASE.md
|
51
52
|
- app_release.gemspec
|
52
53
|
- bin/app_release
|
53
54
|
- lib/app_release.rb
|