instagrammer 0.2.0 → 0.2.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
  SHA256:
3
- metadata.gz: c3a1ab2d4f1152a6bf11cdb8b1b6056feeeb0dad5947d57ca20892b0c70b2756
4
- data.tar.gz: 9fbcd09a13b62e6b35610a115a3bf156b5811abf85cf2c6651973e848808c3f3
3
+ metadata.gz: 44bbb972c061472e9e2a8317f0f80b10823337bfc2b3a1b471828fbecfd2ee3e
4
+ data.tar.gz: 43eabc1aed2ee83a643ece5a3ff497b0f4fb365f7f6ea97d9dd25cb3959b779c
5
5
  SHA512:
6
- metadata.gz: 43be16412153206a20a053232c664f26607c71beb84b50cd57e8214961f6bfa24ffd426929665311ad967ce1a10f33fcd6983bf09e494957f4d95b264f3763de
7
- data.tar.gz: b72aec029920c4e24794ce657fd3b1900557bfcde326791b59adac3adb34124738e17d3fafc5d6ec3dcf44b867ddf7e67d0752f07251245f84383a0bd160ace7
6
+ metadata.gz: e610abe849dc2f1824780e47e8608d4899655f1223d0e07d6c7e466949dcdce219154199015b17a34abc15064366c53b6162122c79752bd30bb6bc9e3f522926
7
+ data.tar.gz: 07443b7b020bf22292f556c2db7cd0e77fc23e85b2f6e841c9c3bc55ae59270bbacc4f4598230a89509fc7684219697a269b7d259c3bed4e83a61dd471d52520
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.2.1] - 2019-07-14
10
+ ### Changed
11
+ - Remove custom #inspect output as this interferes with lazy data loading
12
+
9
13
  ## [0.2.0] - 2019-07-14
10
14
  ### Changed
11
15
  - Refactor page status internals
@@ -11,13 +11,6 @@ class Instagrammer::Post
11
11
  @data = nil
12
12
  end
13
13
 
14
- def inspect
15
- attributes = %i(shortcode caption upload_date comment_count like_count)
16
- attributes += %i(image_url image_urls) if photo?
17
- attributes << "watch_count" if video?
18
- "#<#{self.class.name}:#{object_id} #{attributes.map { |attr| "#{attr}:#{send(attr).inspect}" }.join(", ")}>"
19
- end
20
-
21
14
  def public?
22
15
  get_data unless @data
23
16
  @status == :public
@@ -12,11 +12,6 @@ class Instagrammer::User
12
12
  @posts = []
13
13
  end
14
14
 
15
- def inspect
16
- attributes = %i(follower_count following_count post_count name username avatar bio url posts)
17
- "#<#{self.class.name}:#{object_id} #{attributes.map { |attr| "#{attr}:#{send(attr).inspect}" }.join(", ")}>"
18
- end
19
-
20
15
  def public?
21
16
  get_data unless @data
22
17
  @status == :public
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Instagrammer
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instagrammer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Venneman