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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75e1fa6852675a23a818217a4bc9bfc9070e6cff
4
- data.tar.gz: 0b675f61ea00c7c2d94a5e411ec8c7b49527ada0
3
+ metadata.gz: dbf60528f0545b62676afc3bdf955102e1d78a2a
4
+ data.tar.gz: c94f5e8181ae099148355b0a665ac7da0a3ada51
5
5
  SHA512:
6
- metadata.gz: 37d6d51419db7ade8e3e35a6997606d7ea498ed027179e2664d9170a7ddd373d4b69821d752276925967bec877b4c85867eb861f98594a67d9e6e97d8bc9e97c
7
- data.tar.gz: 587a2a3bb77d0b7aa67f83becda01f972e399d995f4c202d0ffede6563daa35ea711d5fcd3ed4af3fbb3752751f6bcc098fef0aef389af120f69a60c1b5c1ed7
6
+ metadata.gz: 71009e4081d428f6cce93e4bcacb332eb2bfdd0492ce4609914f31a7a1d83dbd359a798c0fee4b98b50e8f0c15555f90ee8d210f6dff95cb74c70906e03d6c28
7
+ data.tar.gz: b6ef8e8b9745116979c7c4261e60ae2b124fd8f83382ef6e941600c41687ad4907d40b7d3da5868b9163c933478628069730dd32407686ecd879d95feb8092d8
@@ -0,0 +1,9 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.2
4
+ - 1.9.3
5
+ - 2.0.0
6
+ - 2.1.0
7
+ - jruby-18mode
8
+ - jruby-19mode
9
+ - rbx
@@ -0,0 +1,10 @@
1
+ # ChangeLog
2
+
3
+ ### 1.0.1
4
+
5
+ * Fixes Ruby version requirements at >= 1.9.2
6
+
7
+ ### 1.0.0
8
+
9
+ * Initial version
10
+ * Support for Planets, Species, People, Vehicles, Starships and Films
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A Ruby interface to [SWAPI](http://swapi.co/) (the Star Wars API).
4
4
 
5
+ [![Build Status](https://travis-ci.org/philnash/tatooine.svg)](https://travis-ci.org/philnash/tatooine)
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
@@ -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: "#{Tatooine::API_BASE}#{@resource_path}/"
87
+ :url => "#{Tatooine::API_BASE}#{@resource_path}/"
88
88
  }
89
89
  @connection ||= Faraday.new(options) do |faraday|
90
90
  faraday.response :raise_http_error
@@ -1,3 +1,3 @@
1
1
  module Tatooine
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -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.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: '0'
212
+ version: 1.9.2
211
213
  required_rubygems_version: !ruby/object:Gem::Requirement
212
214
  requirements:
213
215
  - - ">="