mark_version 0.4.0 → 0.5.0

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: 8b42636584cab0023b94e63f5721bbfe6001c66b
4
- data.tar.gz: 6b0b3f3cdf52cb4b6bc67096897235fc8f47e401
3
+ metadata.gz: 4bbaed60a5cc02f957d7f1d421a58c89d35754d5
4
+ data.tar.gz: 1a0a29560f8a86bd2c1098dc3070be49f0e971b6
5
5
  SHA512:
6
- metadata.gz: b1711d0ff1c3c83d42adf6842c07e4bdb0679ffecb24d773050cfe76d73cff4eebfa6f96c69c2f910a534916e9a7a843bdd1370ae1fa55ff84bb9661b4a7c616
7
- data.tar.gz: 9c72d9994b85c909f773e94a9ac4f7e766ecb960f978e6619ac7b32d286753a125c0c7de5fe79fa59ed6ee87c804000da58064ed7ced35073177f4e05e990d55
6
+ metadata.gz: 514a5e401947b6a4f4300bdffa3a9ebf7b1ab78600e321b12790a82166b6fa6df7a6913c43ce709446699c0b2548fa610268def296a856640fd977e768f930c1
7
+ data.tar.gz: 09a74cea49a903953100d5c361d5839cf94634840fa790233016276d5e1acd532a3de41cafb88123163cfbf82e77051b4059476e4c8ce44b98f39d7e05966a71
@@ -50,7 +50,7 @@ class Git
50
50
  end
51
51
 
52
52
  def self.last_version_commit
53
- `git log --format="%h" .mark_version/VERSION | head -n 1`.chomp
53
+ `git log --format="%h" VERSION | head -n 1`.chomp
54
54
  end
55
55
 
56
56
  def self.commit_and_tag(version)
@@ -59,7 +59,7 @@ class Git
59
59
  end
60
60
 
61
61
  def self.commit(version)
62
- `git add .mark_version/VERSION`
62
+ `git add VERSION`
63
63
  `git commit -m "To version #{version}"`
64
64
  end
65
65
 
@@ -1,7 +1,7 @@
1
1
  class VersionFile
2
2
  attr_reader :file_name
3
3
 
4
- def initialize(file_name = "#{MarkVersionConfig.new.base_folder_name}/VERSION")
4
+ def initialize(file_name = "VERSION")
5
5
  @file_name = "#{file_name}"
6
6
  end
7
7
 
data/mark_version.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'mark_version'
3
- s.version = '0.4.0'
3
+ s.version = '0.5.0'
4
4
  s.date = '2015-05-30'
5
5
  s.summary = 'A tool for recording the version of a ruby application.'
6
6
  s.authors = ['Grayden Smith']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mark_version
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grayden Smith