mafia 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mafia.rb +7 -7
- data/lib/version.rb +1 -1
- metadata +3 -3
data/lib/mafia.rb
CHANGED
@@ -83,20 +83,20 @@ module Mafia
|
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
-
def
|
86
|
+
def initalize_git_repo
|
87
87
|
target = File.join(Dir.pwd, name)
|
88
|
-
say "\n\
|
88
|
+
say "\n\nInitializating git repo in #{target}", :yellow
|
89
89
|
Dir.chdir(target) {
|
90
|
-
run "
|
90
|
+
run "git init", :verbose => false
|
91
|
+
run "git add .", :verbose => false
|
91
92
|
}
|
92
93
|
end
|
93
94
|
|
94
|
-
def
|
95
|
+
def run_bundle_command
|
95
96
|
target = File.join(Dir.pwd, name)
|
96
|
-
say "\n\
|
97
|
+
say "\n\nRunning Bundler", :yellow
|
97
98
|
Dir.chdir(target) {
|
98
|
-
run "
|
99
|
-
run "git add .", :verbose => false
|
99
|
+
run "bundle install", :verbose => false
|
100
100
|
}
|
101
101
|
end
|
102
102
|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mafia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- George Drummond
|