submodule 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/submodule.rb CHANGED
@@ -19,14 +19,9 @@ module Submodule
19
19
 
20
20
  gitmodules = IniFile.new('./.gitmodules').to_h
21
21
  @path = gitmodules[gitmodules.keys.first]["path"]
22
- @submodule_name = gitmodules.keys.first
23
- .gsub('submodule ', '')
24
- .gsub('"', '')
25
- .gsub('vendor/', '')
26
- @github = gitmodules[gitmodules.keys.first]["url"]
27
- .gsub('https://github.com/', '')
28
- .gsub('.git', '')
29
- define
22
+ @submodule_name = gitmodules.keys.first.gsub('submodule ', '').gsub('"', '').gsub('vendor/', '')
23
+ @github = gitmodules[gitmodules.keys.first]["url"].gsub('https://github.com/', '').gsub('.git', '')
24
+ define
30
25
  end
31
26
 
32
27
  def test
@@ -1,3 +1,3 @@
1
1
  module Submodule
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - stereobooster