ruboty-http_status 0.2.1 → 0.2.3

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: 2bf81b097a9a1cf5475d31bbc02eb70f4b0b5206
4
- data.tar.gz: 97ff7b34ad84f88c4af720bee958f6144004826e
3
+ metadata.gz: 27b2cfa7dadf4c49df10cd04dcebca19457d6342
4
+ data.tar.gz: d0d7ae51e88324c6579a192d12f6031c2afcece8
5
5
  SHA512:
6
- metadata.gz: af24dce20d2b1a5c38ffcc4834d2f6943c0e0aaaff2e382ae0e8266684c6857ab7f2a2cdcf3694dc0af21fd56ddd3892bc9f7b7ed6342e83e5e4e7acb858a26f
7
- data.tar.gz: 651ad51ffc12d923bd36b28e4239aa68f7b0eaffcb27abe185d976f7b0d608add2d60eca114fb63441dd4f0f739d55aded3d005020b0eef96b7fc903c77484a6
6
+ metadata.gz: 3de3f6eca0c1347660a2aeae8824183903f4c8e36bdffe1fe94534ac0d630396b8c12845d4fff8b222ab446478df686852706472e546c014dfae7bf526da3440
7
+ data.tar.gz: ec909d96a81f486b85fbf8021bea74927850d99659773803bcbb36c0ad9beb3024d911a66f119e9b90953cc33f7588b7e35cda85cabdf06282bdc71a65eaad99
data/.travis.yml CHANGED
@@ -3,6 +3,5 @@ rvm:
3
3
  - 2.0.0
4
4
  - 2.1
5
5
  - 2.2
6
- - ruby-head
7
6
  before_install: gem update bundler
8
7
  script: rake test
@@ -17,7 +17,7 @@ module Ruboty
17
17
  end
18
18
 
19
19
  def result
20
- `curl -sS #{url}`
20
+ `curl -sS -I #{url} | head -1 | cut -d' ' -f2-`.chomp
21
21
  end
22
22
 
23
23
  def url
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module HttpStatus
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-http_status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro OKUMURA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-25 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboty
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  requirements: []
150
150
  rubyforge_project:
151
- rubygems_version: 2.4.5.1
151
+ rubygems_version: 2.5.1
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: 'Ruboty plugin: Display HTTP Status Codes'