tumblikes 0.1.4 → 0.1.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -5
  3. data/lib/tumblikes/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac2c9646c030b81149ee5319b40e0829fe691df4
4
- data.tar.gz: 3cc597f171580bdefd4251d58f2099050f8e6902
3
+ metadata.gz: 451bbfef938d8fe329c2ba002e6658e175b90fa5
4
+ data.tar.gz: 6c5a4b4edb6d617e42a0d8d4bc0285e900ad9c09
5
5
  SHA512:
6
- metadata.gz: 165df65a40ea72b2b211ee3c18ecbabf4112e68d3c6c26029e1b04196d6d5da612af3cc5f5f6dbe6b018aae97edb4e16c0cf1d8d6be9c61a64045f07e5ab5996
7
- data.tar.gz: 8ca090e288196f45f26091a2972f34cc85331707c1133a8be6361daf2eb2684124e556b57f55f7fbcbd0652feec5a764200dc822aff15dbe3f42f8bd20865889
6
+ metadata.gz: c14313b472ba3f90dbc84592f805f0266ff27bf3c7c0a5b98a56e58bd903aceb0a4bcc1d4c74daa800ea1965f4274148f0da4bc459a9ac34eb26ee71b9da8072
7
+ data.tar.gz: a305016d2d380619cf82363dbce9192f6578c9e4966330f52d72367f4beac91e0aabffb3c14277fc9cab225fa5e499cdd4bf9a770abaf5fdf3b605632df405c3
data/README.md CHANGED
@@ -38,9 +38,21 @@ tumblikes = Tumblikes::Client.new(
38
38
  ```
39
39
 
40
40
  ### Quick Example
41
+ #### Liked Count
42
+ ```ruby
43
+ tumblikes.liked_count
44
+ # => 5729
45
+ ```
41
46
 
47
+ #### Image Urls
42
48
  ```ruby
43
49
  tumblikes.image_urls
50
+ # => [
51
+ # "https://xx.media.tumblr.com/xxx/tumblr_1.jpg",
52
+ # "https://xx.media.tumblr.com/xxx/tumblr_2.jpg",
53
+ # "https://xx.media.tumblr.com/xxx/tumblr_3.jpg",
54
+ # ...
55
+ # ]
44
56
  ```
45
57
 
46
58
  You can use following options.
@@ -49,11 +61,13 @@ You can use following options.
49
61
 
50
62
  ```ruby
51
63
  tumblikes.image_urls(limit: 5, offset: 100)
52
- # => ["https://xx.media.tumblr.com/xxxxxxxx/tumblr_xxxxx.jpg",
53
- # "https://xx.media.tumblr.com/xxxxxxxx/tumblr_xxxxx.jpg",
54
- # "https://xx.media.tumblr.com/xxxxxxxx/tumblr_xxxxx.jpg",
55
- # "https://xx.media.tumblr.com/xxxxxxxx/tumblr_xxxxx.jpg",
56
- # "https://xx.media.tumblr.com/xxxxxxxx/tumblr_xxxxx.jpg"]
64
+ # => [
65
+ # "https://xx.media.tumblr.com/xxx/tumblr_100.jpg",
66
+ # "https://xx.media.tumblr.com/xxx/tumblr_101.jpg",
67
+ # "https://xx.media.tumblr.com/xxx/tumblr_102.jpg",
68
+ # "https://xx.media.tumblr.com/xxx/tumblr_103.jpg",
69
+ # "https://xx.media.tumblr.com/xxx/tumblr_104.jpg"
70
+ # ]
57
71
  ```
58
72
 
59
73
  ## Contributing
@@ -1,3 +1,3 @@
1
1
  module Tumblikes
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tumblikes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - zdomga