transloadit_fetcher 0.0.1 → 0.0.2

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: e28abc03fbe22c43ec50854a9d8db75f945593da
4
- data.tar.gz: 809c690374503db56e43360fe1f0cdbc1a2c4e38
3
+ metadata.gz: 5f17b8a55c8400f9beb278ea471440cad4b49e5f
4
+ data.tar.gz: c8b87ad0272c7701bda9ed091ea67c69e0d6e9be
5
5
  SHA512:
6
- metadata.gz: 192d617abeb7389c4738e8ecb0e7ada1973d5a5de2cf43a3dcbfb41b49fb5ee6fcbb07f86ffbf3cbf548dda92779c16c2b5b579b39841c02c5067884898cc487
7
- data.tar.gz: 28d0d9d3c3a23c7623507996553e4e2da560bcec2b021c554dc242ac585f62b55dc7ca1b4c99a0453ad6556f490edd21d1d89ce8ff61f280c2c7c61b595eb4f2
6
+ metadata.gz: 028be59dbea31f7016f8a4d515a1acd006a33682cae176d7b7407fa25ccc6e4d71b7dd7d178424cf451c4c62f5ed04b30eb350a2c028aa351815e82637bc413c
7
+ data.tar.gz: 942b1e8447f60126b4d1275722689e8381130d0b514966570d84f452f1ac5ecc52f82b996abc6c7d50fc51498cd0af50863a897b470ed5e28d126e46494565b8
data/Readme.md CHANGED
@@ -5,6 +5,8 @@ In order to simulate the notification process you must visit your Transloadit da
5
5
 
6
6
  It checks for new assemblies every minute, only fetching ones created since it last found any assemblies. It pulls these down, and performs a POST to a URL of your choosing that emulates the Transloadit assembly notification.
7
7
 
8
+ The current version is **0.0.2**
9
+
8
10
  # Installation
9
11
 
10
12
  In your gemfile:
@@ -23,13 +25,14 @@ Find your API Key and Secret here: https://transloadit.com/accounts/credentials
23
25
 
24
26
  The `-l` tells it to loop and check every 1 minute.
25
27
 
26
-
27
- If you'd like you may run `bundle install --binstubs` and then run transloadit_fetcher with
28
-
29
- `bin/transloadit_fetcher -l my_api_key my_api_secret http://127.0.0.1:3000`
30
-
31
28
  #### ToDo:
32
29
 
33
30
  * Improve handling of first fetch. It probably should just fetch all assemblies that were created in the last minute
34
31
  * Add some better output depending on the response code of the HTTP POST.
35
- * General Code cleanup
32
+ * General Code cleanup
33
+
34
+
35
+ #### Changelog:
36
+ 0.0.2 - Fix bug causing `since` parameter to be lost.
37
+
38
+ 0.0.1 - Initial release
@@ -19,7 +19,7 @@ class TransloaditFetcher
19
19
  end
20
20
  assemblies = request_assembly_list( {since: since, page_size: page_size} )
21
21
 
22
- latest_time = nil
22
+ latest_time = since
23
23
 
24
24
  assemblies.each do |assembly|
25
25
  created_time = Time.parse(assembly["created"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transloadit_fetcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben McFadden