yes_ship_it 0.2.0 → 0.2.1

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: ec285a924c393af40f92c2a10434593a85391c49
4
- data.tar.gz: 9d03622b69d49a9e8640ce7e7e7e5b19c97572a7
3
+ metadata.gz: 386f935bfc176acc42ce8db6dbd265ee71cd2755
4
+ data.tar.gz: d9c5db583f23cf9dbef738c0240ff1e75cedf67d
5
5
  SHA512:
6
- metadata.gz: 18da7c6c0778d93c4f1722f13f5fb7bd20f0ea8b9c432b735652ceeb4385ac97b71858dd7e4f0dfe9464f4869b7cbb5048fd61d247f3ded621bd19227f7d92bc
7
- data.tar.gz: e82dd42519fdde9fef8561662eb7cf841a45415753d72bc0fa952e8aea13d3bea990ac98ba83c72afa22ef559e0f6d6b29d1c333e567daccf3c8d9e0e75a437a
6
+ metadata.gz: 9dfc18b1ee1062e65dd9ba975cf8343dd16d07d56f4f00d4a37db446fa3bc39d8f5fa95bb1a1be573d83974ae17401232dbe43cfaeba4756f13cc07ec7e10002
7
+ data.tar.gz: 856b65c05ae1a909705be57c700594dfa6f67162f50ef6348653582327d57ada1dbdf96188e639acd407b5047cf26cf0d6224a72aba580e2b04688376aa38ab6
@@ -1,5 +1,9 @@
1
1
  # Change log of yes_ship_it
2
2
 
3
+ ## Version 0.2.1
4
+
5
+ * Make working tree check work with git 2.12
6
+
3
7
  ## Version 0.2.0
4
8
 
5
9
  * Make URL of YesItShipped server where updates are posted configurable
@@ -13,6 +13,8 @@ module YSI
13
13
  g = git_status
14
14
  if g =~ /working directory clean/
15
15
  @status = "clean"
16
+ elsif g =~ /working tree clean/
17
+ @status = "clean"
16
18
  elsif g =~ /Changes to be committed/
17
19
  @status = "uncommitted changes"
18
20
  elsif g =~ /Untracked files/
@@ -1,4 +1,4 @@
1
- #!/usr/bin/ruby
1
+ #!/usr/bin/env ruby
2
2
 
3
3
  require_relative("../lib/yes_ship_it.rb")
4
4
 
@@ -1,3 +1,3 @@
1
1
  module YSI
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -2,6 +2,21 @@ require_relative "../spec_helper.rb"
2
2
 
3
3
  describe YSI::WorkingDirectory do
4
4
  describe "#status" do
5
+ context "git 2.12.0" do
6
+ it "clean" do
7
+ a = YSI::WorkingDirectory.new(YSI::Engine)
8
+
9
+ git_output = <<EOT
10
+ On branch master
11
+ Your branch is up-to-date with 'origin/master'.
12
+ nothing to commit, working tree clean
13
+ EOT
14
+ allow(a).to receive(:git_status).and_return(git_output)
15
+
16
+ expect(a.status).to eq("clean")
17
+ end
18
+ end
19
+
5
20
  it "clean" do
6
21
  a = YSI::WorkingDirectory.new(YSI::Engine)
7
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yes_ship_it
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cornelius Schumacher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-15 00:00:00.000000000 Z
11
+ date: 2017-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inifile
@@ -243,9 +243,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  version: 1.3.6
244
244
  requirements: []
245
245
  rubyforge_project: yes_ship_it
246
- rubygems_version: 2.2.2
246
+ rubygems_version: 2.5.1
247
247
  signing_key:
248
248
  specification_version: 4
249
249
  summary: The ultimate release script
250
250
  test_files: []
251
- has_rdoc: