transprt 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +17 -1
- data/transprt.gemspec +3 -3
- metadata +12 -18
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7ce8cab14a0ae8c07ad975369cb06828698c481b
|
4
|
+
data.tar.gz: 0986bc87c932f69a76deef4ded06c2dcf0658242
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 99a036b270061db218d240806a446febf57f1ea9a9af4e3706ff438797670f668ed56ff79549ff454a1157965b7165cdc6b038ffaeed9b2c5f00cfda5a4a693f
|
7
|
+
data.tar.gz: c0ab854c9f6a2bb37d4ca2a7e50fcb4ccd16ebdcdb8f3c12c88858775c309ae7a96396252776f4507d25c470b79338a6572f6af2c269e65bf77b6e34bdb4553c
|
data/README.md
CHANGED
@@ -1,4 +1,20 @@
|
|
1
1
|
transprt
|
2
2
|
========
|
3
3
|
|
4
|
-
Use the public transport Swiss API (open data)
|
4
|
+
Use the public transport Swiss API (open data). http://transport.opendata.ch
|
5
|
+
|
6
|
+
Installation
|
7
|
+
============
|
8
|
+
|
9
|
+
```
|
10
|
+
gem install transprt
|
11
|
+
```
|
12
|
+
|
13
|
+
Usage
|
14
|
+
=====
|
15
|
+
|
16
|
+
```
|
17
|
+
$ irb
|
18
|
+
$ require 'transprt'
|
19
|
+
$ Transprt.locations :query => 'geneva'
|
20
|
+
```
|
data/transprt.gemspec
CHANGED
@@ -3,7 +3,7 @@ lib = File.expand_path('../lib', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.name = "transprt"
|
6
|
-
gem.version = '0.1.
|
6
|
+
gem.version = '0.1.1'
|
7
7
|
gem.authors = ["ghn"]
|
8
8
|
gem.email = ["ghugon@gmail.com"]
|
9
9
|
gem.description = %q{Use the public transport Swiss API (open data).}
|
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
17
17
|
gem.require_paths = ["lib"]
|
18
18
|
|
19
|
-
gem.
|
20
|
-
gem.
|
19
|
+
gem.add_dependency 'rest_client'
|
20
|
+
gem.add_dependency 'json'
|
21
21
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transprt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- ghn
|
@@ -14,33 +13,29 @@ dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rest_client
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
|
-
type: :
|
20
|
+
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: json
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
|
-
type: :
|
34
|
+
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
description: Use the public transport Swiss API (open data).
|
@@ -59,26 +54,25 @@ files:
|
|
59
54
|
homepage: https://github.com/ghn/transprt
|
60
55
|
licenses:
|
61
56
|
- MIT
|
57
|
+
metadata: {}
|
62
58
|
post_install_message:
|
63
59
|
rdoc_options: []
|
64
60
|
require_paths:
|
65
61
|
- lib
|
66
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
63
|
requirements:
|
69
|
-
- -
|
64
|
+
- - '>='
|
70
65
|
- !ruby/object:Gem::Version
|
71
66
|
version: '0'
|
72
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
68
|
requirements:
|
75
|
-
- -
|
69
|
+
- - '>='
|
76
70
|
- !ruby/object:Gem::Version
|
77
71
|
version: '0'
|
78
72
|
requirements: []
|
79
73
|
rubyforge_project:
|
80
|
-
rubygems_version:
|
74
|
+
rubygems_version: 2.0.3
|
81
75
|
signing_key:
|
82
|
-
specification_version:
|
76
|
+
specification_version: 4
|
83
77
|
summary: Swiss public transport.
|
84
78
|
test_files: []
|