obbistrano 1.0.79 → 1.0.80

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,11 +71,11 @@ Capistrano::Configuration.instance(:must_exist).load do
71
71
  task :init do
72
72
  puts "*** You need to specify a github login and token to run this operation" if !defined? "#{github_login}" || !defined? "#{github_token}"
73
73
  exit if !defined? "#{github_login}" || !defined? "#{github_token}"
74
- api = GithubApi.new("#{github_login}", "#{github_token}")
75
74
  end
76
75
 
77
76
  task :setup do
78
77
  init
78
+ api = GithubApi.new("#{github_login}", "#{github_token}")
79
79
  params = {
80
80
  :name =>"#{application}",
81
81
  :body =>"Project for #{application}",
@@ -92,6 +92,7 @@ Capistrano::Configuration.instance(:must_exist).load do
92
92
 
93
93
  task :key do
94
94
  init
95
+ api = GithubApi.new("#{github_login}", "#{github_token}")
95
96
  app:ssh_key
96
97
  server_ssh_key = capture("cat .ssh/id_rsa.pub")
97
98
  server_ssh_key
data/obbistrano.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.0.79"
5
+ s.version = "1.0.80"
6
6
  s.authors = ["Ross Riley", "One Black Bear"]
7
7
  s.date = Time.now
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obbistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.79
4
+ version: 1.0.80
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley