space2underscore 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +7 -0
- data/bin/s2u +1 -1
- data/bin/space2underscore +1 -1
- data/lib/space2underscore/version.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: 6f3b7d4e7f299a37490567b9134d31dc3dabb478
|
4
|
+
data.tar.gz: '08a2149378b48a5acfdee8a7112e4b993d4a0f2f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3192dc420fd42e3dac0b155736df3364fd4ed5dea5ed2758b5dfaf894541e2bc76f8a68ede0d6b18d846a6e8a7c4dc07ef65b9054100cd1795f23e41a99963b3
|
7
|
+
data.tar.gz: 8555418048a5df8fa0705d0920b779f0cf282b3cb70c158cd50399567ad88bc52c87c355440332f4211b4163239ed34b9c2f7d00f6b0ab1aa0dbd366e5e1ee53
|
data/Rakefile
CHANGED
@@ -5,6 +5,13 @@ require 'rspec/core/rake_task'
|
|
5
5
|
|
6
6
|
RSpec::Core::RakeTask.new(:spec)
|
7
7
|
|
8
|
+
gem_helper = Bundler::GemHelper.new
|
9
|
+
|
10
|
+
desc "Create tag #{gem_helper.send(:version_tag)}"
|
11
|
+
task :tag do
|
12
|
+
gem_helper.send(:tag_version) unless gem_helper.send(:already_tagged?)
|
13
|
+
end
|
14
|
+
|
8
15
|
task default: :spec
|
9
16
|
|
10
17
|
namespace :spec do
|
data/bin/s2u
CHANGED
@@ -1 +1 @@
|
|
1
|
-
space2underscore
|
1
|
+
bin/space2underscore
|
data/bin/space2underscore
CHANGED
@@ -12,7 +12,7 @@ underscore_include_sentence = Space2underscore.convert(args)
|
|
12
12
|
|
13
13
|
return puts Space2underscore.usage if ARGV.empty?
|
14
14
|
|
15
|
-
if convert_flag.
|
15
|
+
if convert_flag.empty?
|
16
16
|
puts underscore_include_sentence
|
17
17
|
else
|
18
18
|
Space2underscore.create_new_branch(underscore_include_sentence)
|
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.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sachin21
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
146
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.
|
147
|
+
rubygems_version: 2.6.8
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Change the space into underscore
|