scvcs 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: cb0d8820eb956906b6b4f4b6acc3d6d4302fcb5b
4
- data.tar.gz: 4570ef354f4ac973a48f6c434b8e3e94e6123efd
3
+ metadata.gz: 8dccda4f03f1c058595f1fb0a3df85c0141a6d87
4
+ data.tar.gz: cc5fa810378a158c90b5d381344e995487e9a4a4
5
5
  SHA512:
6
- metadata.gz: db8c0372bd7673f394bf5478e6ab4a5e8f7ad00b84457e6479ef37582ac74486a815f04b0ce152a1172ad198c146725c55ee7f01a9ab2cd0c638ff47fa1c107f
7
- data.tar.gz: 7914b17898fec122d9f1d8fec27dbfd2f85234e2fe3cbaee73f112fb1027ba7e1e7cad990fef7f336a5dd63c4f1753c241e604610232be0030144b61cd85733b
6
+ metadata.gz: db603ea442a5a4363c94f5a0283164cb246d4b42867e8a87da8084c0b777dd23fee507abf2a75b6c02cf85a7d3afb3c98e658568a4832eadedcb961ca06d7cb3
7
+ data.tar.gz: 7687b42d978df6d7fde6db7f8d88a8a6b4371135036587a1f08bf72d31372194a18cac27745a4fffa66a0bf68aafa78a6fb1e425c95b42dddbb1cf26efcf7457
@@ -23,7 +23,7 @@ command :commit do |c|
23
23
  repository_path = "#{global_options[:dir]}/.scv"
24
24
 
25
25
  unless options[:amend]
26
- status = repository.status repository[:head, :commit], ignore: [/^\.|\/\./]
26
+ status = repository.status repository.branch_head, ignore: [/^\.|\/\./]
27
27
 
28
28
  if status.none? { |_, files| files.any? }
29
29
  raise 'No changes since last commit'
@@ -1,3 +1,3 @@
1
1
  module SCV
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scvcs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georgy Angelov