agiley-faraday_middleware 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,46 @@
1
+ ## Contributing
2
+ In the spirit of [free software][free-sw], **everyone** is encouraged to help
3
+ improve this project.
4
+
5
+ [free-sw]: http://www.fsf.org/licensing/essays/free-sw.html
6
+
7
+ Here are some ways *you* can contribute:
8
+
9
+ * by using alpha, beta, and prerelease versions
10
+ * by reporting bugs
11
+ * by suggesting new features
12
+ * by writing or editing documentation
13
+ * by writing specifications
14
+ * by writing code (**no patch is too small**: fix typos, add comments, clean up
15
+ inconsistent whitespace)
16
+ * by refactoring code
17
+ * by fixing [issues][]
18
+ * by reviewing patches
19
+
20
+ [issues]: https://github.com/lostisland/faraday_middleware/issues
21
+
22
+ ## Submitting an Issue
23
+ We use the [GitHub issue tracker][issues] to track bugs and features. Before
24
+ submitting a bug report or feature request, check to make sure it hasn't
25
+ already been submitted. When submitting a bug report, please include a [Gist][]
26
+ that includes a stack trace and any details that may be necessary to reproduce
27
+ the bug, including your gem version, Ruby version, and operating system.
28
+ Ideally, a bug report should include a pull request with failing specs.
29
+
30
+ [gist]: https://gist.github.com/
31
+
32
+ ## Submitting a Pull Request
33
+ 1. [Fork the repository.][fork]
34
+ 2. [Create a topic branch.][branch]
35
+ 3. Add specs for your unimplemented feature or bug fix.
36
+ 4. Run `bundle exec rake spec`. If your specs pass, return to step 3.
37
+ 5. Implement your feature or bug fix.
38
+ 6. Run `bundle exec rake spec`. If your specs fail, return to step 5.
39
+ 7. Run `open coverage/index.html`. If your changes are not completely covered
40
+ by your tests, return to step 3.
41
+ 8. Add, commit, and push your changes.
42
+ 9. [Submit a pull request.][pr]
43
+
44
+ [fork]: http://help.github.com/fork-a-repo/
45
+ [branch]: http://learn.github.com/p/branching.html
46
+ [pr]: http://help.github.com/send-pull-requests/
data/README.md CHANGED
@@ -50,5 +50,5 @@ end
50
50
  ```
51
51
 
52
52
 
53
- [faraday]: https://github.com/technoweenie/faraday#readme
54
- [docs]: https://github.com/pengwynn/faraday_middleware/wiki
53
+ [faraday]: https://github.com/lostisland/faraday#readme
54
+ [docs]: https://github.com/lostisland/faraday_middleware/wiki
@@ -1,24 +1,23 @@
1
- require File.expand_path('../lib/faraday_middleware/version', __FILE__)
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'faraday_middleware/version'
2
5
 
3
- Gem::Specification.new do |gem|
4
- gem.add_dependency 'faraday', ['>= 0.7.4', '< 0.9']
5
- gem.add_development_dependency 'multi_xml', '~> 0.2'
6
- gem.add_development_dependency 'nokogiri', '~> 1.5.0'
7
- gem.add_development_dependency 'rake', '~> 0.9'
8
- gem.add_development_dependency 'hashie', '~> 1.2'
9
- gem.add_development_dependency 'rash', '~> 0.3'
10
- gem.add_development_dependency 'rspec', '~> 2.6'
11
- gem.add_development_dependency 'simple_oauth', '~> 0.1'
12
- gem.add_development_dependency 'rack-cache', '~> 1.1'
13
- gem.authors = ["Erik Michaels-Ober", "Wynn Netherland"]
14
- gem.description = %q{Various middleware for Faraday}
15
- gem.email = ['sferik@gmail.com', 'wynn.netherland@gmail.com']
16
- gem.files = `git ls-files`.split("\n")
17
- gem.homepage = 'https://github.com/pengwynn/faraday_middleware'
18
- gem.name = 'agiley-faraday_middleware'
19
- gem.require_paths = ['lib']
20
- gem.required_rubygems_version = Gem::Requirement.new('>= 1.3.6')
21
- gem.summary = gem.description
22
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
23
- gem.version = FaradayMiddleware::VERSION
24
- end
6
+ Gem::Specification.new do |spec|
7
+ spec.add_dependency 'faraday', ['>= 0.7.4', '< 0.9']
8
+ spec.add_development_dependency 'bundler', '~> 1.0'
9
+ spec.authors = ["Erik Michaels-Ober", "Wynn Netherland"]
10
+ spec.description = %q{Various middleware for Faraday}
11
+ spec.email = ['sferik@gmail.com', 'wynn.netherland@gmail.com']
12
+ spec.files = %w(CHANGELOG.md CONTRIBUTING.md LICENSE.md README.md Rakefile faraday_middleware.gemspec)
13
+ spec.files += Dir.glob("lib/**/*.rb")
14
+ spec.files += Dir.glob("spec/**/*")
15
+ spec.homepage = 'https://github.com/lostisland/faraday_middleware'
16
+ spec.licenses = ['MIT']
17
+ spec.name = 'agiley-faraday_middleware'
18
+ spec.require_paths = ['lib']
19
+ spec.required_rubygems_version = '>= 1.3.6'
20
+ spec.summary = spec.description
21
+ spec.test_files += Dir.glob("spec/**/*")
22
+ spec.version = FaradayMiddleware::VERSION
23
+ end
@@ -1,3 +1,3 @@
1
1
  module FaradayMiddleware
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1" unless defined?(FaradayMiddleware::VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agiley-faraday_middleware
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-19 00:00:00.000000000 Z
13
+ date: 2013-04-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday
@@ -35,13 +35,13 @@ dependencies:
35
35
  - !ruby/object:Gem::Version
36
36
  version: '0.9'
37
37
  - !ruby/object:Gem::Dependency
38
- name: multi_xml
38
+ name: bundler
39
39
  requirement: !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
43
43
  - !ruby/object:Gem::Version
44
- version: '0.2'
44
+ version: '1.0'
45
45
  type: :development
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,119 +49,7 @@ dependencies:
49
49
  requirements:
50
50
  - - ~>
51
51
  - !ruby/object:Gem::Version
52
- version: '0.2'
53
- - !ruby/object:Gem::Dependency
54
- name: nokogiri
55
- requirement: !ruby/object:Gem::Requirement
56
- none: false
57
- requirements:
58
- - - ~>
59
- - !ruby/object:Gem::Version
60
- version: 1.5.0
61
- type: :development
62
- prerelease: false
63
- version_requirements: !ruby/object:Gem::Requirement
64
- none: false
65
- requirements:
66
- - - ~>
67
- - !ruby/object:Gem::Version
68
- version: 1.5.0
69
- - !ruby/object:Gem::Dependency
70
- name: rake
71
- requirement: !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ~>
75
- - !ruby/object:Gem::Version
76
- version: '0.9'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- none: false
81
- requirements:
82
- - - ~>
83
- - !ruby/object:Gem::Version
84
- version: '0.9'
85
- - !ruby/object:Gem::Dependency
86
- name: hashie
87
- requirement: !ruby/object:Gem::Requirement
88
- none: false
89
- requirements:
90
- - - ~>
91
- - !ruby/object:Gem::Version
92
- version: '1.2'
93
- type: :development
94
- prerelease: false
95
- version_requirements: !ruby/object:Gem::Requirement
96
- none: false
97
- requirements:
98
- - - ~>
99
- - !ruby/object:Gem::Version
100
- version: '1.2'
101
- - !ruby/object:Gem::Dependency
102
- name: rash
103
- requirement: !ruby/object:Gem::Requirement
104
- none: false
105
- requirements:
106
- - - ~>
107
- - !ruby/object:Gem::Version
108
- version: '0.3'
109
- type: :development
110
- prerelease: false
111
- version_requirements: !ruby/object:Gem::Requirement
112
- none: false
113
- requirements:
114
- - - ~>
115
- - !ruby/object:Gem::Version
116
- version: '0.3'
117
- - !ruby/object:Gem::Dependency
118
- name: rspec
119
- requirement: !ruby/object:Gem::Requirement
120
- none: false
121
- requirements:
122
- - - ~>
123
- - !ruby/object:Gem::Version
124
- version: '2.6'
125
- type: :development
126
- prerelease: false
127
- version_requirements: !ruby/object:Gem::Requirement
128
- none: false
129
- requirements:
130
- - - ~>
131
- - !ruby/object:Gem::Version
132
- version: '2.6'
133
- - !ruby/object:Gem::Dependency
134
- name: simple_oauth
135
- requirement: !ruby/object:Gem::Requirement
136
- none: false
137
- requirements:
138
- - - ~>
139
- - !ruby/object:Gem::Version
140
- version: '0.1'
141
- type: :development
142
- prerelease: false
143
- version_requirements: !ruby/object:Gem::Requirement
144
- none: false
145
- requirements:
146
- - - ~>
147
- - !ruby/object:Gem::Version
148
- version: '0.1'
149
- - !ruby/object:Gem::Dependency
150
- name: rack-cache
151
- requirement: !ruby/object:Gem::Requirement
152
- none: false
153
- requirements:
154
- - - ~>
155
- - !ruby/object:Gem::Version
156
- version: '1.1'
157
- type: :development
158
- prerelease: false
159
- version_requirements: !ruby/object:Gem::Requirement
160
- none: false
161
- requirements:
162
- - - ~>
163
- - !ruby/object:Gem::Version
164
- version: '1.1'
52
+ version: '1.0'
165
53
  description: Various middleware for Faraday
166
54
  email:
167
55
  - sferik@gmail.com
@@ -170,17 +58,12 @@ executables: []
170
58
  extensions: []
171
59
  extra_rdoc_files: []
172
60
  files:
173
- - .gemtest
174
- - .gitignore
175
- - .rspec
176
- - .travis.yml
177
61
  - CHANGELOG.md
178
- - Gemfile
62
+ - CONTRIBUTING.md
179
63
  - LICENSE.md
180
64
  - README.md
181
65
  - Rakefile
182
66
  - faraday_middleware.gemspec
183
- - lib/faraday_middleware.rb
184
67
  - lib/faraday_middleware/addressable_patch.rb
185
68
  - lib/faraday_middleware/backwards_compatibility.rb
186
69
  - lib/faraday_middleware/instrumentation.rb
@@ -204,6 +87,7 @@ files:
204
87
  - lib/faraday_middleware/response/rashify.rb
205
88
  - lib/faraday_middleware/response_middleware.rb
206
89
  - lib/faraday_middleware/version.rb
90
+ - lib/faraday_middleware.rb
207
91
  - spec/caching_test.rb
208
92
  - spec/chunked_spec.rb
209
93
  - spec/encode_json_spec.rb
@@ -219,8 +103,9 @@ files:
219
103
  - spec/parse_xml_spec.rb
220
104
  - spec/parse_yaml_spec.rb
221
105
  - spec/rashify_spec.rb
222
- homepage: https://github.com/pengwynn/faraday_middleware
223
- licenses: []
106
+ homepage: https://github.com/lostisland/faraday_middleware
107
+ licenses:
108
+ - MIT
224
109
  post_install_message:
225
110
  rdoc_options: []
226
111
  require_paths:
data/.gemtest DELETED
File without changes
data/.gitignore DELETED
@@ -1,33 +0,0 @@
1
- # Mac OS X
2
- .DS_Store
3
-
4
- # RVM
5
- .rvmrc
6
-
7
- # TextMate
8
- *.tmproj
9
- tmtags
10
-
11
- # emails
12
- *~
13
- \#*
14
- .\#*
15
-
16
- # vim
17
- *.swp
18
-
19
- # General
20
- coverage
21
- rdoc
22
- doc
23
- log
24
- .yardoc
25
- tmp
26
-
27
- # Bundler
28
- .bundle
29
- Gemfile.lock
30
- pkg
31
-
32
- # Rubinius
33
- *.rbc
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --color
2
- --fail-fast
3
- --order random
@@ -1,10 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - rbx-18mode
4
- - rbx-19mode
5
- - jruby-18mode
6
- - jruby-19mode
7
- - 1.8.7
8
- - 1.9.2
9
- - 1.9.3
10
- - ruby-head
data/Gemfile DELETED
@@ -1,11 +0,0 @@
1
- source 'http://rubygems.org'
2
-
3
- platforms :mri_19 do
4
- gem 'simplecov'
5
- gem 'cane', '~> 2.2.2'
6
- end
7
-
8
- gem 'json', :platforms => [:ruby_18, :jruby]
9
- gem 'jruby-openssl', '~> 0.7', :platforms => :jruby
10
-
11
- gemspec