sugarcane 0.0.1 → 0.0.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: 584226c2dcce2cb64f8634a831906986f21f92f2
4
- data.tar.gz: 6a906ebfd9c1088440dfc76fd2db8ca621bac061
3
+ metadata.gz: c0f6963dae6513107168f337b916a202e8b6103b
4
+ data.tar.gz: aa27d30020bde8892eb1ca9dc3235ece3861ac4a
5
5
  SHA512:
6
- metadata.gz: 40e65acb33a378c9e7f779750dee561d982c6aedeb19a24141313657e53b6a8407ec876b23aa6cafbdc9911087758152f5a04d8ba7aeb129a800ec5e801cc5c3
7
- data.tar.gz: 78dfc2e99724f66855473ae69c06923989dbc5266d1daf4819e3ceec99039feb28be21ea170a3d769c57ab6141e0ab71399b018a11f81de7188a9805fec19a0c
6
+ metadata.gz: ec0e52edea5926c82783c2b5d6d117c82a1d0ac4739f719f57a657982c5b9561f7f9a883c61e0e2445b6af994d155ec0efc0ee65ae66d6ce9269af1fd4f3f400
7
+ data.tar.gz: 58116fa7f996c6549f7668614051ea338ec72283732a864736518f1c6b77a03c1824ddcdec8aafd0c1ed2d22e38c20cdc420bbf4516253a00eb4de7125dc8458
data/HISTORY.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # SugarCane History
2
2
 
3
+ ## 0.0.2 - 6 February 2014
4
+
5
+ * Bugfix: sublimetext is now invoked with 'subl'
6
+
3
7
  ## 0.0.1 - 6 February 2014
4
8
 
5
9
  * Feature: Menu that takes you from a violation to the line in a text editor
data/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  minor changes, but most importantly, it closes the gap between the text editor
11
11
  and cane.
12
12
 
13
- You can find the original cane project at [square/cane](https://github.com/square/cane)
13
+ You can find the original cane project at [square/cane](https://github.com/square/cane).
14
14
 
15
15
  ## Features
16
16
 
@@ -68,8 +68,8 @@ For original `cane` functionality, add the --report option
68
68
 
69
69
  Methods exceeded maximum allowed ABC complexity (2):
70
70
 
71
- lib/sugarcane.rb Cane#sample 23
72
- lib/sugarcane.rb Cane#sample_2 17
71
+ lib/sugarcane.rb SugarCane#sample 23
72
+ lib/sugarcane.rb SugarCane#sample_2 17
73
73
 
74
74
  Lines violated style requirements (2):
75
75
 
@@ -123,7 +123,7 @@ For original `cane` functionality, add the --report option
123
123
 
124
124
  ## Configuration Files
125
125
 
126
- Set default options using a `.cane` or '.sugarcane'. This is easier than telling
126
+ Set default options using a `.cane` or `.sugarcane`. This is easier than telling
127
127
  sugarcane what editor you want to use every time.
128
128
 
129
129
  $ cat .sugarcane
@@ -178,8 +178,8 @@ module SugarCane
178
178
  if @options[:editor]
179
179
  system("#{@options[:editor]} +#{line} #{file}")
180
180
  # If someone purchased sublime, they probably want to use it
181
- elsif program_exist? "sublimetext"
182
- system("sublimetext #{file}:#{line}")
181
+ elsif program_exist? "subl"
182
+ system("subl #{file}:#{line}")
183
183
  elsif ENV['VISUAL']
184
184
  system("#{ENV['VISUAL']} +#{line} #{file}")
185
185
  elsif program_exist? "vim"
@@ -1,3 +1,3 @@
1
1
  module SugarCane
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sugarcane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Qualls
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-06 00:00:00.000000000 Z
11
+ date: 2014-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel