mobi_check_in 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.mobi_check_in.yml +1 -0
- data/lib/mobi_check_in/version.rb +1 -1
- data/lib/mobi_check_in.rb +4 -1
- metadata +2 -1
data/.mobi_check_in.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
push_command: 'git pp'
|
data/lib/mobi_check_in.rb
CHANGED
@@ -66,8 +66,11 @@ module MobiCheckIn
|
|
66
66
|
|
67
67
|
def self.push_command
|
68
68
|
if File::exists? '.mobi_check_in.yml'
|
69
|
-
|
69
|
+
config_file = File.read('.mobi_check_in.yml')
|
70
|
+
push command = YAML::load(config_file)["push_command"]
|
71
|
+
return system(push_command) if push_command
|
70
72
|
end
|
73
|
+
standard_push
|
71
74
|
end
|
72
75
|
|
73
76
|
def self.standard_push
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobi_check_in
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -22,6 +22,7 @@ extensions: []
|
|
22
22
|
extra_rdoc_files: []
|
23
23
|
files:
|
24
24
|
- .gitignore
|
25
|
+
- .mobi_check_in.yml
|
25
26
|
- Gemfile
|
26
27
|
- LICENSE.txt
|
27
28
|
- README.md
|