restclient_communicator 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +89 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/restclient_communicator.rb +129 -0
- data/lib/restclient_communicator/version.rb +3 -0
- data/restclient_communicator.gemspec +48 -0
- metadata +142 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e37da0912daf6fb6c5e5b3e4afe2d4ba7e35bb12
|
4
|
+
data.tar.gz: 5f752e7740716b1ac3e66d405f896d22267ab31a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d2974c06eb13034ca26e4357602172c9d646d9d2ddb618f11cb9b9461db02b6c3a954367395eaf11a6c3ce605556a1208365d30f9552bcbe972edb02907afb57
|
7
|
+
data.tar.gz: 154ccc67aec122bba45240f84b11c11656aa4f3a8b735f3256c729b756655c10505456f5f213099ceece74264ad0cd8660adbe982bfd811611a19a776802de0f
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at TODO: Write your email address. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 TODO: Write your name
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
# RestclientCommunicator
|
2
|
+
|
3
|
+
Hilfsklasse zur Kommunikation mit der Gem [rest_client](https://github.com/rest-client/rest-client)
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'restclient_communicator',:git => 'https://github.com/olafkaderka/restclient_communicator.git', :branch => 'master'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install restclient_communicator
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
**new_connect = RestclientCommunicator::Communication.new(url)**
|
24
|
+
|
25
|
+
Das object new_connect hat dann folgende attribute:
|
26
|
+
* :errorcode
|
27
|
+
* :response,
|
28
|
+
* :http_code,
|
29
|
+
* :body,
|
30
|
+
* :options
|
31
|
+
|
32
|
+
Vom Prinzip ist bei einem erfolgreichen :get
|
33
|
+
* new_connect.errorcode.nil?
|
34
|
+
* new_connect.body => das ergebnis was man weiter verbeiten kann zb mit JSON.parse(new_connect.body)
|
35
|
+
* if new_connect.errorcode.nil? and body = new_connect.body ....
|
36
|
+
|
37
|
+
|
38
|
+
Es werden zahlreiche Fehler abgefangen und man kann das Verhalten auch ändern durch optionen die man als Hash übergeben kann.
|
39
|
+
Folgende Werte sind automatisch gesetzt:
|
40
|
+
* :method => :get
|
41
|
+
* :open_timeout => 5
|
42
|
+
* :read_timeout => 5,
|
43
|
+
* :max_redirects => 1 (#for result codes 301, 302 or 307, the redirection will be followed if the request is a GET or a HEAD)
|
44
|
+
|
45
|
+
Es werdenn alle Werte die als Hash übergeben werden 1:1 an die Funktion RestClient::Request.execute weitergeben siehe [rest_client](https://github.com/rest-client/rest-client)
|
46
|
+
So kann man u.a. auch Authorierungs parameter , Headerparameter etc übergeben.
|
47
|
+
|
48
|
+
**new_connect = RestclientCommunicator::Communication.new(url, {:user => xxxx, :password => xxxx)**
|
49
|
+
* Authorisierung (fals erforderlich)
|
50
|
+
|
51
|
+
**new_connect = RestclientCommunicator::Communication.new(url, {:max_redirects => 0})**
|
52
|
+
* bewirkt zb das bei einem 301,302, oder 307 nicht automatisch der neuen url gefolgt wird und ein Errorcode ausgegeben wird
|
53
|
+
|
54
|
+
**new_connect = RestclientCommunicator::Communication.new(url, {:open_timeout => 1, :read_timeout => 30)**
|
55
|
+
* bewirkt zb das bereits nach 1 Sekunde das timeout erreicht ist zum öffnen der Verbindung, aber erst nach 30 Sekunden der response
|
56
|
+
|
57
|
+
|
58
|
+
Weitere Funktionen siehe in des rspec Tests unter https://github.com/olafkaderka/restclient_communicator/blob/master/spec/restclient_communicator_spec.rb
|
59
|
+
|
60
|
+
## Errorcodes
|
61
|
+
* "CE9901": Kommunikationsfehler Unauthorized
|
62
|
+
* "CE9902": Kommunikationsfehler Forbidden
|
63
|
+
* "CE9903": Kommunikationsfehler ImATeapot
|
64
|
+
* "CE9904": Kommunikationsfehler Not Found
|
65
|
+
* "CE9905": Kommunikationsfehler Timeout
|
66
|
+
* "CE9906": Kommunikationsfehler Broking Connection
|
67
|
+
* "CE9907": Kommunikationsfehler SSLCertificate nicht verifiziert
|
68
|
+
* "CE9908": Kommunikationsfehler PayloadTooLarge
|
69
|
+
* "CE9909": Kommunikationsfehler RequestURITooLong
|
70
|
+
* "CE9910": Kommunikationsfehler RequestedRangeNotSatisfiable
|
71
|
+
* "CE9999": Url Fehler
|
72
|
+
|
73
|
+
## Development
|
74
|
+
|
75
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
76
|
+
|
77
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
78
|
+
|
79
|
+
## Contributing
|
80
|
+
|
81
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/olafkaderka/restclient_communicator. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
82
|
+
|
83
|
+
## License
|
84
|
+
|
85
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
86
|
+
|
87
|
+
## Code of Conduct
|
88
|
+
|
89
|
+
Everyone interacting in the RestclientCommunicator project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/olafkaderka/restclient_communicator/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "restclient_communicator"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
require "restclient_communicator/version"
|
2
|
+
require 'active_support'
|
3
|
+
require 'active_support/core_ext'
|
4
|
+
require 'addressable'
|
5
|
+
require 'rest_client'
|
6
|
+
|
7
|
+
module RestclientCommunicator
|
8
|
+
# Your code goes here...
|
9
|
+
class Communication
|
10
|
+
|
11
|
+
attr_accessor :errorcode, :response, :http_code, :body, :options, :file
|
12
|
+
|
13
|
+
VALID_SCHEMES = ["http","https"]
|
14
|
+
|
15
|
+
def initialize(url, options={})
|
16
|
+
return if url.blank?
|
17
|
+
default_options = {
|
18
|
+
:method => :get,
|
19
|
+
:open_timeout => 5,
|
20
|
+
:read_timeout => 5,
|
21
|
+
:max_redirects => 1,
|
22
|
+
:raw_response => false,
|
23
|
+
}
|
24
|
+
@options = options.reverse_merge(default_options)
|
25
|
+
@errorcode, @response, @http_code, @body, @file = nil
|
26
|
+
self.check_url(url)
|
27
|
+
end
|
28
|
+
|
29
|
+
def check_url(url)
|
30
|
+
begin
|
31
|
+
|
32
|
+
new_url = Addressable::URI.parse(url)
|
33
|
+
#muss ich jetztz bereinigen, da dieser wert 1:1 an restclient geht
|
34
|
+
if new_url
|
35
|
+
|
36
|
+
if !VALID_SCHEMES.include? new_url.scheme
|
37
|
+
@errorcode = "CE9991"
|
38
|
+
return
|
39
|
+
end
|
40
|
+
|
41
|
+
options[:url] = new_url.normalize.to_str
|
42
|
+
self.start
|
43
|
+
else
|
44
|
+
@errorcode = "CE9993"
|
45
|
+
end
|
46
|
+
rescue Addressable::URI::TypeError, Addressable::URI::NoMethodError, Addressable::URI::InvalidURIError => e
|
47
|
+
@errorcode = "CE9999"
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
def start
|
52
|
+
begin
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
#for result codes between 200 and 207, a RestClient::Response will be returned
|
57
|
+
#for result codes 301, 302 or 307, the redirection will be followed if the request is a GET or a HEAD
|
58
|
+
#for result code 303, the redirection will be followed and the request transformed into a GET
|
59
|
+
#for other cases, a RestClient::ExceptionWithResponse holding the Response will be raised; a specific exception class will be thrown for known error codes
|
60
|
+
#call .response on the exception to get the server's response
|
61
|
+
@response = RestClient::Request.execute(**@options)
|
62
|
+
@http_code = @response.code
|
63
|
+
case @http_code
|
64
|
+
when 200,207
|
65
|
+
|
66
|
+
#https://github.com/rest-client/rest-client/blob/master/lib/restclient/raw_response.rb
|
67
|
+
#In addition, if you do not use the response as a string, you can access
|
68
|
+
#a Tempfile object at res.file, which contains the path to the raw
|
69
|
+
#downloaded request body.
|
70
|
+
if @options[:raw_response]
|
71
|
+
@file = @response.file
|
72
|
+
else
|
73
|
+
@body = @response.body
|
74
|
+
end
|
75
|
+
else
|
76
|
+
case @options[:method]
|
77
|
+
when :get, :head
|
78
|
+
#bei get wird automatisch einem redirect gefolgt
|
79
|
+
#For GET and HEAD requests, rest-client automatically follows redirection.
|
80
|
+
case @http_code
|
81
|
+
when 301,302,307
|
82
|
+
@body = @response.body
|
83
|
+
end
|
84
|
+
when :post
|
85
|
+
case @http_code
|
86
|
+
when 301, 302, 307
|
87
|
+
@response.follow_redirection
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
rescue RestClient::MovedPermanently, RestClient::Found, RestClient::TemporaryRedirect => e
|
92
|
+
@response = e.response
|
93
|
+
@http_code = @response.code
|
94
|
+
@errorcode = "CE9920" if @options[:max_redirects] == 0
|
95
|
+
#case @options[:method]
|
96
|
+
#when :post
|
97
|
+
#todo das ist nich nicht so oaky
|
98
|
+
#e.response.follow_redirection
|
99
|
+
rescue RestClient::Unauthorized => e
|
100
|
+
@http_code = e.response.code
|
101
|
+
@errorcode = "CE9901"
|
102
|
+
rescue RestClient::Forbidden => e
|
103
|
+
@http_code = e.response.code
|
104
|
+
@errorcode = "CE9902"
|
105
|
+
rescue RestClient::ImATeapot => e
|
106
|
+
@http_code = e.response.code
|
107
|
+
@errorcode = "CE9903"
|
108
|
+
rescue RestClient::NotFound => e
|
109
|
+
@http_code = e.response.code
|
110
|
+
@errorcode = "CE9904"
|
111
|
+
rescue RestClient::Exceptions::Timeout => e
|
112
|
+
#könnte man auch noch unterscheiden RestClient::Exceptions::Timeout::OpenTimeout, RestClient::Exceptions::Timeout::ReadTimeout
|
113
|
+
#https://github.com/rest-client/rest-client/blob/master/lib/restclient/exceptions.rb
|
114
|
+
@errorcode = "CE9905"
|
115
|
+
rescue RestClient::ServerBrokeConnection => e
|
116
|
+
@errorcode = "CE9906"
|
117
|
+
rescue RestClient::SSLCertificateNotVerified => e
|
118
|
+
@errorcode = "CE9907"
|
119
|
+
rescue RestClient::PayloadTooLarge => e
|
120
|
+
@errorcode = "CE9908"
|
121
|
+
@http_code = e.response.code
|
122
|
+
rescue RestClient::RequestURITooLong => e
|
123
|
+
@errorcode = "CE9909"
|
124
|
+
rescue RestClient::RequestedRangeNotSatisfiable => e
|
125
|
+
@errorcode = "CE9910"
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "restclient_communicator/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "restclient_communicator"
|
8
|
+
spec.version = RestclientCommunicator::VERSION
|
9
|
+
spec.authors = ["Olaf Kaderka"]
|
10
|
+
spec.email = ["okaderka@yahoo.de"]
|
11
|
+
|
12
|
+
spec.summary = %q{Hilfsklasse für die Kommunikation ueber RestClient}
|
13
|
+
spec.description = %q{Gibt nicht viel mehr darüber zu erzaehlen}
|
14
|
+
spec.homepage = "https://github.com/olafkaderka/restclient_communicator"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
+
"public gem pushes."
|
24
|
+
end
|
25
|
+
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
27
|
+
f.match(%r{^(test|spec|features)/})
|
28
|
+
end
|
29
|
+
spec.bindir = "exe"
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
34
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
36
|
+
|
37
|
+
|
38
|
+
#communication
|
39
|
+
#fuer sauber uris https://github.com/sporkmonger/addressable
|
40
|
+
spec.add_dependency "addressable"
|
41
|
+
|
42
|
+
#for mattr_accessor, reverse_merge
|
43
|
+
spec.add_dependency "activesupport", '>= 4.0'
|
44
|
+
|
45
|
+
#https://github.com/rest-client/rest-client
|
46
|
+
spec.add_dependency "rest-client"
|
47
|
+
|
48
|
+
end
|
metadata
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: restclient_communicator
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Olaf Kaderka
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-10-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.15'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.15'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: addressable
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activesupport
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '4.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rest-client
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Gibt nicht viel mehr darüber zu erzaehlen
|
98
|
+
email:
|
99
|
+
- okaderka@yahoo.de
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rspec"
|
106
|
+
- ".travis.yml"
|
107
|
+
- CODE_OF_CONDUCT.md
|
108
|
+
- Gemfile
|
109
|
+
- LICENSE.txt
|
110
|
+
- README.md
|
111
|
+
- Rakefile
|
112
|
+
- bin/console
|
113
|
+
- bin/setup
|
114
|
+
- lib/restclient_communicator.rb
|
115
|
+
- lib/restclient_communicator/version.rb
|
116
|
+
- restclient_communicator.gemspec
|
117
|
+
homepage: https://github.com/olafkaderka/restclient_communicator
|
118
|
+
licenses:
|
119
|
+
- MIT
|
120
|
+
metadata:
|
121
|
+
allowed_push_host: https://rubygems.org
|
122
|
+
post_install_message:
|
123
|
+
rdoc_options: []
|
124
|
+
require_paths:
|
125
|
+
- lib
|
126
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
requirements: []
|
137
|
+
rubyforge_project:
|
138
|
+
rubygems_version: 2.6.13
|
139
|
+
signing_key:
|
140
|
+
specification_version: 4
|
141
|
+
summary: Hilfsklasse für die Kommunikation ueber RestClient
|
142
|
+
test_files: []
|