tatooine 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +9 -0
- data/CHANGELOG.md +10 -0
- data/README.md +2 -0
- data/lib/tatooine/resource.rb +2 -2
- data/lib/tatooine/version.rb +1 -1
- data/tatooine.gemspec +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbf60528f0545b62676afc3bdf955102e1d78a2a
|
4
|
+
data.tar.gz: c94f5e8181ae099148355b0a665ac7da0a3ada51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71009e4081d428f6cce93e4bcacb332eb2bfdd0492ce4609914f31a7a1d83dbd359a798c0fee4b98b50e8f0c15555f90ee8d210f6dff95cb74c70906e03d6c28
|
7
|
+
data.tar.gz: b6ef8e8b9745116979c7c4261e60ae2b124fd8f83382ef6e941600c41687ad4907d40b7d3da5868b9163c933478628069730dd32407686ecd879d95feb8092d8
|
data/.travis.yml
ADDED
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
data/lib/tatooine/resource.rb
CHANGED
@@ -81,10 +81,10 @@ module Tatooine
|
|
81
81
|
|
82
82
|
def connection
|
83
83
|
options = {
|
84
|
-
headers
|
84
|
+
:headers => {
|
85
85
|
"User-Agent" => "Tatooine Ruby Gem - #{Tatooine::VERSION}"
|
86
86
|
},
|
87
|
-
url
|
87
|
+
:url => "#{Tatooine::API_BASE}#{@resource_path}/"
|
88
88
|
}
|
89
89
|
@connection ||= Faraday.new(options) do |faraday|
|
90
90
|
faraday.response :raise_http_error
|
data/lib/tatooine/version.rb
CHANGED
data/tatooine.gemspec
CHANGED
@@ -18,6 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
+
spec.required_ruby_version = '>= 1.9.2'
|
22
|
+
|
21
23
|
spec.add_dependency "faraday", "~> 0.9.0"
|
22
24
|
spec.add_dependency "faraday_middleware"
|
23
25
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tatooine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phil Nash
|
@@ -130,6 +130,8 @@ extensions: []
|
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
132
|
- ".gitignore"
|
133
|
+
- ".travis.yml"
|
134
|
+
- CHANGELOG.md
|
133
135
|
- Gemfile
|
134
136
|
- LICENSE.txt
|
135
137
|
- README.md
|
@@ -207,7 +209,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
209
|
requirements:
|
208
210
|
- - ">="
|
209
211
|
- !ruby/object:Gem::Version
|
210
|
-
version:
|
212
|
+
version: 1.9.2
|
211
213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
214
|
requirements:
|
213
215
|
- - ">="
|