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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b0d4d0ce79153bb63a8021f3e6231f3ef5697e0
4
- data.tar.gz: 13b82d491643f6a0a1ea294514c7ffdb74932fd4
3
+ metadata.gz: 6b6d1b7919ad00512c715d17657261117a9b0cec
4
+ data.tar.gz: 50f9a070e31e3632489844c2b3962a17f9d0fefb
5
5
  SHA512:
6
- metadata.gz: 13d53d74b521c173b5b5f2a3249985bed60d32da97de3c0f4bc137b26d7e681b7f8942e8ca2011d8fd333907528303543cdf172b3cc3a5c90be9325ad6f265d9
7
- data.tar.gz: 925fe1c97efeac181650bf1cfb4dbb00ef3ba38fd58ed35954e356a58ac3eda5b6b48cfe6415a4cc293ff59345b9b625192911c53b09ea822c0eb79a0ec5ebea
6
+ metadata.gz: 0e894bb35e7fb60d41276512289ec76b021c24f32d8473e02d09c114fbd9a6030ebe3d0e53bde8d0ddadd7979862fbb1a181d5df8f754d1ffcd025709ce13c51
7
+ data.tar.gz: 62db7962c0258f55ab3dc105dccf6daf401d3c9a052ca9b34daaadf1f14cc320543d562c8fe77aa8c659f3e1b4008650bab56bfc4f05250f201e814c66bbcbf3
@@ -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
@@ -1,4 +1,4 @@
1
1
  module HttpStatusTask
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  require 'http_status_task/engine' if defined?(Rails)
4
4
  end
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.1
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-05 00:00:00.000000000 Z
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