gtfs_data_exchange_api 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 55227cd2cfda719fe4fa5dbcdccdbc5fe2d31892
4
+ data.tar.gz: 134868f0fc8283efd1e42eec70f2ce8ad74e5367
5
+ SHA512:
6
+ metadata.gz: a3759c02a0e565d847a9fbad33813d288d13b080d224272b9703271dbde519606715a4b3ec0b0fd465ab6b176fb4389068356502a5ffb7b25b43e06fea7b4ed9
7
+ data.tar.gz: 48851796bf87c0709e4864daeaa8dfdf8d1ed8a927c6477e0e3595bac5696564c43865a1889ec62a9c02e168ed364c3efa2cfce0eca62c90c518b2828eac05bb
@@ -0,0 +1,16 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ *.gem
16
+ .DS_Store
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --require spec_helper
3
+ --format documentation
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in gtfs-data_exchange.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 MJ Rossetti (@s2t2)
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,75 @@
1
+ # GTFS DataExchange API
2
+
3
+ A ruby wrapper for the [gtfs-data-exchange.com](http://www.gtfs-data-exchange.com) [api](http://www.gtfs-data-exchange.com/api).
4
+
5
+ List all agencies, or find a specific agency by its data exchange identifier.
6
+
7
+ [![Gem Version](https://badge.fury.io/rb/gtfs-data_exchange.svg)](http://badge.fury.io/rb/gtfs-data_exchange)
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ```ruby
14
+ gem 'gtfs_data_exchange_api'
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ $ bundle
20
+
21
+ Or install it yourself as:
22
+
23
+ $ gem install gtfs_data_exchange_api
24
+
25
+ ## Usage
26
+
27
+ ### Agencies
28
+
29
+ List all agencies.
30
+
31
+ ```` rb
32
+ agencies = GTFSDataExchangeAPI.agencies
33
+ ````
34
+
35
+ By default, this will return an `Array` of Ruby `Hash` objects. Pass the 'csv' format option to return a CSV `String` instead.
36
+
37
+ ```` rb
38
+ agencies = GTFSDataExchangeAPI.agencies(:format => "csv")
39
+ ````
40
+
41
+ ### Agency
42
+
43
+ Find an agency by its data exchange identifier.
44
+
45
+ ```` rb
46
+ agency = GTFSDataExchangeAPI.agency(:dataexchange_id => "shore-line-east")
47
+ ````
48
+
49
+ By default, this will return a Ruby `Hash` object.
50
+
51
+ ## Contributing
52
+
53
+ 1. [Fork the repo](https://github.com/data-creative/gtfs-data_exchange/fork)
54
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
55
+ 3. Test your changes (optional, but encouraged `rspec spec/`)
56
+ 4. Commit your changes (`git commit -am 'Add some feature'`)
57
+ 5. Push to the branch (`git push origin my-new-feature`)
58
+ 6. Create a new Pull Request
59
+
60
+ ## Releasing
61
+
62
+ > For instructions below, *X.X.X* refers to the gem version.
63
+
64
+ 1. Build gem (`gem build gtfs_data_exchange_api.gemspec`)
65
+ 2. Install gem locally (`gem install ./gtfs_data_exchange_api-X.X.X.gem`)
66
+ 3. Run tests (`bundle exec rspec spec/`)
67
+ 4. Manually test, as desired:
68
+ + `pry`
69
+ + `require 'gtfs/data_exchange'`
70
+ + test functionality
71
+ 5. Merge version-named branch into master, if applicable
72
+ 6. Create and tag a version-named [release](https://github.com/data-creative/gtfs-data-exchange-api-ruby/releases/new)
73
+ 7. Push gem build to rubygems (`gem push gtfs-data_exchange-X.X.X.gem`)
74
+
75
+
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'gtfs_data_exchange_api/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "gtfs_data_exchange_api"
8
+ spec.version = GTFSDataExchangeAPI::VERSION
9
+ spec.authors = ["MJ Rossetti (@s2t2)"]
10
+ spec.email = ["s2t2mail+rubygems@gmail.com"]
11
+ spec.summary = %q{A ruby wrapper for the gtfs-data-exchange.com api.}
12
+ spec.description = %q{A ruby wrapper for the gtfs-data-exchange.com api. List all agencies, or find a specific agency by its data exchange identifier.}
13
+ spec.homepage = "https://github.com/data-creative/gtfs-data-exchange-api-ruby"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.7"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "pry", "~> 0.10"
24
+ spec.add_development_dependency "rspec", "~> 3.1"
25
+ spec.add_dependency "httparty", "~> 0.13"
26
+ end
@@ -0,0 +1,70 @@
1
+ require "gtfs_data_exchange_api/version"
2
+ require "httparty"
3
+
4
+ # Contains all data exchange api (http://www.gtfs-data-exchange.com/api) methods and exceptions.
5
+ module GTFSDataExchangeAPI
6
+
7
+ # The base url for api endpoints. This page also acts as the primary source for api reference documentation.
8
+ BASE_URL = "http://www.gtfs-data-exchange.com/api"
9
+
10
+ # List all agencies.
11
+ # @param [Hash] options the request options.
12
+ # @option options [String] :format ('json') the requested data format.
13
+ # @raise [UnsupportedRequestFormat] if the requested data format is not supported by the service.
14
+ # @raise [ResponseCodeError, ResponseDataError] for unexpected responses.
15
+ # @return [Array, String] the agencies data in the requested format.
16
+ def self.agencies(options = {})
17
+ format = options[:format] || "json"
18
+ raise UnsupportedRequestFormat, "The requested data format, '#{format}', is not supported by the service. Try 'csv' or 'json' instead." unless ["json","csv"].include?(format)
19
+
20
+ request_url = "#{BASE_URL}/agencies?format=#{format}"
21
+ response = HTTParty.get(request_url)
22
+
23
+ case format
24
+ when "json"
25
+ raise ResponseCodeError unless response["status_code"] == 200
26
+ raise ResponseDataError unless response["data"]
27
+ parsed_response_data = response["data"].map{|a| Hash[a.map{|k,v| [k.to_sym, (v == "" ? nil : v)]}]}
28
+ return parsed_response_data
29
+ when "csv"
30
+ raise ResponseCodeError unless response.code == 200
31
+ raise ResponseDataError unless response.body
32
+ return response.body
33
+ end
34
+ end
35
+
36
+ # Find an agency by its data exchange identifier.
37
+ # @param [Hash] options the request options.
38
+ # @option options [String] :dataexchange_id ('shore-line-east') the requested agency identifier.
39
+ # @raise [UnrecognizedDataExchangeId] if the requested agency identifier is unrecognized by the service.
40
+ # @raise [ResponseCodeError, ResponseDataError, ResponseAgencyError] for unexpected responses.
41
+ # @return [Hash] the agency data.
42
+ def self.agency(options = {})
43
+ dataexchange_id = options[:dataexchange_id] || options[:data_exchange_id] || "shore-line-east"
44
+
45
+ request_url = "#{BASE_URL}/agency?agency=#{dataexchange_id}"
46
+ response = HTTParty.get(request_url)
47
+ raise UnrecognizedDataExchangeId, "The requested dataexchange_id, '#{dataexchange_id}', was not recognized by the service." if response["status_code"] == 404 && response["status_txt"] == "AGENCY_NOT_FOUND"
48
+ raise ResponseCodeError unless response["status_code"] == 200
49
+ raise ResponseDataError unless response["data"]
50
+ raise ResponseAgencyError unless response["data"]["agency"]
51
+
52
+ parsed_agency_data = Hash[response["data"]["agency"].map{|k,v| [k.to_sym, (v == "" ? nil : v)]}]
53
+ return parsed_agency_data
54
+ end
55
+
56
+ # Exception raised if the service does not recognize the requested *dataexchange_id*.
57
+ class UnrecognizedDataExchangeId < ArgumentError ; end
58
+
59
+ # Exception raised if the service does not support the requested data format.
60
+ class UnsupportedRequestFormat < ArgumentError ; end
61
+
62
+ # Exception raised if the service returns an unexpected response code.
63
+ class ResponseCodeError < StandardError ; end
64
+
65
+ # Exception raised if the service returns unexpected or missing response data.
66
+ class ResponseDataError < StandardError ; end
67
+
68
+ # Exception raised if the service returns unexpected or missing agency data.
69
+ class ResponseAgencyError < StandardError ; end
70
+ end
@@ -0,0 +1,4 @@
1
+ module GTFSDataExchangeAPI
2
+ # The current gem version. Reference the releases list (https://github.com/data-creative/gtfs-data-exchange-api-ruby/releases) for previous releases.
3
+ VERSION = "0.1.0"
4
+ end
@@ -0,0 +1,86 @@
1
+ require 'spec_helper'
2
+
3
+ module GTFSDataExchangeAPI
4
+ describe "#agencies" do
5
+ it 'lists all agencies' do
6
+ agencies_response = [
7
+ {
8
+ "date_last_updated"=>1354248333.0,
9
+ "feed_baseurl"=>"",
10
+ "name"=>"A. Reich GmbH Busbetrieb",
11
+ "area"=>"",
12
+ "url"=>"http://www.vbb.de",
13
+ "country"=>"",
14
+ "state"=>"",
15
+ "license_url"=>"",
16
+ "dataexchange_url"=>"http://www.gtfs-data-exchange.com/agency/a-reich-gmbh-busbetrieb/",
17
+ "date_added"=>1354248333.0,
18
+ "is_official"=>false,
19
+ "dataexchange_id"=>"a-reich-gmbh-busbetrieb"
20
+ },
21
+ {
22
+ "date_last_updated"=>1417658131.0,
23
+ "feed_baseurl"=>"http://data.cabq.gov/transit/gtfs/google_transit.zip",
24
+ "name"=>"ABQ Ride",
25
+ "area"=>"Albuquerque",
26
+ "url"=>"http://myabqride.com",
27
+ "country"=>"United States",
28
+ "state"=>"New Mexico",
29
+ "license_url"=>"",
30
+ "dataexchange_url"=>"http://www.gtfs-data-exchange.com/agency/abq-ride/",
31
+ "date_added"=>1340739867.0,
32
+ "is_official"=>true,
33
+ "dataexchange_id"=>"abq-ride"
34
+ }
35
+ ]
36
+ parsed_agencies_response = agencies_response.map{|a| Hash[a.map{|k,v| [k.to_sym, (v == "" ? nil : v)]}]}
37
+ expect(parsed_agencies_response).to be_kind_of(Array)
38
+ expect(parsed_agencies_response.first).to be_kind_of(Hash)
39
+ expect(parsed_agencies_response.first[:dataexchange_id]).to be_kind_of(String)
40
+ expect(parsed_agencies_response.first[:feed_baseurl]).to be(nil)
41
+ end
42
+
43
+ it 'lists all agencies in CSV format' do
44
+ agencies = GTFSDataExchangeAPI.agencies(:format => "csv")
45
+ expect(agencies).to be_kind_of(String)
46
+ csv_result = CSV.parse(agencies, :headers => true)
47
+ expect(csv_result.headers).to include("dataexchange_id")
48
+ expect(csv_result.first).to be_kind_of(CSV::Row)
49
+ expect(csv_result.first.to_hash["dataexchange_id"]).to be_kind_of(String)
50
+ end
51
+
52
+ it 'explains why it is unable to return agencies data in an unsupported format' do
53
+ unsupported_format = "sql"
54
+ expect{ GTFSDataExchangeAPI.agencies(:format => unsupported_format) }.to raise_error
55
+ end
56
+ end
57
+
58
+ describe '#agency' do
59
+ it 'finds a specific agency by its data exchange identifier' do
60
+ requested_identifier = "metro-north-railroad"
61
+ agency_response = {
62
+ "date_last_updated"=>1394241933.0,
63
+ "feed_baseurl"=>"http://www.mta.info/developers/",
64
+ "name"=>"Metro North Railroad",
65
+ "area"=>"",
66
+ "url"=>" http://www.mta.info/mnr/index.html",
67
+ "country"=>"United States",
68
+ "state"=>"New York",
69
+ "license_url"=>"",
70
+ "dataexchange_url"=>"http://www.gtfs-data-exchange.com/agency/metro-north-railroad/",
71
+ "date_added"=>1263414635.0,
72
+ "is_official"=>true,
73
+ "dataexchange_id"=>"metro-north-railroad"
74
+ }
75
+ parsed_agency_response = Hash[agency_response.map{|k,v| [k.to_sym, (v == "" ? nil : v)]}]
76
+ expect(parsed_agency_response).to be_kind_of(Hash)
77
+ expect(parsed_agency_response[:dataexchange_id]).to eql(requested_identifier)
78
+ expect(parsed_agency_response[:area]).to be(nil)
79
+ end
80
+
81
+ it 'explains why it is unable to find an unrecognized agency' do
82
+ unrecognized_identifier = "my-railroad"
83
+ expect{ GTFSDataExchangeAPI.agency(:dataexchange_id => unrecognized_identifier) }.to raise_error
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,94 @@
1
+ # http://stackoverflow.com/questions/4398262/setup-rspec-to-test-a-gem-not-rails
2
+ require 'bundler/setup'
3
+ Bundler.setup
4
+ require 'gtfs_data_exchange_api'
5
+
6
+ # This file was generated by the `rspec --init` command. Conventionally, all
7
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
8
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
9
+ # file to always be loaded, without a need to explicitly require it in any files.
10
+ #
11
+ # Given that it is always loaded, you are encouraged to keep this file as
12
+ # light-weight as possible. Requiring heavyweight dependencies from this file
13
+ # will add to the boot time of your test suite on EVERY test run, even for an
14
+ # individual file that may not need all of that loaded. Instead, consider making
15
+ # a separate helper file that requires the additional dependencies and performs
16
+ # the additional setup, and require it from the spec files that actually need it.
17
+ #
18
+ # The `.rspec` file also contains a few flags that are not defaults but that
19
+ # users commonly want.
20
+ #
21
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
22
+ RSpec.configure do |config|
23
+ # rspec-expectations config goes here. You can use an alternate
24
+ # assertion/expectation library such as wrong or the stdlib/minitest
25
+ # assertions if you prefer.
26
+ config.expect_with :rspec do |expectations|
27
+ # This option will default to `true` in RSpec 4. It makes the `description`
28
+ # and `failure_message` of custom matchers include text for helper methods
29
+ # defined using `chain`, e.g.:
30
+ # be_bigger_than(2).and_smaller_than(4).description
31
+ # # => "be bigger than 2 and smaller than 4"
32
+ # ...rather than:
33
+ # # => "be bigger than 2"
34
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
35
+ end
36
+
37
+ # rspec-mocks config goes here. You can use an alternate test double
38
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
39
+ config.mock_with :rspec do |mocks|
40
+ # Prevents you from mocking or stubbing a method that does not exist on
41
+ # a real object. This is generally recommended, and will default to
42
+ # `true` in RSpec 4.
43
+ mocks.verify_partial_doubles = true
44
+ end
45
+
46
+ # The settings below are suggested to provide a good initial experience
47
+ # with RSpec, but feel free to customize to your heart's content.
48
+ =begin
49
+ # These two settings work together to allow you to limit a spec run
50
+ # to individual examples or groups you care about by tagging them with
51
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
52
+ # get run.
53
+ config.filter_run :focus
54
+ config.run_all_when_everything_filtered = true
55
+
56
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
57
+ # For more details, see:
58
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
59
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
60
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
61
+ config.disable_monkey_patching!
62
+
63
+ # This setting enables warnings. It's recommended, but in some cases may
64
+ # be too noisy due to issues in dependencies.
65
+ config.warnings = true
66
+
67
+ # Many RSpec users commonly either run the entire suite or an individual
68
+ # file, and it's useful to allow more verbose output when running an
69
+ # individual spec file.
70
+ if config.files_to_run.one?
71
+ # Use the documentation formatter for detailed output,
72
+ # unless a formatter has already been configured
73
+ # (e.g. via a command-line flag).
74
+ config.default_formatter = 'doc'
75
+ end
76
+
77
+ # Print the 10 slowest examples and example groups at the
78
+ # end of the spec run, to help surface which specs are running
79
+ # particularly slow.
80
+ config.profile_examples = 10
81
+
82
+ # Run specs in random order to surface order dependencies. If you find an
83
+ # order dependency and want to debug it, you can fix the order by providing
84
+ # the seed, which is printed after each run.
85
+ # --seed 1234
86
+ config.order = :random
87
+
88
+ # Seed global randomization in this process using the `--seed` CLI option.
89
+ # Setting this allows you to use `--seed` to deterministically reproduce
90
+ # test failures related to randomization by passing the same `--seed` value
91
+ # as the one that triggered the failure.
92
+ Kernel.srand config.seed
93
+ =end
94
+ end
metadata ADDED
@@ -0,0 +1,128 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gtfs_data_exchange_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - MJ Rossetti (@s2t2)
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-02-15 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.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
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: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.10'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.10'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.1'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: httparty
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.13'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.13'
83
+ description: A ruby wrapper for the gtfs-data-exchange.com api. List all agencies,
84
+ or find a specific agency by its data exchange identifier.
85
+ email:
86
+ - s2t2mail+rubygems@gmail.com
87
+ executables: []
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".gitignore"
92
+ - ".rspec"
93
+ - Gemfile
94
+ - LICENSE.txt
95
+ - README.md
96
+ - Rakefile
97
+ - gtfs_data_exchange_api.gemspec
98
+ - lib/gtfs_data_exchange_api.rb
99
+ - lib/gtfs_data_exchange_api/version.rb
100
+ - spec/gtfs_data_exchange_api_spec.rb
101
+ - spec/spec_helper.rb
102
+ homepage: https://github.com/data-creative/gtfs-data-exchange-api-ruby
103
+ licenses:
104
+ - MIT
105
+ metadata: {}
106
+ post_install_message:
107
+ rdoc_options: []
108
+ require_paths:
109
+ - lib
110
+ required_ruby_version: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
115
+ required_rubygems_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ requirements: []
121
+ rubyforge_project:
122
+ rubygems_version: 2.2.2
123
+ signing_key:
124
+ specification_version: 4
125
+ summary: A ruby wrapper for the gtfs-data-exchange.com api.
126
+ test_files:
127
+ - spec/gtfs_data_exchange_api_spec.rb
128
+ - spec/spec_helper.rb