hirefireapp 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -1
- data/bin/hirefireapp +1 -37
- data/hirefireapp.gemspec +1 -1
- data/lib/hirefireapp/cli.rb +44 -0
- metadata +5 -3
data/.gitignore
CHANGED
data/bin/hirefireapp
CHANGED
@@ -1,40 +1,4 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
2
|
|
3
|
-
require
|
3
|
+
require File.expand_path("../../lib/hirefireapp/cli", __FILE__)
|
4
4
|
|
5
|
-
def usage
|
6
|
-
puts
|
7
|
-
puts "Usage:"
|
8
|
-
puts
|
9
|
-
puts " hirefireapp http://mydomain.com/"
|
10
|
-
puts
|
11
|
-
puts "Or locally:"
|
12
|
-
puts
|
13
|
-
puts " gem install thin"
|
14
|
-
puts " [bundle exec] thin start -p 3000"
|
15
|
-
puts " hirefireapp http://127.0.0.1:3000/"
|
16
|
-
puts
|
17
|
-
puts "SSL Enabled URLs:"
|
18
|
-
puts
|
19
|
-
puts " hirefireapp https://mydomain.com/"
|
20
|
-
end
|
21
|
-
|
22
|
-
if (url = ARGV[0]).nil?
|
23
|
-
usage
|
24
|
-
else
|
25
|
-
begin
|
26
|
-
response = open(File.join(url, 'hirefireapp', 'test')).read
|
27
|
-
rescue
|
28
|
-
puts
|
29
|
-
puts "Could not connect to: #{url}"
|
30
|
-
usage
|
31
|
-
exit 1
|
32
|
-
end
|
33
|
-
|
34
|
-
if response =~ /HireFire/
|
35
|
-
puts response
|
36
|
-
else
|
37
|
-
puts "Could not find HireFireApp at #{url}."
|
38
|
-
exit 1
|
39
|
-
end
|
40
|
-
end
|
data/hirefireapp.gemspec
CHANGED
@@ -0,0 +1,44 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require "open-uri"
|
4
|
+
require "openssl"
|
5
|
+
|
6
|
+
OpenSSL::SSL.send(:remove_const, :VERIFY_PEER)
|
7
|
+
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
8
|
+
|
9
|
+
def usage
|
10
|
+
puts
|
11
|
+
puts "Usage:"
|
12
|
+
puts
|
13
|
+
puts " hirefireapp http://mydomain.com/"
|
14
|
+
puts
|
15
|
+
puts "Or locally:"
|
16
|
+
puts
|
17
|
+
puts " gem install thin"
|
18
|
+
puts " [bundle exec] thin start -p 3000"
|
19
|
+
puts " hirefireapp http://127.0.0.1:3000/"
|
20
|
+
puts
|
21
|
+
puts "SSL Enabled URLs:"
|
22
|
+
puts
|
23
|
+
puts " hirefireapp https://mydomain.com/"
|
24
|
+
end
|
25
|
+
|
26
|
+
if (url = ARGV[0]).nil?
|
27
|
+
usage
|
28
|
+
else
|
29
|
+
begin
|
30
|
+
response = open(File.join(url, "hirefireapp", "test")).read
|
31
|
+
rescue
|
32
|
+
puts
|
33
|
+
puts "Could not connect to: #{url}"
|
34
|
+
usage
|
35
|
+
exit 1
|
36
|
+
end
|
37
|
+
|
38
|
+
if response =~ /HireFire/
|
39
|
+
puts response
|
40
|
+
else
|
41
|
+
puts "Could not find HireFireApp at #{url}."
|
42
|
+
exit 1
|
43
|
+
end
|
44
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hirefireapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-02-13 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: HireFireApp.com - The Heroku Process Manager - Autoscaling your web and
|
15
15
|
worker dynos saving you time and money!
|
@@ -24,6 +24,7 @@ files:
|
|
24
24
|
- bin/hirefireapp
|
25
25
|
- hirefireapp.gemspec
|
26
26
|
- lib/hirefireapp.rb
|
27
|
+
- lib/hirefireapp/cli.rb
|
27
28
|
- lib/hirefireapp/middleware.rb
|
28
29
|
- lib/hirefireapp/railtie.rb
|
29
30
|
homepage: http://hirefireapp.com/
|
@@ -46,9 +47,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
46
47
|
version: '0'
|
47
48
|
requirements: []
|
48
49
|
rubyforge_project:
|
49
|
-
rubygems_version: 1.8.
|
50
|
+
rubygems_version: 1.8.15
|
50
51
|
signing_key:
|
51
52
|
specification_version: 3
|
52
53
|
summary: HireFireApp.com - The Heroku Process Manager - Autoscaling your web and worker
|
53
54
|
dynos!
|
54
55
|
test_files: []
|
56
|
+
has_rdoc:
|