rfix 1.1.0.pre.147 → 1.1.0.pre.149

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: 146c6ec27a43d207f55a8c52da5d59b7033414b6f3b8219b79842b7ebdc0ff56
4
- data.tar.gz: 56270507f4346f5a2b6747dcaca7e2f9376b578edef1673a6cbdb5a9cedd21ae
3
+ metadata.gz: 5ee4030d1ce4edff85010c48d311687c118f875406c6191069296e59287bf92c
4
+ data.tar.gz: d052536e2c5789b690f7c063d2b098c2be418de7b925c9778c0ce060b97ec87b
5
5
  SHA512:
6
- metadata.gz: 5ca98082f6aabcc6475f4ca2688e67d8accbc6716f2c35ee709638e752632605d840f39243cc4aba65562f114769cec7336efe9b27d15d58358b10ba461279d1
7
- data.tar.gz: 43b809200c5cba10cda32528aad9b79ea03a61ce63c5b1bcf4895215747be373ff24351e3d5ab6c8ab249b58b453d709ec55e594720414072395c68c961a06a5
6
+ metadata.gz: dae811bfdd02a5d81ac9b47cf0cbb7954a568d9de950242f3d5c946d52831f0898466bc93784b7c0e978d5d9fe57d3a5474ee75508eab99d43908c6ebcd328f4
7
+ data.tar.gz: 5c9458afa7c3b84e8be22963f7aa62aef4b4a22f406590050f970eaa1b72605e1cd5c3dcd550d564fc490e36cc792087fbf29bdf19000561bc654d91da762ff7
@@ -5,7 +5,7 @@ class Rfix::Tracked < Rfix::File
5
5
 
6
6
  def include?(line)
7
7
  set = diff.each_line.to_a.map{ |l| l.new_lineno }.reject { |l| l == -1 }.to_set
8
- set.include?(line - 1)
8
+ set.include?(line)
9
9
  end
10
10
 
11
11
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rfix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.pre.147
4
+ version: 1.1.0.pre.149
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linus Oleander
@@ -236,7 +236,6 @@ files:
236
236
  - lib/rfix/branches/reference.rb
237
237
  - lib/rfix/branches/upstream.rb
238
238
  - lib/rfix/cmd.rb
239
- - lib/rfix/commands/all.rb
240
239
  - lib/rfix/commands/branch.rb
241
240
  - lib/rfix/commands/extensions/options.rb
242
241
  - lib/rfix/commands/help.rb
@@ -1,26 +0,0 @@
1
- # helper("help", binding)
2
- # helper("rubocop", binding)
3
- # helper("args", binding)
4
- #
5
- # summary "All"
6
- #
7
- # run do |opts, args, cmd|
8
- # setup(opts, args) do |repo, files|
9
- # q1 = "Are you sure you want to {{warning:auto-fix}} the {{warning:the entire folder}}"
10
- # q2 = "Are you sure you want to {{warning:auto-fix}} everything in {{warning:#{files.join(", ")}?}}"
11
- #
12
- # begin
13
- # if files.empty?
14
- # unless CLI::UI.confirm(q1)
15
- # exit 1
16
- # end
17
- # elsif CLI::UI.confirm(q2)
18
- # exit 1
19
- # end
20
- # rescue Interrupt
21
- # exit 1
22
- # end
23
- #
24
- # Rfix.global_enable!
25
- # end
26
- # end