space2underscore 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -0
- data/README.md +6 -2
- data/lib/space2underscore.rb +13 -6
- data/lib/space2underscore/version.rb +1 -1
- data/space2underscore.gemspec +2 -4
- metadata +10 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 549e55170cb4f9ca238df69092829297227e64e4
|
4
|
+
data.tar.gz: 75a431a5d46a731ad963786e690987bc208ea053
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 316e3d2f06f6a264aa8c4b92e302f12c6f9f6137714ec3daea7f894cfb3a9e5cf7489d4f7a2ab533b3730b2ca39fa6b6823c8da063bab0d8a2b8697ed13599f3
|
7
|
+
data.tar.gz: 7a801701bd585084ebbfa14e41e89c2ffe0235ac90fb0392e453f2aac02c702eb657edc30d75195be751f156d7f15ff4bb3d0793760660135bb2e1eda6e589fc
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# Change log
|
2
|
+
|
3
|
+
## v0.3.5 (2015-10-07)
|
4
|
+
- Removed line feed code in first line.
|
5
|
+
|
6
|
+
## v0.3.4 (2015-09-26)
|
7
|
+
- Fixed error `invalid multibyte char (US-ASCII) (SyntaxError)`.
|
8
|
+
|
9
|
+
## v0.3.3 (2015-09-24)
|
10
|
+
- Modified English.
|
11
|
+
- Maked a symbolic link for space2underscore command.
|
12
|
+
- Use Travis CI.
|
13
|
+
- Added status badges.
|
14
|
+
|
15
|
+
## v0.3.2 (2015-09-03)
|
16
|
+
- Added installed message.
|
17
|
+
- Removed unused message.
|
18
|
+
|
19
|
+
## v0.3.1 ~ v0.3.0 (2015-08-30 ~ 2015-08-27)
|
20
|
+
- Don't use clipboard.
|
21
|
+
- Changed to print and create the new branch only command.
|
22
|
+
- Modified document.
|
23
|
+
- Removed unused config for RSpec.
|
24
|
+
|
25
|
+
## v0.2.2 (2015-08-13)
|
26
|
+
- Modified the message at the time of input.
|
27
|
+
- Added document at the time of create the new branch.
|
28
|
+
|
29
|
+
## v0.2.1 (2015-08-11)
|
30
|
+
- Modified document.
|
31
|
+
- Bit refactored.
|
32
|
+
|
33
|
+
## v0.2.0 (2015-08-02)
|
34
|
+
- Created function of create the new branch.
|
35
|
+
|
36
|
+
## v0.1.9 ~ v0.1.8 (2015-08-02 ~ 2015-05-26)
|
37
|
+
- Created the new gem.
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Space2underscore [![Build Status](https://travis-ci.org/sachin21/space2underscore.svg?branch=master)](https://travis-ci.org/sachin21/space2underscore) [![Code Climate](https://codeclimate.com/github/sachin21/space2underscore/badges/gpa.svg)](https://codeclimate.com/github/sachin21/space2underscore)
|
1
|
+
# Space2underscore [![Gem Version](https://badge.fury.io/rb/space2underscore.svg)] [![Build Status](https://travis-ci.org/sachin21/space2underscore.svg?branch=master)](https://travis-ci.org/sachin21/space2underscore) [![Code Climate](https://codeclimate.com/github/sachin21/space2underscore/badges/gpa.svg)](https://codeclimate.com/github/sachin21/space2underscore)
|
2
2
|
|
3
3
|
## What is space2underscore
|
4
4
|
Change the space into underscore.
|
@@ -10,7 +10,7 @@ Install it yourself as:
|
|
10
10
|
$ gem install space2underscore
|
11
11
|
|
12
12
|
## Usage
|
13
|
-
From the
|
13
|
+
From the command line:
|
14
14
|
|
15
15
|
### 1. e.g. Create the new branch
|
16
16
|
|
@@ -37,6 +37,10 @@ A shorthand alias for space2underscore can also be used.
|
|
37
37
|
s2u new branch
|
38
38
|
```
|
39
39
|
|
40
|
+
## Credits
|
41
|
+
- Help information based on [@motemen's ghq](https://github.com/motemen/ghq)
|
42
|
+
- Installed information based on [Tmuxinator](https://github.com/tmuxinator/tmuxinator)
|
43
|
+
|
40
44
|
## Contributing
|
41
45
|
|
42
46
|
1. Fork it
|
data/lib/space2underscore.rb
CHANGED
@@ -12,15 +12,22 @@ module Space2underscore
|
|
12
12
|
|
13
13
|
def self.print_usage
|
14
14
|
message = <<-EOF
|
15
|
-
|
16
|
-
|
15
|
+
NAME:
|
16
|
+
space2underscore - Change the space into underscore
|
17
17
|
|
18
|
-
|
19
|
-
|
18
|
+
USAGE:
|
19
|
+
$ space2underscore new branch -c
|
20
|
+
=> Switched to the new branch 'new_branch’
|
20
21
|
|
21
|
-
|
22
|
+
Or
|
22
23
|
|
23
|
-
|
24
|
+
$ git branch -m $(space2underscore renamed branch)
|
25
|
+
|
26
|
+
VERSION:
|
27
|
+
#{Space2underscore::VERSION}
|
28
|
+
|
29
|
+
OPTIONS:
|
30
|
+
--create, -c create the new branch
|
24
31
|
EOF
|
25
32
|
|
26
33
|
print message.gsub(' ', '')
|
data/space2underscore.gemspec
CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
21
|
spec.post_install_message = %q{
|
22
|
-
__________________________________________________________
|
23
22
|
..........................................................
|
24
23
|
__________________________________________________________
|
25
24
|
|
@@ -27,18 +26,17 @@ Gem::Specification.new do |spec|
|
|
27
26
|
|
28
27
|
************************* Usage **************************
|
29
28
|
|
30
|
-
From the
|
29
|
+
From the command line:
|
31
30
|
|
32
31
|
$ space2underscore new branch -c
|
33
32
|
=> Switched to the new branch 'new_branch’
|
34
33
|
|
35
34
|
Or
|
36
35
|
|
37
|
-
$ git branch -m $(space2underscore renamed branch)
|
36
|
+
$ git branch -m $(space2underscore renamed branch)
|
38
37
|
|
39
38
|
----------------------------------------------------------
|
40
39
|
..........................................................
|
41
|
-
__________________________________________________________
|
42
40
|
}[1..-1]
|
43
41
|
|
44
42
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
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.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sachin21
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- ".gitignore"
|
79
79
|
- ".rspec"
|
80
80
|
- ".travis.yml"
|
81
|
+
- CHANGELOG.md
|
81
82
|
- Gemfile
|
82
83
|
- LICENSE.txt
|
83
84
|
- README.md
|
@@ -93,15 +94,13 @@ homepage: http://github.com/sachin21/space2underscore
|
|
93
94
|
licenses:
|
94
95
|
- MIT
|
95
96
|
metadata: {}
|
96
|
-
post_install_message: "
|
97
|
-
\
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
\ ..........................................................\n __________________________________________________________\n
|
104
|
-
\ "
|
97
|
+
post_install_message: " ..........................................................\n
|
98
|
+
\ __________________________________________________________\n\n Thank you
|
99
|
+
for installing space2underscore.\n\n ************************* Usage **************************\n\n
|
100
|
+
\ From the command line:\n\n $ space2underscore new branch -c\n => Switched
|
101
|
+
to the new branch 'new_branch’\n\n Or\n\n $ git branch -m $(space2underscore
|
102
|
+
renamed branch)\n\n ----------------------------------------------------------\n
|
103
|
+
\ ..........................................................\n "
|
105
104
|
rdoc_options: []
|
106
105
|
require_paths:
|
107
106
|
- lib
|