herokuise 0.8.1 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -2,4 +2,3 @@ Manifest
2
2
  README.md
3
3
  Rakefile
4
4
  bin/herokuise
5
- herokise.gemspec
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('herokuise', '0.8.1') do |p|
5
+ Echoe.new('herokuise', '0.8.3') do |p|
6
6
  p.description = "automate getting a site on heroku and git"
7
7
  p.url = "http://github.com/orta/herokuise"
8
8
  p.author = "orta therox"
data/bin/herokuise CHANGED
@@ -1,16 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
-
3
2
  require 'open-uri'
4
3
 
5
4
  appname = ARGV[0]
6
-
7
- # later add domains
8
- #domain_name = ARGV[1]
9
-
10
- if !appname
5
+ if !appname
11
6
  puts" Usage: herokuise [appname] - this will create a github repo and set up a sinatra app serving static content on heroku"
12
7
  appname = "nellbot"
13
- # Process.exit
8
+ Process.exit
14
9
  end
15
10
 
16
11
  github_user = `git config --global github.user`
@@ -20,12 +15,14 @@ if github_user == ""
20
15
  Process.exit
21
16
  end
22
17
 
23
- if open("http://#{appname}.heroku.com/", "User-Agent" => "Ruby/#{RUBY_VERSION}").include? "No such app"
24
- puts "Heroku app http://#{appname}.heroku.com already exists"
25
- Process.exit
26
- end
18
+ begin
19
+ if open("http://#{appname}.heroku.com/", "User-Agent" => "Ruby/#{RUBY_VERSION}").include? "No such app"
20
+ puts "Heroku app http://#{appname}.heroku.com already exists"
21
+ Process.exit
22
+ end
23
+ rescue
27
24
 
28
- Process.exit
25
+ end
29
26
 
30
27
  #kill the old folder if it exists
31
28
  if File.exists? appname
@@ -88,5 +85,4 @@ puts "Pushing to Heroku"
88
85
 
89
86
  `git push heroku master`
90
87
 
91
-
92
88
  `heroku open`
data/herokuise.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{herokuise}
5
- s.version = "0.8.1"
5
+ s.version = "0.8.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["orta therox"]
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.email = %q{orta.therox@gmail.com}
13
13
  s.executables = ["herokuise"]
14
14
  s.extra_rdoc_files = ["README.md", "bin/herokuise"]
15
- s.files = ["Manifest", "README.md", "Rakefile", "bin/herokuise", "herokise.gemspec", "herokuise.gemspec"]
15
+ s.files = ["Manifest", "README.md", "Rakefile", "bin/herokuise", "herokuise.gemspec"]
16
16
  s.homepage = %q{http://github.com/orta/herokuise}
17
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Herokuise", "--main", "README.md"]
18
18
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: herokuise
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 57
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 1
10
- version: 0.8.1
9
+ - 3
10
+ version: 0.8.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - orta therox
@@ -60,7 +60,6 @@ files:
60
60
  - README.md
61
61
  - Rakefile
62
62
  - bin/herokuise
63
- - herokise.gemspec
64
63
  - herokuise.gemspec
65
64
  has_rdoc: true
66
65
  homepage: http://github.com/orta/herokuise
data/herokise.gemspec DELETED
@@ -1,52 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{herokise}
5
- s.version = "0.8.1"
6
-
7
- s.default_executable
8
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
9
- s.authors = ["orta therox"]
10
- s.date = %q{2010-09-03}
11
- s.description = %q{automate getting a site on heroku and git}
12
- s.email = %q{orta.therox@gmail.com}
13
- s.files = ["Rakefile", "herokise.rb", "Manifest", "herokise.gemspec"]
14
- s.homepage = %q{http://github.com/orta/herokuise}
15
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Herokise"]
16
- s.require_paths = ["lib"]
17
- s.rubyforge_project = %q{herokise}
18
- s.rubygems_version = %q{1.3.7}
19
- s.summary = %q{automate getting a site on heroku and git}
20
- s.executables = "herokise"
21
- s.post_install_message = %q{
22
- ========================================================================
23
-
24
-
25
- Awesome beanz!
26
-
27
- To create a new site, find your way to the parent directory and run
28
-
29
- herokuise [name]
30
-
31
- This will create a repo in your github account, and create a heroku
32
- app, make sure both of the gems are setup
33
-
34
-
35
- ========================================================================
36
- }
37
- if s.respond_to? :specification_version then
38
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
39
- s.specification_version = 3
40
-
41
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
42
- s.add_development_dependency(%q<github>, [">= 0"])
43
- s.add_development_dependency(%q<heroku>, [">= 0"])
44
- else
45
- s.add_dependency(%q<github>, [">= 0"])
46
- s.add_dependency(%q<heroku>, [">= 0"])
47
- end
48
- else
49
- s.add_dependency(%q<github>, [">= 0"])
50
- s.add_dependency(%q<heroku>, [">= 0"])
51
- end
52
- end