rubicon 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '091921ef223a86af5d062f9cfd523f64fb56c0f8'
4
- data.tar.gz: 6ce3ef233ffb2a366ee947a404ba175faf0f911a
3
+ metadata.gz: 9666d446fdb82193943762cd55b4f87999457455
4
+ data.tar.gz: 275f36e494781ff181aa8cc818f48a99ed86d600
5
5
  SHA512:
6
- metadata.gz: e8e314762a7aff21fe5224eb3198dc04d02982f0882487fcffef8e54562e44cb6ec82cba424e3bcf9818cc006901978e21f4932fd4103e587a4bd46ae62bf02f
7
- data.tar.gz: 4f4a9e5597bad31c1f590a11e9824dc80a014680c37846da78617eab7c9c6f6ada3035e24b01e6f876947a5ce0c514b6b40fdfde0a077bb8f59e6e1867a4c03e
6
+ metadata.gz: ca1b8b0cca10c4ce4e72cb443c6245e5920fb3d3dc3064cb8b34de8b0276fd7a19b6f47edef710eb0d99cff607ab8908dc83233310cecccf670d3ad5c10514e1
7
+ data.tar.gz: 4845c1e127f6b33e33efd8d059c4cadfe1c019c6c11d90aa7319f73e199683905b5bd0c5cb74a3c24e3a078b8e699747fb551513fc56a65c48d2217254e5dcb4
@@ -9,7 +9,10 @@ module Rubicon
9
9
  end
10
10
 
11
11
  def read
12
- IO.read(version_file)
12
+ write unless ::File.exist?(version_file)
13
+
14
+ ver = IO.read(version_file)
15
+ ver.empty? ? '0.0.0' : IO.read(version_file)
13
16
  end
14
17
  end
15
18
  end
@@ -1,4 +1,4 @@
1
- namespace :rubicon do
1
+ namespace :version do
2
2
  desc 'bump the patch version (1.2.x)'
3
3
  task patch: :environment do
4
4
  update_version(:patch)
metadata CHANGED
@@ -1,30 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubicon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
- - RostislavKor
8
- - volkov-sergey
7
+ - Rostislav Korin
8
+ - Sergey Volkov
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2018-06-21 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rails
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: 5.0.0
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: 5.0.0
28
14
  - !ruby/object:Gem::Dependency
29
15
  name: systemu
30
16
  requirement: !ruby/object:Gem::Requirement
@@ -39,23 +25,9 @@ dependencies:
39
25
  - - ">="
40
26
  - !ruby/object:Gem::Version
41
27
  version: '0'
42
- - !ruby/object:Gem::Dependency
43
- name: sqlite3
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - ">="
47
- - !ruby/object:Gem::Version
48
- version: '0'
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: '0'
56
- description: Based on [A successful Git branching model](https://nvie.com/posts/a-successful-git-branching-model/)
57
- we have built this useful gem. It allows you to manage project version, branch-naming
58
- convention and git tags using rails tasks.
28
+ description: Based on A successful Git branching model we have built this useful gem.
29
+ It allows you to manage project version, branch-naming convention and git tags using
30
+ rails tasks.
59
31
  email:
60
32
  - rkorin.codica@gmail.com
61
33
  - sergvolkov.codica@gmail.com