rfix 1.0.5.pre.58 → 1.0.5

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
  SHA256:
3
- metadata.gz: b39ead7cc4ccac6864c2394faa58e7aee4fe6236cb32d3cedec92bb1db010c42
4
- data.tar.gz: b31ae5149aee54c6517dd5c4aa210a6175082dc66294241e8d3f49997a8a4f96
3
+ metadata.gz: 868bfaa86ad3d23783d477797cfcf3e3f385aa07e99d58eef7ffc6b7627cee70
4
+ data.tar.gz: ad027badc525a3dc9c132a769f887cf6b6dfaae2f67b5fa54860b141701913d1
5
5
  SHA512:
6
- metadata.gz: 695c4d8dc9d9eba61e9986a36872de567d51ee062dceebe899ed959f4fa6797fef532b4b632eaae89481217fc96b70b1cd1546cf77b72b17de25b0bc3115c04d
7
- data.tar.gz: da5cf06f5bc50f773c156d533748f87552b7f58bf626f23a2f8f33df706f0877650c8e0d5c767dcfb706d477cebae22e024fe00ed51245649730442ab81838b0
6
+ metadata.gz: 03bd3ad38f44c7d255d3b7833dd971c1871a694f3817f00f4e09182012e9f4d37462e7006cc71eb7cdc5d45b4bdf04525a23ef1032d1eef7b7263c6d36c8cf98
7
+ data.tar.gz: 768876291035c8296f24307f2290b0c08d1a26ad3c1d9299c3f3ad3c67192988c3b841e8e2acb72d2f361a4dddee552cc899bd6483145706faafdf07cdb9a497
data/.travis.yml CHANGED
@@ -27,14 +27,4 @@ install:
27
27
  script:
28
28
  - bundle exec rake spec
29
29
  - bundle exec rake install
30
- - rfix info
31
- jobs:
32
- include:
33
- deploy:
34
- provider: rubygems
35
- api_key:
36
- secure: SJ5rZtQxDnY7aeWIb+gZ1OEV2rDHz8jvMBStHtzPDVtpQeUoo6DJB4FN4Vt5i7VaVk1otkAdOgyANzOQDSB0/1mMBUcy902zKrrUISALeIXp2FpsvjijRdKD0hLJaeX00n/MEJpw671NbzCNboEdiMnCrxSgd775qeQibcv72iRGIY07xv/BLUCtLTmqtjQFQAvcYEFpMQsRE6XEnkRSEOigSsYvNKZrygG4AgUaNY4rcOPqP+Yl26BFHw833GBQeuGgD5a310k3xYwpPc+9I+pTVHcpc4qh2m9kPcNuyDE3OjAMqE3XVn9WXeciZnQR6AQ94n6+5CJyTD3NEv5n58i4kyCLB71YfmPJjO+04+EiCUSZjeECkwACNguzOisdV8Z/vDzfNhI5tvNL7lv3jU05F/lw8LXKR30GBte5BquPY4DjjjXKgKoKl0tbo1bBT0u8LItEaFYoGqRmUiXiHFQNaH02pjBFkjUsyyEgnscWTDtoPxEjyP4aLnW+ESxnJxpwMHHiHPmplrPmK+3hYrTYz9saZyIajLIfcxcGcSSWEHXt2gV5i80pHJFQCc1qV/9d3g8s8sy3N9eKzV6SMYspFTtdKe2Pf7m/nwFt235/ibx0Z4Gyb1TZKze7phv9yAzvAaIb28I3Ye6S2S/ALemlKiu1A/XWtNtOxo8xMNE=
37
- gem: rfix
38
- on:
39
- repo: oleander/rfix-rb
40
- cleanup: 'false'
30
+ - rfix --help
data/README.md CHANGED
@@ -18,17 +18,6 @@ $ rfix <local|branch|origin|info|all> [--dry] [--help]
18
18
  - `bundle exec rake local`
19
19
  - `bundle exec rake spec`
20
20
 
21
- ## Overcommit
22
-
23
- ``` yaml
24
- PreCommit:
25
- RFix:
26
- enabled: true
27
- command: ["rfix", "local", "--untracked", "--dry"]
28
- description: "Lint changes since last push using RuboCop"
29
- parallelize: true
30
- ```
31
-
32
21
  ## Contributing
33
22
 
34
23
  Bug reports and pull requests are welcome on GitHub at https://github.com/oleander/rfix.
data/lib/rfix/cmd.rb CHANGED
@@ -16,7 +16,7 @@ module Rfix::Cmd
16
16
  say_error "[Cmd] {{italic:#{args.join(" ")}}}"
17
17
  say_error "[Pwd] {{italic:#{Dir.pwd}}}"
18
18
  say_error "[Err] {{error:#{err.strip}}}"
19
-
19
+
20
20
  exit status.exitstatus
21
21
  end
22
22
 
@@ -9,8 +9,8 @@ module Rfix::GitHelper
9
9
  include Rfix::Log
10
10
  include Rfix::Cmd
11
11
 
12
- def git(*args, &block)
13
- cmd("git", *args, &block)
12
+ def git(*args)
13
+ cmd("git", *args)
14
14
  end
15
15
 
16
16
  def params
data/lib/rfix/rfix.rb CHANGED
@@ -88,9 +88,7 @@ module Rfix
88
88
 
89
89
  # Ref since last push
90
90
  def ref_since_push
91
- git("rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{u}") do
92
- [ref_since_origin]
93
- end.first
91
+ git("rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{u}").first
94
92
  end
95
93
 
96
94
  # Original branch, usually master
data/rfix.gemspec CHANGED
@@ -5,15 +5,7 @@ require_relative "lib/rfix/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "rfix"
8
-
9
- if ENV["TRAVIS"]
10
- spec.version = "#{Rfix::VERSION}-#{ENV.fetch('TRAVIS_BUILD_NUMBER')}"
11
- else
12
- # rubocop:disable Gemspec/DuplicatedAssignment
13
- spec.version = Rfix::VERSION
14
- # rubocop:enable Gemspec/DuplicatedAssignment
15
- end
16
-
8
+ spec.version = Rfix::VERSION
17
9
  spec.authors = ["Linus Oleander"]
18
10
  spec.email = ["linus@oleander.nu"]
19
11
 
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rfix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5.pre.58
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linus Oleander
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2020-06-17 00:00:00.000000000 Z
@@ -129,7 +129,7 @@ licenses:
129
129
  - MIT
130
130
  metadata:
131
131
  homepage_uri: https://github.com/oleander/rfix-rb
132
- post_install_message:
132
+ post_install_message:
133
133
  rdoc_options: []
134
134
  require_paths:
135
135
  - lib
@@ -141,12 +141,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
141
  version: 2.5.0
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - ">"
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
- version: 1.3.1
146
+ version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.0.3
149
- signing_key:
148
+ rubygems_version: 3.1.4
149
+ signing_key:
150
150
  specification_version: 4
151
151
  summary: RuboCop CLI that only complains about your latest changes
152
152
  test_files: []