mobi_check_in 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module MobiCheckIn
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/mobi_check_in.rb CHANGED
@@ -24,7 +24,6 @@ module MobiCheckIn
24
24
  begin
25
25
  $stdout.write "Story number (NA) [#{story_number}]: "
26
26
  input = $stdin.gets.strip
27
- input = "MOBI-#{input}" if input =~ /^\d*$/
28
27
  story_number = input unless input.empty?
29
28
  end until !story_number.empty?
30
29
 
@@ -35,6 +34,7 @@ module MobiCheckIn
35
34
  if story_number.delete("/").downcase == "na"
36
35
  commit_message = ""
37
36
  else
37
+ story_numbe = "MOBI-#{story_number}" if story_number =~ /^\d*$/
38
38
  commit_message = "#{story_number} - #{pair_names} - "
39
39
  end
40
40
 
@@ -61,20 +61,7 @@ module MobiCheckIn
61
61
  puts Git.local_commits
62
62
  puts "*******"
63
63
  puts "Shoving..."
64
- push_command
65
- end
66
-
67
- def self.push_command
68
- if File::exists? '.mobi_check_in.yml'
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
72
- end
73
- standard_push
74
- end
75
-
76
- def self.standard_push
77
- system("git push")
64
+ system("git sc")
78
65
  end
79
66
 
80
67
  def self.push_and_test
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.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: