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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9f2da32871893861168cbd63742f4120e0c221db42fb98ad7fb9ee2fe3a4b66
4
- data.tar.gz: b839751a394471cd3db1b735657ecbb011eeceedcda444ea71304966a6d6689f
3
+ metadata.gz: c212a7fccb68465ac63736e8f266f194fd6b6364a3e3f4da16ce4db2407bdc8b
4
+ data.tar.gz: 21f4dbb375edc4c737332e7f186b287a838f78cb934dd96556320d8baf3f4128
5
5
  SHA512:
6
- metadata.gz: 7a754723f4e6116c925bc265215cae7a5bd007e7e11b1fe7976c258f764e684ccf15f75414c5ed966755c1dd5e49ad49f75f442a12fe0bd1bd00f3b7688ce4d7
7
- data.tar.gz: c694303f987a339d28afae84b3dbf03c63873ccd0c79ad0fa82818bac73504dfa047e030d5181b354aa1983dea5927b6c3b3c5649272048f8f2390bc2d73058c
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
@@ -0,0 +1,7 @@
1
+ ```shell
2
+ gem build app_release.gemspec
3
+
4
+ gem push app-release-1.0.1.gem
5
+
6
+ gem push --key github --host https://rubygems.pkg.github.com/afuno app-release-1.0.1.gem
7
+ ```
@@ -7,11 +7,7 @@ require 'app_release/git'
7
7
 
8
8
  module AppRelease
9
9
  class Parser
10
- attr_reader :args, :actions
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
@@ -1,7 +1,7 @@
1
1
  module AppRelease
2
2
  MAJOR = 1
3
3
  MINOR = 0
4
- PATCH = 1
4
+ PATCH = 2
5
5
 
6
6
  VERSION = [
7
7
  MAJOR,
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.1
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