thecity 0.0.2 → 0.0.3
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 +4 -4
- data/README.md +2 -13
- data/lib/the_city/version.rb +1 -1
- data/thecity.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 697ad387e2ca46745b98f9f925853c281eb70b69
|
|
4
|
+
data.tar.gz: 2821cde1c7076244a3e3e62e29d5bceae1655d42
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89331889384ce7d6f71aeb96e9fb1f0a88cf569ffdb27153057f7e167bb8817c865428441ed28bc30f6498a112f49d9d63685cb227055b3e2f1a3c67fe693954
|
|
7
|
+
data.tar.gz: 9c595f070cb8ed12d62b4502bd25748efd5b9a1491b6ebdcbfeefd885aa28443de3e139347ac6a96490115316c94c76c2525000506aec06df8fd9cc90b204c01
|
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# The City Ruby Gem
|
|
2
2
|
|
|
3
|
+
[](http://badge.fury.io/rb/thecity)
|
|
4
|
+
|
|
3
5
|
A Ruby interface to the The City API. For more information about The City platform, see [http://api.onthecity.org][api info]
|
|
4
6
|
|
|
5
7
|
[api info]: http://api.onthecity.org
|
|
@@ -74,20 +76,7 @@ client.post_topic(:group_id => 1234567, :title => 'Mr. Watson, come here', :body
|
|
|
74
76
|
```ruby
|
|
75
77
|
client.my_groups
|
|
76
78
|
```
|
|
77
|
-
**Retrieve the list of permissions associated with the current user**
|
|
78
|
-
|
|
79
|
-
```ruby
|
|
80
|
-
client.followers("gem")
|
|
81
|
-
client.followers(213747670)
|
|
82
|
-
client.followers
|
|
83
|
-
```
|
|
84
|
-
**Fetch a cursored list of friends with profile details (by screen name or user ID, or by implict authenticated user)**
|
|
85
79
|
|
|
86
|
-
```ruby
|
|
87
|
-
client.friends("gem")
|
|
88
|
-
client.friends(213747670)
|
|
89
|
-
client.friends
|
|
90
|
-
```
|
|
91
80
|
For more usage examples, please see the full [documentation][].
|
|
92
81
|
|
|
93
82
|
## Documentation
|
data/lib/the_city/version.rb
CHANGED
data/thecity.gemspec
CHANGED
|
@@ -11,13 +11,13 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
#spec.add_dependency 'tzinfo', '~> 1.0.1'
|
|
12
12
|
#spec.add_dependency 'tzinfo-data', "~> 1.2013.4"
|
|
13
13
|
spec.add_development_dependency 'bundler', '~> 1.0'
|
|
14
|
-
spec.authors = ["
|
|
14
|
+
spec.authors = ["Robert Leib"]
|
|
15
15
|
spec.description = %q{A Ruby interface to The City API.}
|
|
16
16
|
spec.email = ["robert.leib@gmail.com"]
|
|
17
17
|
spec.files = %w(CHANGELOG.md LICENSE.md README.md Rakefile thecity.gemspec)
|
|
18
18
|
spec.files += Dir.glob("lib/**/*.rb")
|
|
19
19
|
spec.files += Dir.glob("spec/**/*")
|
|
20
|
-
spec.homepage = 'http://github.com/
|
|
20
|
+
spec.homepage = 'http://github.com/thecity/thecity-ruby/'
|
|
21
21
|
spec.licenses = ['MIT']
|
|
22
22
|
spec.name = 'thecity'
|
|
23
23
|
spec.require_paths = ['lib']
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thecity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Robert Leib
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
@@ -144,7 +144,7 @@ files:
|
|
|
144
144
|
- lib/the_city/user.rb
|
|
145
145
|
- lib/the_city/version.rb
|
|
146
146
|
- lib/the_city.rb
|
|
147
|
-
homepage: http://github.com/
|
|
147
|
+
homepage: http://github.com/thecity/thecity-ruby/
|
|
148
148
|
licenses:
|
|
149
149
|
- MIT
|
|
150
150
|
metadata: {}
|