request 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 659e728980a525cde4d08464621497c10d27ff42
4
- data.tar.gz: 339eb62cd6700f52fff627b882f3aee9e880bf72
3
+ metadata.gz: 46a7dedfaca44462cf15a065baf99bd6151c8d16
4
+ data.tar.gz: f6d18d86a91036de0c670696676872098904d0e6
5
5
  SHA512:
6
- metadata.gz: b23eeb97ea84445e7dbbdf368587a6a416de474cfa1bbca5f51ffdc1c63fe46091f3bc63cb0ee39714a6ddc54021db5ded82e3bbd53a304800daa7fce244ca4e
7
- data.tar.gz: 07972b6564ea2a4850d4d0cf04c59e6539c6dbb6a9b447db2e40a8c783cf9e2fbd7808d733c1682cfbbc4dbf0471787377b70e0b7e6ec5f8d759e269406c6925
6
+ metadata.gz: 1ffd9623a17d53e803049398f3ab76aca930f4a305337d71d4eeada95d6fee413512feb59537de3e359448d20ab591cff6ba486486211bdd6531129e3d0534b3
7
+ data.tar.gz: 6c36f0e9484b7549871f37c27a0cd2709d2bf440bbb5f61a98e5456c4797baf75fd9b7affebd4fe2937d816d09f6f3f070dd971b52fb34c10be533b6f637b77f
@@ -1,13 +1,11 @@
1
1
  language: ruby
2
- script: 'bundle exec rake spec'
2
+ before_install: gem install bundler
3
+ script: bundle exec rake ci
3
4
  rvm:
4
- - 1.9.2
5
5
  - 1.9.3
6
6
  - 2.0.0
7
- - ruby-head
7
+ - 2.1.2
8
+ - rbx-2
8
9
  - jruby-19mode
9
- - jruby-head
10
- - rbx-19mode
11
10
  matrix:
12
- allow_failures:
13
- - rvm: ruby-head
11
+ allow_failures: rbx-2
@@ -1,47 +1,63 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  group :development do
4
- gem 'rake', '~> 10.1.0'
5
- gem 'rspec', '~> 2.14.1'
6
- gem 'yard', '~> 0.8.7'
4
+ gem 'rake', '~> 10.3.2'
5
+ gem 'rspec', '~> 3.0.0'
6
+ gem 'rspec-its', '~> 1.0.1'
7
+ gem 'yard', '~> 0.8.7.4'
8
+
9
+ platform :rbx do
10
+ gem 'rubysl-singleton', '~> 2.0.0'
11
+ end
7
12
  end
8
13
 
9
14
  group :yard do
10
- gem 'kramdown', '~> 1.1.0'
15
+ gem 'kramdown', '~> 1.3.3'
11
16
  end
12
17
 
13
18
  group :guard do
14
- gem 'guard', '~> 1.8.1'
15
- gem 'guard-bundler', '~> 1.0.0'
16
- gem 'guard-rspec', '~> 3.0.2'
17
- gem 'guard-rubocop', '~> 0.2.0'
18
- gem 'guard-mutant', '~> 0.0.1'
19
+ gem 'guard', '~> 2.6.1'
20
+ gem 'guard-bundler', '~> 2.0.0'
21
+ gem 'guard-rspec', '~> 4.2.9'
22
+ gem 'guard-rubocop', '~> 1.1.0'
19
23
 
20
24
  # file system change event handling
21
- gem 'listen', '~> 1.3.0'
25
+ gem 'listen', '~> 2.7.7'
22
26
  gem 'rb-fchange', '~> 0.0.6', require: false
23
- gem 'rb-fsevent', '~> 0.9.3', require: false
24
- gem 'rb-inotify', '~> 0.9.0', require: false
27
+ gem 'rb-fsevent', '~> 0.9.4', require: false
28
+ gem 'rb-inotify', '~> 0.9.5', require: false
25
29
 
26
30
  # notification handling
27
- gem 'libnotify', '~> 0.8.0', require: false
31
+ gem 'libnotify', '~> 0.8.3', require: false
28
32
  gem 'rb-notifu', '~> 0.0.4', require: false
29
33
  gem 'terminal-notifier-guard', '~> 1.5.3', require: false
30
34
  end
31
35
 
32
36
  group :metrics do
33
- gem 'coveralls', '~> 0.6.7'
34
- gem 'flay', '~> 2.4.0'
35
- gem 'flog', '~> 4.1.1'
36
- gem 'reek', '~> 1.3.2'
37
- gem 'rubocop', '~> 0.11.0'
37
+ gem 'coveralls', '~> 0.7.0'
38
+ gem 'flay', '~> 2.5.0'
39
+ gem 'flog', '~> 4.2.1'
40
+ gem 'reek', '~> 1.3.7'
41
+ gem 'rubocop', '~> 0.23.0'
38
42
  gem 'simplecov', '~> 0.7.1'
39
- gem 'yardstick', '~> 0.9.7', git: 'https://github.com/dkubb/yardstick.git'
43
+ gem 'yardstick', '~> 0.9.9'
44
+
45
+ platforms :mri do
46
+ gem 'mutant', '~> 0.6.0'
47
+ gem 'mutant-rspec', '~> 0.6.0'
48
+ end
40
49
 
41
50
  platforms :ruby_19, :ruby_20 do
42
- gem 'mutant', git: 'https://github.com/mbj/mutant.git'
43
51
  gem 'yard-spellcheck', '~> 0.1.5'
44
52
  end
