space2underscore 0.2.1 → 0.2.2
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 +4 -4
- data/README.md +7 -0
- data/lib/space2underscore/version.rb +1 -1
- data/lib/space2underscore.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 25a6f282a935995e862560165d9e8259883eecae
|
|
4
|
+
data.tar.gz: de60139919b4af92edffc14b56ae4258aadd351a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1f24efc4d8ed3dd078a23b2ccea7ca938235c48cef154969cb231faa7e309b0760a3d114737d1be3f0129223e5468693daf07b99a98812276975975fbe4b469
|
|
7
|
+
data.tar.gz: 87baef2725de6d323a26b4ab4266c0d9df5288d84494ba08d2a45ceea752965ae0f804b277213ce1269a74a8b757038e830282f5080697f291553d81f453f387
|
data/README.md
CHANGED
|
@@ -35,6 +35,13 @@ From the terminal:
|
|
|
35
35
|
=> Switched to the new branch 'new_branch’
|
|
36
36
|
=> Branch has been created.
|
|
37
37
|
|
|
38
|
+
Or
|
|
39
|
+
|
|
40
|
+
$ space2underscore new branch
|
|
41
|
+
=> Do you create the new branch? [y/Y/Yes, n/N/No] # n
|
|
42
|
+
=> Branch name has been copied to clipboard.
|
|
43
|
+
$ git branch -m new_branch # Paste from clipboard
|
|
44
|
+
|
|
38
45
|
## Contributing
|
|
39
46
|
|
|
40
47
|
1. Fork it
|
data/lib/space2underscore.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Space2underscore
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
def create_new_branch(underscore_include_sentence)
|
|
28
|
-
print "Do you create the new branch? [y/Y]"
|
|
28
|
+
print "Do you create the new branch? [y/Y/Yes, n/N/No]"
|
|
29
29
|
flag = $stdin.gets.chomp
|
|
30
30
|
|
|
31
31
|
if !!(flag =~ /^y(es)?$/i) || flag == ''
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: space2underscore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sachin21
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-08-
|
|
11
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
107
107
|
version: '0'
|
|
108
108
|
requirements: []
|
|
109
109
|
rubyforge_project:
|
|
110
|
-
rubygems_version: 2.
|
|
110
|
+
rubygems_version: 2.4.5
|
|
111
111
|
signing_key:
|
|
112
112
|
specification_version: 4
|
|
113
113
|
summary: change the space into underscore
|