http_status_task 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/http_status +17 -0
- data/lib/http_status_task.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b6d1b7919ad00512c715d17657261117a9b0cec
|
4
|
+
data.tar.gz: 50f9a070e31e3632489844c2b3962a17f9d0fefb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e894bb35e7fb60d41276512289ec76b021c24f32d8473e02d09c114fbd9a6030ebe3d0e53bde8d0ddadd7979862fbb1a181d5df8f754d1ffcd025709ce13c51
|
7
|
+
data.tar.gz: 62db7962c0258f55ab3dc105dccf6daf401d3c9a052ca9b34daaadf1f14cc320543d562c8fe77aa8c659f3e1b4008650bab56bfc4f05250f201e814c66bbcbf3
|
data/bin/http_status
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'rake'
|
4
|
+
|
5
|
+
rake_task_path = File.expand_path('../../lib/tasks', __FILE__)
|
6
|
+
Dir[rake_task_path + '/*.rake'].sort.each { |f| load f }
|
7
|
+
|
8
|
+
begin
|
9
|
+
if ARGV.size == 0
|
10
|
+
Rake::Task['http:status'].execute
|
11
|
+
else
|
12
|
+
Rake::Task["http:status:#{ARGV[0]}"].execute
|
13
|
+
end
|
14
|
+
rescue RuntimeError => e
|
15
|
+
puts e.message
|
16
|
+
exit!
|
17
|
+
end
|
data/lib/http_status_task.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http_status_task
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- muryoimpl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -69,7 +69,8 @@ dependencies:
|
|
69
69
|
description: This gem add rake tasks which print http status codes.
|
70
70
|
email:
|
71
71
|
- muryoimpl@gmail.com
|
72
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- http_status
|
73
74
|
extensions: []
|
74
75
|
extra_rdoc_files: []
|
75
76
|
files:
|
@@ -78,6 +79,7 @@ files:
|
|
78
79
|
- LICENSE.txt
|
79
80
|
- README.md
|
80
81
|
- Rakefile
|
82
|
+
- bin/http_status
|
81
83
|
- http_status_task.gemspec
|
82
84
|
- lib/http_status_task.rb
|
83
85
|
- lib/http_status_task/engine.rb
|