feed2gram 1.3.0 → 1.4.0

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
  SHA256:
3
- metadata.gz: 73e7d2df466144a3e956cc38742d783cce241a65894beaa90e7b332ee1b99ea6
4
- data.tar.gz: 9b58a6e07f42adcae0b86969f01d84df77480e2db7831a6b98dd48ab67159ac1
3
+ metadata.gz: 6d7df2ec80dbb74a17c949d313295b78f9c12e12d8d7c0a877f9c88fc1c47927
4
+ data.tar.gz: f3f2f81adbcc099187b9ae217515fe413d51a06aaa6d891030da95787d2e7a3f
5
5
  SHA512:
6
- metadata.gz: a46c7e7ca41c516c88ed3f12fee71506a5b24f280dd784d53c787cc910027bebb3b37fda1f364ad6b8dd84e9d5460ee569c4e7ff3a2eb480195b3ce6a6ddb8a4
7
- data.tar.gz: 4a1c63c08f0ddf6693e587f2a2bd78c94e1638cd68471f54a50cd1d1df4c67ac8fbb876a402ac9b8d63e018f20ad5c415ce90b0d487bfc26b1950524c3f07054
6
+ metadata.gz: 97bf528875a41fc41ec81ef8ef72d03ff26f065ff08c4635a2efbd9125df621eae135f18c310a914ce3547f38959e6a6e837eb48e36fe9f33678fb3268a4c3ca
7
+ data.tar.gz: 70fd8c087f0b20b95206a9f9bed950f4be3cd4e88e41e7de43039588d1f9ce2d5cd19e5b94ca76ca7166472a2677307ea609aee4172b7c9cf700312115170b16
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [1.4.0]
2
+
3
+ * Allow up to 20 pieces of media in carousel posts
4
+
1
5
  ## [1.3.0]
2
6
 
3
7
  * Add undocumented methods for using the gem as an API. I leave figuring out its
data/README.md CHANGED
@@ -238,3 +238,12 @@ It means your photo is too avant garde for a mainstream normie platform like
238
238
  Instagram. Make sure all images' aspect ratios are between 4:5 and 1.91:1 or
239
239
  else the post will fail.
240
240
 
241
+ ### How do I test this thing? It's not allowing any of my videos
242
+
243
+ The hardest thing about testing this (other than the _everything about it_) is
244
+ that the API is way stricter about video formats than the app is, since the app
245
+ processes them for you. Here are two example videos the API _will accept_ from
246
+ the [official example repo](https://github.com/fbsamples/reels_publishing_apis/tree/main/insta_reels_publishing_api_sample):
247
+
248
+ * https://static.videezy.com/system/resources/previews/000/014/045/original/30_seconds_digital_clock_display_of_sixteen_segments.mp4
249
+ * https://static.videezy.com/system/resources/previews/000/032/359/original/MM008645___BOUNCING_FRUIT_009___1080p___phantom.mp4
@@ -134,7 +134,7 @@ module Feed2Gram
134
134
  end
135
135
 
136
136
  def publish_carousel(post, config, options)
137
- media_containers = post.medias.take(10).map { |media|
137
+ media_containers = post.medias.take(20).map { |media|
138
138
  puts "Creating media resource for URL - #{media.url}" if options.verbose
139
139
  create_carousel_media_container(media, config)
140
140
  }
@@ -1,3 +1,3 @@
1
1
  module Feed2Gram
2
- VERSION = "1.3.0"
2
+ VERSION = "1.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feed2gram
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-03 00:00:00.000000000 Z
11
+ date: 2024-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  requirements: []
80
- rubygems_version: 3.5.11
80
+ rubygems_version: 3.5.23
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: Reads an Atom feed and posts its entries to Instagram