livefyre 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTUwODdmZjljOWQwZmZiZGQzODdlMDMzMmMzNTQ0ZjAyNDhkNTFlNQ==
4
+ YWNlMjA0YzI2MmY2MTE4ZDVjODFhMmIyOWU4NGQ4MjY5NDBlMGQ2ZQ==
5
5
  data.tar.gz: !binary |-
6
- ZmIyYjY3MDY4OWExYjYwMTZjM2MzNzMxZWViNTVmMTZkOWE5MmY3YQ==
6
+ YmNkMGRkZWE5MDY3N2Y1NmM2MDI2NzFiNjg0ZjcwMTkxMTA0NDAyOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTY1ZGI1NDlhZDlkZjg3MWZjZmRjYWNkMzQyZmY0MDk1MmZkYjgzMDI1NWEy
10
- MzRhZGE1NGNjZjdiZTVjNmM0ZGUyMjc5NTI5NjMyNDZjMTAwZTg2YzNjYTcx
11
- MDg2NWU2OGU5NTllYzdlYjVlZjIyNjk4N2M0NWFhNTFiYzNjOGU=
9
+ ZmY0ODM1ZmZiMzk1Y2EwNzJmMmFjY2MwMTc2ZDc2NTY2MjlhNTFjZDI3YmE4
10
+ ZjcwNDI2NWQxMzkwZjZmNDJlOTk0YWJhMzZiMTEyMjhjZDUwZjc0MGMwN2Mz
11
+ NDNiMmJlOTFlZmVlYWVhYjE0MWFmNzYyMmMwOWY3M2E0ZDdkMDE=
12
12
  data.tar.gz: !binary |-
13
- ZjEzMWM2Y2RjYTY5OWFkN2E1NzZmNTNkOGU4ODZmOTAyMjE0ZmUwZjRiMGMy
14
- Nzc3NWRmMmU4MGUyYWIxNTYzZWVlZmQ5ZGU3ZDA4NTQ0ODYxYTE2YTlhNGM2
15
- Nzg4YjgzOTQ5NDhhZThmODgzODIzODEzYjYwNjgxNjU5ZDYyMDU=
13
+ MDRlYmJjN2U5MWExNmUyZWI4ZDUzYmYyYmU4ZDliMGIxMzdhM2Y4YWIwZjg1
14
+ NjkyNzZmYWRkM2E0ZTg0ZGRhNWM2NTQ5MDVkZTU3ZjM0ZDQ4NjkyYTQ5ZGJm
15
+ OTRhM2ZlZTUzZDg0MjBmZWU4NzQ3OThjZDBmNzhhZjNkNDFjYjg=
data/CHANGELOG ADDED
@@ -0,0 +1,3 @@
1
+ === 1.1.4 2014-05-07
2
+
3
+ * Added changelog.
data/lib/livefyre/core.rb CHANGED
@@ -63,8 +63,7 @@ module Livefyre
63
63
  end
64
64
 
65
65
  class Site
66
- TYPE = ['reviews', 'sidenotes']
67
- STREAM_TYPE = ['liveblog', 'livechat', 'livecomments']
66
+ TYPE = ['reviews', 'sidenotes', 'ratings', 'counting', 'liveblog', 'livechat', 'livecomments']
68
67
 
69
68
  def initialize(network_name, site_id, site_key)
70
69
  @network_name = network_name
@@ -85,8 +84,6 @@ module Livefyre
85
84
  if type
86
85
  if TYPE.include? type
87
86
  collection_meta[:type] = type
88
- elsif STREAM_TYPE.include? type
89
- collection_meta[:stream_type] = type
90
87
  else
91
88
  raise ArgumentError, 'type is not a recognized type. should be liveblog, livechat, livecomments, reviews, sidenotes, or an empty string'
92
89
  end
@@ -1,3 +1,3 @@
1
1
  module Livefyre
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
@@ -47,7 +47,7 @@ describe Livefyre::Network::Site do
47
47
  @token = @site.build_collection_meta_token('', '', 'http://livefyre.com', '', 'liveblog')
48
48
  @decoded = JWT.decode(@token, 'siteKey')
49
49
 
50
- expect(@decoded['stream_type']).to eq('liveblog')
50
+ expect(@decoded['type']).to eq('liveblog')
51
51
  end
52
52
 
53
53
  it 'should return a collection meta token' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livefyre
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Livefyre
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-23 00:00:00.000000000 Z
11
+ date: 2014-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -126,6 +126,7 @@ extensions: []
126
126
  extra_rdoc_files: []
127
127
  files:
128
128
  - .gitignore
129
+ - CHANGELOG
129
130
  - Gemfile
130
131
  - LICENSE.txt
131
132
  - README.md