53
+
54
+ platform :rbx do
55
+ gem 'json', '~> 1.8.1'
56
+ gem 'racc', '~> 1.4.11'
57
+ gem 'rubysl-logger', '~> 2.0.0'
58
+ gem 'rubysl-open-uri', '~> 2.0.0'
59
+ gem 'rubysl-prettyprint', '~> 2.0.3'
60
+ end
45
61
  end
46
62
 
47
63
  group :benchmarks do
@@ -50,6 +66,6 @@ end
50
66
 
51
67
  platform :jruby do
52
68
  group :jruby do
53
- gem 'jruby-openssl', '~> 0.8.5'
69
+ gem 'jruby-openssl', '~> 0.9.4'
54
70
  end
55
71
  end
@@ -0,0 +1,6 @@
1
+ machine:
2
+ ruby:
3
+ version: 2.0.0
4
+ test:
5
+ override:
6
+ - bundle exec rake ci
@@ -1,3 +1,4 @@
1
1
  ---
2
2
  name: request
3
3
  namespace: Request
4
+ expect_coverage: 55.75
@@ -2,12 +2,13 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'request'
5
- gem.version = '0.0.5'
5
+ gem.version = '0.0.6'
6
6
  gem.authors = [ 'Markus Schirp' ]
7
7
  gem.email = [ 'mbj@schirp-dso.com' ]
8
8
  gem.description = 'HTTP request porofication'
9
9
  gem.summary = gem.description
10
10
  gem.homepage = 'https://github.com/mbj/response'
11
+ gem.license = 'MIT'
11
12
 
12
13
  gem.require_paths = [ 'lib' ]
13
14
  gem.files = `git ls-files`.split("\n")
@@ -15,8 +16,8 @@ Gem::Specification.new do |gem|
15
16
  gem.extra_rdoc_files = %w[LICENSE README.md TODO]
16
17
 
17
18
  gem.add_dependency('concord', '~> 0.1.4')
18
- gem.add_dependency('ice_nine', '~> 0.9.0')
19
- gem.add_dependency('adamantium', '~> 0.1.0')
20
- gem.add_dependency('equalizer', '~> 0.0.7')
21
- gem.add_dependency('abstract_type', '~> 0.0.6')
19
+ gem.add_dependency('ice_nine', '~> 0.11.0')
20
+ gem.add_dependency('adamantium', '~> 0.2.0')
21
+ gem.add_dependency('equalizer', '~> 0.0.9')
22
+ gem.add_dependency('abstract_type', '~> 0.0.7')
22
23
  end
@@ -18,7 +18,14 @@ describe Request::Protocol, '.get' do
18
18
  context 'with "ftp"' do
19
19
  let(:input) { 'ftp' }
20
20
  it 'should raise error' do
21
- expect { subject }.to raise_error(KeyError, 'key not found: "ftp"')
21
+ # jruby has different message format
22
+ expectation =
23
+ begin
24
+ {}.fetch('ftp')
25
+ rescue KeyError => error
26
+ error
27
+ end
28
+ expect { subject }.to raise_error(KeyError, expectation.message)
22
29
  end
23
30
  end
24
31
  end
metadata CHANGED
@@ -1,85 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: request
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-15 00:00:00.000000000 Z
11
+ date: 2014-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.1.4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.1.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ice_nine
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.9.0
33
+ version: 0.11.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.9.0
40
+ version: 0.11.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: adamantium
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.1.0
47
+ version: 0.2.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.1.0
54
+ version: 0.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: equalizer
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.0.7
61
+ version: 0.0.9
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.0.7
68
+ version: 0.0.9
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: abstract_type
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.0.6
75
+ version: 0.0.7
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.0.6
82
+ version: 0.0.7
83
83
  description: HTTP request porofication
84
84
  email:
85
85
  - mbj@schirp-dso.com
@@ -90,10 +90,10 @@ extra_rdoc_files:
90
90
  - README.md
91
91
  - TODO
92
92
  files:
93
- - .circle.yml
94
- - .gitignore
95
- - .rspec
96
- - .travis.yml
93
+ - ".circle.yml"
94
+ - ".gitignore"
95
+ - ".rspec"
96
+ - ".travis.yml"
97
97
  - Changelog.md
98
98
  - Gemfile
99
99
  - Gemfile.devtools
@@ -102,6 +102,7 @@ files:
102
102
  - README.md
103
103
  - Rakefile
104
104
  - TODO
105
+ - circle.yml
105
106
  - config/devtools.yml
106
107
  - config/flay.yml
107
108
  - config/flog.yml
@@ -129,7 +130,8 @@ files:
129
130
  - spec/unit/request/rack/rack_env_spec.rb
130
131
  - spec/unit/request/rack/request_method_spec.rb
131
132
  homepage: https://github.com/mbj/response
132
- licenses: []
133
+ licenses:
134
+ - MIT
133
135
  metadata: {}
134
136
  post_install_message:
135
137
  rdoc_options: []
@@ -137,17 +139,17 @@ require_paths:
137
139
  - lib
138
140
  required_ruby_version: !ruby/object:Gem::Requirement
139
141
  requirements:
140
- - - '>='
142
+ - - ">="
141
143
  - !ruby/object:Gem::Version
142
144
  version: '0'
143
145
  required_rubygems_version: !ruby/object:Gem::Requirement
144
146
  requirements:
145
- - - '>='
147
+ - - ">="
146
148
  - !ruby/object:Gem::Version
147
149
  version: '0'
148
150
  requirements: []
149
151
  rubyforge_project:
150
- rubygems_version: 2.0.2
152
+ rubygems_version: 2.2.2
151
153
  signing_key:
152
154
  specification_version: 4
153
155
  summary: HTTP request porofication