safe_pusher 0.1.2 → 0.1.3

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: eca45fa8c56fcb80748391a55b152f2eb538df14
4
- data.tar.gz: df64da787e8d9aeaa44a74125bf3b517a5e82cfb
3
+ metadata.gz: aaccf2d4580afb11b6d7f7fa4cb9e8ab9f4ef7d9
4
+ data.tar.gz: 11d63824b879d801afc5e93d5202890465fc56ce
5
5
  SHA512:
6
- metadata.gz: 8936b4d003524523fb5038b2c1aebc53906aa76a46b0946e08a1c29ef6c492f61a8600c98e2c47f5b36b612a9b30ffd30cc115e3406fda8cdc228206d3590c95
7
- data.tar.gz: 1dbe17da79b3438bd308a04f0d2c0714963bd494af932d6c2b948d6affd742162b7ac3ac388f3330352cf55ffc7b23df451da56e9db763e80d984cee405591e6
6
+ metadata.gz: f53e3e4d17458c4fbedb3baa9027c7be47837aa57f0b8f5fcb3a7bc7433f76d22abccb25cea9570caa4b4a442569bd624285cd3ac7b9ea1316459e8dc6be89bc
7
+ data.tar.gz: 4daec10f29b4a88d9f85c84b5e4075c3f2eb4d10f7d535d7836640a30991169b379a3ecac7a358b996f7d178e52e20d2b5a1198968f74da21e340e3236e92ec0
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This project adheres to [Semantic Versioning](http://semver.org)
4
4
 
5
+ ## [0.1.3] - 2018-12-20
6
+ Bugfix:
7
+ - Do not take into account deleted files for rspec testing
8
+
5
9
  ## [0.1.2] - 2018-12-18
6
10
  Bugfix:
7
11
  - Remove dev dependency `pronto` to update `thor` version to 20.0
data/README.md CHANGED
@@ -56,7 +56,7 @@ To run specs and pronto before to push on github run:
56
56
 
57
57
  ## Contributing
58
58
 
59
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/safe_pusher. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
59
+ Bug reports and pull requests are welcome on GitHub at https://github.com/williampollet/safe_pusher. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
60
60
 
61
61
  ## License
62
62
 
@@ -24,7 +24,9 @@ module SafePusher
24
24
  end
25
25
 
26
26
  def modified_files
27
- `git diff --name-only #{branch} $(git merge-base #{branch} master)`
27
+ diff = 'git diff --diff-filter=A --diff-filter=M --name-only'
28
+
29
+ `#{diff} $(git merge-base #{branch} master) #{branch}`
28
30
  .split("\n")
29
31
  .uniq
30
32
  end
@@ -1,3 +1,3 @@
1
1
  module SafePusher
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safe_pusher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Pollet
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-18 00:00:00.000000000 Z
11
+ date: 2018-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize