telegraph_api 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b61c1a5fd39393ce238a4b69829336826ed61e67
4
- data.tar.gz: e34cdf83ef2fd93a71ed94ceca07b396c2d6ca68
3
+ metadata.gz: 5daba711afff71e31221be32fc4ad7151cd17810
4
+ data.tar.gz: 77addf207f7972a269679f3b9bc0fc002233f017
5
5
  SHA512:
6
- metadata.gz: 2b9c155a09fe8870b47e8cc8102384a550f5635ef479fbabe08d5f0f462f1aa0b53a48358ab5c390b8d06335b139123aacf6be06b55ea744473cf5e3ed5b9ed0
7
- data.tar.gz: 577505c5809ddb8dae6a2a2cecfb892f4ae699283b20c5dff01559be24b1e095fc0f6f9b4a66ea312f21f3ac109da872c96bc8461408ab3f251abec7a7d60d65
6
+ metadata.gz: 13bf4c979dd34367ad6ecfb115d3b8e2d4a2788dc53a80820446292c629479f33102bd9ec943be3926ad1fd8b2cb9b6a0c3ff292484359f51aa1fc131ecdf438
7
+ data.tar.gz: 1b7d1b3233e009170f7354997f623ff35a2e7632e5cc5fae79ef26b4466300a2daa85b97d2f22f849e9f24b809d9dca3e52196dcea366751220cbdbb64f02904
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # TelegraphApi
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/telegraph_api`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- TODO: Write usage instructions here
23
+ ```ruby
24
+ require 'telegraph_api'
26
25
 
27
- ## Development
26
+ page = Telegraph::Page.get(path: 'Sample-Page-12-15')
27
+ ```
28
28
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
29
+ Gem provides two namespaces for common usage:
30
30
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
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/[USERNAME]/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.
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
@@ -1,5 +1,5 @@
1
1
  module Telegraph
2
2
  module Api
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
@@ -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/telegraph_api"
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.0
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/telegraph_api
160
+ homepage: https://github.com/deff7/ruby_telegraph_api
161
161
  licenses:
162
162
  - MIT
163
163
  metadata: