telegraph_api 0.1.0 → 0.1.1
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 +8 -8
- data/lib/telegraph/api/version.rb +1 -1
- data/telegraph_api.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5daba711afff71e31221be32fc4ad7151cd17810
|
4
|
+
data.tar.gz: 77addf207f7972a269679f3b9bc0fc002233f017
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13bf4c979dd34367ad6ecfb115d3b8e2d4a2788dc53a80820446292c629479f33102bd9ec943be3926ad1fd8b2cb9b6a0c3ff292484359f51aa1fc131ecdf438
|
7
|
+
data.tar.gz: 1b7d1b3233e009170f7354997f623ff35a2e7632e5cc5fae79ef26b4466300a2daa85b97d2f22f849e9f24b809d9dca3e52196dcea366751220cbdbb64f02904
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# TelegraphApi
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
This gem wraps Telegraph API for convenient usage with Ruby
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,17 +20,19 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
```ruby
|
24
|
+
require 'telegraph_api'
|
26
25
|
|
27
|
-
|
26
|
+
page = Telegraph::Page.get(path: 'Sample-Page-12-15')
|
27
|
+
```
|
28
28
|
|
29
|
-
|
29
|
+
Gem provides two namespaces for common usage:
|
30
30
|
|
31
|
-
|
31
|
+
`Telegraph::Page` for page methods and `Telegraph::Account` for account manipulation
|
32
32
|
|
33
33
|
## Contributing
|
34
34
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/deff7/ruby_telegraph_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
36
|
|
37
37
|
|
38
38
|
## License
|
data/telegraph_api.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{Ruby wrapper for Telegra.ph API}
|
13
13
|
spec.description = %q{Gem for wrapping Telegraph API}
|
14
|
-
spec.homepage = "https://github.com/deff7/
|
14
|
+
spec.homepage = "https://github.com/deff7/ruby_telegraph_api"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: telegraph_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Malenkov
|
@@ -157,7 +157,7 @@ files:
|
|
157
157
|
- lib/telegraph/validations/page.rb
|
158
158
|
- lib/telegraph_api.rb
|
159
159
|
- telegraph_api.gemspec
|
160
|
-
homepage: https://github.com/deff7/
|
160
|
+
homepage: https://github.com/deff7/ruby_telegraph_api
|
161
161
|
licenses:
|
162
162
|
- MIT
|
163
163
|
metadata:
|