instapusher 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb164207d44831cca82b6c868884d2e7ae3f0737
4
- data.tar.gz: 86af2939b6515d88dae3af1bcf3f6944702eb5ff
3
+ metadata.gz: 8d2d1ee9ba82bc77c8f8498e2d37025d39654d67
4
+ data.tar.gz: 33a4da2628bf95cd8033bf516c18ce7557895e78
5
5
  SHA512:
6
- metadata.gz: 5f45af578cf79eaed86171c6ced826d79b992256865033e9c3eb24305f293524523c0e319d14e9459a107b8ed6ba998c5c723690be243f8b4e9697626779112a
7
- data.tar.gz: fd5321b6f9edf239d86ac0d5c1b2b622e76e8250dfc733f783610cf08fc9295e483db3c7b040dc167094fc9e24f03469dbdf0f6f30f36f02180e35fa9c967c22
6
+ metadata.gz: fcf6faf925bb70c237d5775826960462eb94990c7174ed1eebd39d70a9a021a5d2dd5b6a84d5c8660e3f1b187e76f20365155d12dac04467efbfb50c743b1e5e
7
+ data.tar.gz: 0ba780cd739c502d5f57cd8e75691f63cdcc2dee750b161ada5c9c19183374c2a1d9f56920a8dacbbcccb28e1b4810ff7e4ac6412a7a64d2524f627da4698b57
@@ -5,12 +5,11 @@ require 'uri'
5
5
  module Instapusher
6
6
  class Commands
7
7
 
8
- attr_reader :debug, :api_key, :branch_name, :project_name
8
+ attr_reader :debug, :api_key, :branch_name, :project_name, :staging
9
9
 
10
10
  def initialize init_options = {}
11
11
  @debug = init_options[:debug]
12
- @quick = init_options[:quick]
13
- @local = init_options[:local]
12
+ @staging = init_options[:staging]
14
13
 
15
14
  git = Git.new
16
15
  @branch_name = init_options[:project_name] || ENV['INSTAPUSHER_BRANCH'] || git.current_branch
@@ -39,8 +38,8 @@ module Instapusher
39
38
  { project: project_name,
40
39
  branch: branch_name,
41
40
  owner: Git.new.repo_owner,
42
- local: @local,
43
41
  version: VERSION,
42
+ staging: @staging,
44
43
  api_key: api_key }
45
44
  end
46
45
  end
@@ -1,3 +1,3 @@
1
1
  module Instapusher
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instapusher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neeraj Singh