lib/instapusher2/commands.rb in instapusher2-0.0.7 vs lib/instapusher2/commands.rb in instapusher2-0.0.8
- old
+ new
@@ -37,12 +37,12 @@
def options
@options ||= begin
{ project: project_name,
branch: branch_name,
owner: Git.new.repo_owner,
- quick: @quick,
local: @local,
+ version: VERSION,
api_key: api_key }
end
end
def verify_api_key
@@ -57,9 +57,13 @@
end
end
def production?
branch_name.intern == :production
+ end
+
+ def staging?
+ branch_name.intern == :staging
end
end
end