social_rails 3.0.1 → 3.2.0

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: d921eab8387ce535949dc3f25f1e4d01459246c0
4
- data.tar.gz: 14457fc0fbb6bd5166bda3612f2b4dab3aa791ed
3
+ metadata.gz: 444cea1bd3846f4af0fc720f6e9d690865319a89
4
+ data.tar.gz: 87b2f88fc56eafbfcd70c451b0daffba912b017b
5
5
  SHA512:
6
- metadata.gz: 91dadfb175bfde91df14ab96d3060e23da368bd9fec08fc94a2a05270838a28f5a5c0c4c8c7e2250e007bcf68119bb7e8794359493c15da28bf5af72667787f6
7
- data.tar.gz: edecc19819ad39acad04675ef33102de7867f3a3550131f63742d55de1f515eadd38036b5a552a5d40973a228a5ba48b54c1db44150e4e09de4c9d0c8ae2e74a
6
+ metadata.gz: d9d9d2172f6dc1bb7244045f7ceea809edefd42569bf399e5de22ed5c0ce3175ecaaf18f28c71ef688b8d9c3e2430785503fe684e518204ce8abe24698455222
7
+ data.tar.gz: b17f34feda500852ee1f25e8730e8a545a37d65dd208b0ba3f20add6bfea75510ed5d6dc345b019c72338561f7d0718f3123ee73f5a539d597128edd2a23eee9
@@ -34,10 +34,10 @@ module SocialRails
34
34
 
35
35
  if !the_content.nil?
36
36
  config = "SocialRails::API::#{api.to_s.capitalize}".constantize.config
37
- for i in 0..config.public[:post_count] - 1
37
+ the_content.each do |post_content|
38
38
  posts.push("SocialRails::Helpers::#{api.to_s.capitalize}".constantize.new(
39
39
  self,
40
- the_content[i],
40
+ post_content,
41
41
  SocialRails::API::#{api.to_s.capitalize}.uid,
42
42
  config
43
43
  ))
@@ -1,3 +1,3 @@
1
1
  module SocialRails
2
- VERSION = '3.0.1'
2
+ VERSION = '3.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis G
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-22 00:00:00.000000000 Z
11
+ date: 2018-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 2.5.2
141
+ rubygems_version: 2.6.14
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Ease the pain of integrating social media posts in a Rails app.