sfba_transit 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6220a9f908731a7d3db9c85706eb355686a62bb4
4
+ data.tar.gz: 5abf41260da821e93b0872fb77061fc215eb0d3b
5
+ SHA512:
6
+ metadata.gz: cbd5c199ca3c89108210b0f1b6a2305c9be1e485e9412fe301240511b19167cce2f266dabfead28dbafbd410e286e3fb20f59557ce05b57c0b63548ae0215110
7
+ data.tar.gz: 22269a04a1106d896ce382596591d0b662074de1e1e6b70b9db1f8952f7d997c15e696f4f9f775e6db6662b2c0c4e2508c85d8237a833092490e49d44b454e48
data/.gitignore ADDED
@@ -0,0 +1,6 @@
1
+ .bundle/
2
+ Gemfile.lock
3
+ coverage/
4
+ .idea/
5
+ *.gem
6
+ *~
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --require spec_helper
2
+
3
+ --format documentation
4
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,2 @@
1
+ Metrics/LineLength:
2
+ Max: 120
data/.semver ADDED
@@ -0,0 +1,6 @@
1
+ ---
2
+ :major: 0
3
+ :minor: 0
4
+ :patch: 0
5
+ :special: ''
6
+ :metadata: ''
data/.travis.yml ADDED
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.0
4
+ before_install: gem install bundler
5
+ script:
6
+ - ./build.sh
7
+ addons:
8
+ code_climate:
9
+ repo_token:
10
+ secure: "1QyFUuDDyaiAYuZFNLQDkZv9bvP0uznjfplPFhXApqHNcq10n736gStrhpufGKdYlIFqF7cFNurT6RKgrtN+FtMUtEp4iRnHb81TKLX6MET+z35HjHE6bJU9UbJ5Q6nyO+mfKQYNcWse7yAyPFG1U/y/0r6RnJ2EijpeVobjz+fZ+2SRuuTkDrhvzm2L2MPYtRB3WCQ1irFc4NZW9d6+7aq4IeKtrKQOqjEnpxpJJRCmaI8KqiWDEXx15AoNDxsibpXAB8xZxC+RB5I/5bbtvQfGXwo4ktqE8APSBw1Y1+O0sPYwmlxYqtdIuHo7t5aUrvZrWaeQvtGc55iBCY2wOftYCJFFDvWNqEwjr6Su9+K9XIsynpGmjzkzPzchzB8uuoW2Z7WEe664m8j33kjNON3uW5UKa4lvBZJw5JFThdFxufukx8QZhL9L6pZoikvGxLwqZBcQA94CvG6AoFKkfQpUrbQsxeETVoswWT2RLr6+sd2jD8Tv5c8xuTM/AsDVawEqIjbcl6WOpXcgQ0myAxQ1XARzBEBJjUwJm/83HMI8LFx+zX4BqACsPWyShdTnxWrVJH0MybPnlAJyb4uOY9aZUpVQsjQBEsdd8Ax+TrnuKEcLsIDfuXbqVKi013h+TNJCDxxs02i4dfjP5y3i/eCYZ1978BNP6fu42u1pvfk="
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Change Log
2
+
3
+ ## 0.0.0 - 2016-04-12
4
+ ### Added
5
+ - Project scaffolding and infrastructure.
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in sfba_transit.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 Paul Coldren
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # sfba_transit
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/sfba_transit.svg)](http://badge.fury.io/rb/sfba_transit)
4
+ [![Build Status](https://travis-ci.org/pcoldren/sfba_transit.svg?branch=master)](https://travis-ci.org/pcoldren/sfba_transit)
5
+ [![Test Coverage](https://codeclimate.com/github/pcoldren/sfba_transit/badges/coverage.svg)](https://codeclimate.com/github/pcoldren/sfba_transit/coverage)
6
+ [![Code Climate](https://codeclimate.com/github/pcoldren/sfba_transit/badges/gpa.svg)](https://codeclimate.com/github/pcoldren/sfba_transit)
7
+ [![Issue Count](https://codeclimate.com/github/pcoldren/sfba_transit/badges/issue_count.svg)](https://codeclimate.com/github/pcoldren/sfba_transit)
8
+ [![Dependency Status](https://gemnasium.com/badges/github.com/pcoldren/sfba_transit.svg)](https://gemnasium.com/github.com/pcoldren/sfba_transit)
9
+ [![Inline docs](http://inch-ci.org/github/pcoldren/sfba_transit.svg)](http://inch-ci.org/github/pcoldren/sfba_transit)
data/build.sh ADDED
@@ -0,0 +1,6 @@
1
+ set -e
2
+
3
+ bundle install
4
+ bundle exec rubocop -D
5
+ bundle exec rspec
6
+ gem build sfba_transit.gemspec
@@ -0,0 +1,4 @@
1
+ module SfbaTransit
2
+ class LoginManager
3
+ end
4
+ end
@@ -0,0 +1,8 @@
1
+ # Version info for sfba_transit gem.
2
+ module SfbaTransit
3
+ require 'yaml'
4
+ contents = File.read(File.join(File.dirname(__FILE__), '..', '..', '.semver'))
5
+ parsed = YAML.parse(contents).to_ruby
6
+ special = parsed[:special].empty? ? '' : ".#{parsed[:special]}"
7
+ VERSION = "#{parsed[:major]}.#{parsed[:minor]}.#{parsed[:patch]}#{special}".freeze
8
+ end
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'sfba_transit/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'sfba_transit'
8
+ spec.version = SfbaTransit::VERSION
9
+ spec.authors = ['Paul Coldren']
10
+ spec.email = ['paulmco@gmail.com']
11
+
12
+ spec.summary = 'San Francisco Bay Area Transit Card API'
13
+ spec.description = 'Fetch information about transit card ("clipper") status, balance, and transactions.'
14
+ spec.homepage = 'https://github.com/pcoldren/sfba_transit'
15
+
16
+ spec.license = 'MIT'
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
+ spec.bindir = 'bin'
20
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
21
+ spec.require_paths = ['lib']
22
+
23
+ spec.add_development_dependency('bundler', '~> 1.11')
24
+ spec.add_development_dependency('rspec', '~> 3.0')
25
+ spec.add_development_dependency('simplecov', '~> 0.11')
26
+ spec.add_development_dependency('rubocop', '~> 0.39')
27
+ spec.add_development_dependency('codeclimate-test-reporter', '~> 0.5')
28
+ spec.add_development_dependency('semver2', '~> 3.4')
29
+ end
metadata ADDED
@@ -0,0 +1,142 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sfba_transit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Paul Coldren
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-04-12 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.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: simplecov
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.11'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.39'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.39'
69
+ - !ruby/object:Gem::Dependency
70
+ name: codeclimate-test-reporter
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.5'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.5'
83
+ - !ruby/object:Gem::Dependency
84
+ name: semver2
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.4'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.4'
97
+ description: Fetch information about transit card ("clipper") status, balance, and
98
+ transactions.
99
+ email:
100
+ - paulmco@gmail.com
101
+ executables: []
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - ".rspec"
107
+ - ".rubocop.yml"
108
+ - ".semver"
109
+ - ".travis.yml"
110
+ - CHANGELOG.md
111
+ - Gemfile
112
+ - LICENSE.txt
113
+ - README.md
114
+ - build.sh
115
+ - lib/sfba_transit/login_manager.rb
116
+ - lib/sfba_transit/version.rb
117
+ - sfba_transit.gemspec
118
+ homepage: https://github.com/pcoldren/sfba_transit
119
+ licenses:
120
+ - MIT
121
+ metadata: {}
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.5.1
139
+ signing_key:
140
+ specification_version: 4
141
+ summary: San Francisco Bay Area Transit Card API
142
+ test_files: []