conversocial 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ab11c32b300c1ed689033d453cd12f5adf2b878
4
- data.tar.gz: ec30b42553642dc80875d15bb793bd9546694bcf
3
+ metadata.gz: cd5391669fb7b337fafadf1f2345946e680305ee
4
+ data.tar.gz: 0f1aff374699fa9d68dec55eda315e0cadc88636
5
5
  SHA512:
6
- metadata.gz: ca7341f396e2cbe583cb948783880eb72b96035705c432c535809635a2696a5a00751a0b4e7be09381447795821675830d888590559da6f744b5def21460ef69
7
- data.tar.gz: b4dde8d4c0429669fc3b724b2d3d819927edba1ff77ef5117ac9fc7dbc186cacbbcf84b3fb2257084e87848b04d53c5cff12c97752c9e9c408d0d8298fa915fd
6
+ metadata.gz: 780aa670a939f2401b4aec2da2a78d06b07b6e8f555a162a60f4095e2b0e55d16a58670e9ce91d5335d9e4bc4f25bb5bc97ae256ed18bc17e463b4bec340f8ff
7
+ data.tar.gz: 51afe9ebbb71953bae4b9806707d50f47450045b70ce3304efd52222b418fe58f5e27bbee7cc9d22fc58981301750c21d0e2b672b1b88e3e92aa283a02a2b9e4
data/README.md CHANGED
@@ -115,9 +115,13 @@ Using the pagination api is the best way to enumerate through an entire dataset
115
115
 
116
116
  To get all the conversations for today
117
117
 
118
- client.conversations.greater_than_or_equal_to(:oldest_sort_date, Date.today ).limit(50).each_page do | |conversations|
118
+ client.conversations.greater_than_or_equal_to(:oldest_sort_date, Date.today ).limit(50).each_page do |conversations|
119
119
  conversations.each do |conversation|
120
- puts "processing conversation #{conversation.id}"
120
+ puts "conversation #{conversation.id}"
121
+ conversation.contents.each do |content|
122
+ puts "#{content.author.real_name}: #{content.text}"
123
+ end
124
+ puts "\n"
121
125
  end
122
126
  end
123
127
 
@@ -3,13 +3,13 @@ module Conversocial
3
3
  module Models
4
4
  class Content < Base
5
5
  def self.fields
6
- %w{attachments parent author is_priority text tags sentiment channels platform link created_date type id is_private}
6
+ %w{attachments parent author is_priority text tags sentiment channels platform platform_id link created_date type id is_private}
7
7
  end
8
8
  attributize_tags
9
9
 
10
-
11
-
12
-
10
+ def refresh
11
+ self
12
+ end
13
13
  end
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Conversocial
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conversocial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Misha Conway