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 +4 -4
- data/HISTORY.md +4 -0
- data/README.md +4 -4
- data/lib/sugarcane/menu.rb +2 -2
- data/lib/sugarcane/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0f6963dae6513107168f337b916a202e8b6103b
|
4
|
+
data.tar.gz: aa27d30020bde8892eb1ca9dc3235ece3861ac4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec0e52edea5926c82783c2b5d6d117c82a1d0ac4739f719f57a657982c5b9561f7f9a883c61e0e2445b6af994d155ec0efc0ee65ae66d6ce9269af1fd4f3f400
|
7
|
+
data.tar.gz: 58116fa7f996c6549f7668614051ea338ec72283732a864736518f1c6b77a03c1824ddcdec8aafd0c1ed2d22e38c20cdc420bbf4516253a00eb4de7125dc8458
|
data/HISTORY.md
CHANGED
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
|
72
|
-
lib/sugarcane.rb
|
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
|
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
|
data/lib/sugarcane/menu.rb
CHANGED
@@ -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? "
|
182
|
-
system("
|
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"
|
data/lib/sugarcane/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|