storageroom-to-contentful 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0cb61b017fd2709774ae5f7b4a90278a856e5e3f
4
+ data.tar.gz: 177892430ef55b4cb4d235513728aff560260423
5
+ SHA512:
6
+ metadata.gz: fb3b12ff8b2b4784f59a917e720297cd721bff7df2d2467fc254680a7e4cbb36b9ec6242d0335f37df93c2b2cb8fe3222383e019c646f096b6aeeb318bc0e85f
7
+ data.tar.gz: 0bd37d017e8c36aadfb5b20af07482a93dcc0a4b79b132a9c0bded933d796258187c1052f670ac5c39e88c85d3db04b183281fb5ce20953ceb250faee597e1fe
@@ -2,5 +2,4 @@ language: ruby
2
2
  rvm:
3
3
  - 2.0.0
4
4
  - 1.9.3
5
- - jruby-19mode
6
5
  - rbx-2
@@ -1,7 +1,18 @@
1
1
  # Change Log
2
- ## 0.0.3 - 2014-09-26
3
2
 
4
- ## Added
3
+ ## 0.0.4 - 2014-10-07
4
+ ### Fixed
5
+ * Storage Room export only exporting the first 20 records #19
6
+
7
+ ### Added
8
+ * Test for StorageRoom and Contentful credentials
9
+
10
+ ### Fixed
11
+ * Import StorageRoom Array as Contentful Array
12
+
13
+ ## 0.0.3 - 2014-09-26
14
+ ### Added
5
15
  * check_boxes and html_editor translations
6
- ## Removed
16
+
17
+ ### Removed
7
18
  * simplecov gem
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- storageroom-to-contentful (0.0.3)
4
+ storageroom-to-contentful (0.0.4)
5
5
  contentful-management (~> 0.2)
6
6
  http (~> 0.6)
7
7
  i18n (~> 0.6)
@@ -25,7 +25,7 @@ GEM
25
25
  http_parser.rb (0.6.0)
26
26
  i18n (0.6.11)
27
27
  multi_json (1.10.1)
28
- parser (2.2.0.pre.4)
28
+ parser (2.2.0.pre.5)
29
29
  ast (>= 1.1, < 3.0)
30
30
  slop (~> 3.4, >= 3.4.5)
31
31
  powerpack (0.0.9)
@@ -35,14 +35,14 @@ GEM
35
35
  rspec-core (~> 3.1.0)
36
36
  rspec-expectations (~> 3.1.0)
37
37
  rspec-mocks (~> 3.1.0)
38
- rspec-core (3.1.4)
38
+ rspec-core (3.1.5)
39
39
  rspec-support (~> 3.1.0)
40
- rspec-expectations (3.1.1)
40
+ rspec-expectations (3.1.2)
41
41
  diff-lcs (>= 1.2.0, < 2.0)
42
42
  rspec-support (~> 3.1.0)
43
- rspec-mocks (3.1.1)
43
+ rspec-mocks (3.1.2)
44
44
  rspec-support (~> 3.1.0)
45
- rspec-support (3.1.0)
45
+ rspec-support (3.1.1)
46
46
  rubocop (0.26.1)
47
47
  astrolabe (~> 1.3)
48
48
  parser (>= 2.2.0.pre.4, < 3.0)
@@ -50,10 +50,10 @@ GEM
50
50
  rainbow (>= 1.99.1, < 3.0)
51
51
  ruby-progressbar (~> 1.4)
52
52
  ruby-progressbar (1.6.0)
53
- safe_yaml (1.0.3)
53
+ safe_yaml (1.0.4)
54
54
  slop (3.6.0)
55
55
  vcr (2.9.3)
56
- webmock (1.18.0)
56
+ webmock (1.19.0)
57
57
  addressable (>= 2.3.6)
58
58
  crack (>= 0.3.2)
59
59
 
data/README.md CHANGED
@@ -2,9 +2,13 @@ StorageRoom to Contentful
2
2
  =================
3
3
 
4
4
  ## Description
5
- This tool can be used to migrate data from [StorageRoom](http://storageroomapp.com/) to the [Contentful](https://www.contentful.com) platform.
6
5
 
7
- It exports the data from StorageRoom as JSON to the local hard drive, tries to convert the data to the Contentful data types and allows to recreate the data on Contentful.
6
+ [StorageRoom](http://storageroomapp.com/) will be **shut down** on **1/1/2015**. This tool can be used to:
7
+
8
+ 1. migrate content from StorageRoom to the [Contentful](https://www.contentful.com) platform, which provides a similar feature set
9
+ 2. export your StorageRoom content without importing it into Contentful
10
+
11
+ This tool exports the content from StorageRoom as JSON to your local hard drive. It will suggest the field types to use on Contentful and will allow you to recreate all the content on Contentful.
8
12
 
9
13
 
10
14
  ## Installation
@@ -27,10 +31,10 @@ ORGANIZATION_ID: organization_id
27
31
 
28
32
  #StorageRoom
29
33
  ACCOUNT_ID: account_id
30
- APPLICATION_API_KEY: application_key_id%
34
+ APPLICATION_API_KEY: application_key_id
31
35
  ```
32
36
 
33
- Your Contentful access token can be easiest created using the [Contentful Management API - documentation](https://www.contentful.com/developers/documentation/content-management-api/#getting-started)
37
+ **Your Contentful access token can be easiest created using the [Contentful Management API - documentation](https://www.contentful.com/developers/documentation/content-management-api/#getting-started)**
34
38
  The Contentful organization id can be found in your account settings.
35
39
 
36
40
  Once you installed the Gem and created the YAML file with the credentials you can invoke the tool using:
@@ -48,9 +52,12 @@ Actions:
48
52
  3. Import collections to Contentful.
49
53
  4. Import entries to Contentful.
50
54
  5. Publish all entries on Contentful.
55
+ 6. Test credentials
51
56
  ```
52
57
 
58
+ ## Test credentials
53
59
 
60
+ Before you start importing/exporting the data, you can test if the credentials that you use are correct.
54
61
 
55
62
  ##Step 1 - Export data from StorageRoom to JSON files:
56
63
 
@@ -9,7 +9,7 @@ en:
9
9
  json_field: Object
10
10
  radio: Boolean
11
11
  checkbox: Boolean
12
- check_boxes: Boolean
12
+ check_boxes: Array
13
13
  array_field: Array
14
14
  text_area: Text
15
15
  html_editor: Text
@@ -9,6 +9,30 @@ class ContentfulImporter
9
9
  Contentful::Management::Client.new(CREDENTIALS['ACCESS_TOKEN'])
10
10
  end
11
11
 
12
+ def test_credentials
13
+ test_contetful_credentials
14
+ test_storageroom_credentials
15
+ end
16
+
17
+ def test_contetful_credentials
18
+ space = Contentful::Management::Space.all
19
+ if space.is_a? Contentful::Management::Array
20
+ puts 'Contentful Management API credentials: OK'
21
+ end
22
+ rescue NoMethodError => e
23
+ puts 'Contentful Management API credentials: INVALID (check README)'
24
+ end
25
+
26
+ def test_storageroom_credentials
27
+ request = StorageRoomExporter.new.send(:get_request, 'collections')
28
+ if request.is_a? Hash
29
+ puts 'StorageRoom API credentials: OK'
30
+ end
31
+ rescue RuntimeError => e
32
+ puts 'StorageRoom API credentials: INVALID (check README)'
33
+ puts e
34
+ end
35
+
12
36
  def create_space
13
37
  puts 'Name for a new created space on Contentful:'
14
38
  name_space = gets.strip
@@ -259,4 +283,5 @@ class ContentfulImporter
259
283
  field.link_type = params['link_type']
260
284
  end
261
285
  end
286
+
262
287
  end
@@ -13,6 +13,7 @@ Actions:
13
13
  3. Import collections to Contentful.
14
14
  4. Import entries to Contentful.
15
15
  5. Publish all entries on Contentful.
16
+ 6. Test credentials.
16
17
  -> Choose on of the options:
17
18
  eoruby
18
19
 
@@ -33,6 +34,8 @@ Actions:
33
34
  contentful_importer.import_entries
34
35
  when 5
35
36
  contentful_importer.publish_all_entries
37
+ when 6
38
+ contentful_importer.test_credentials
36
39
  end
37
40
  end
38
41
 
@@ -2,8 +2,12 @@ require 'uri'
2
2
  require 'net/http'
3
3
 
4
4
  class StorageRoomExporter
5
+
6
+ PAGE_SIZE = 100
7
+
5
8
  attr_reader :collections
6
9
 
10
+
7
11
  def export_collections
8
12
  puts 'Exporting collections:'
9
13
  collections.each do |collection|
@@ -70,8 +74,10 @@ class StorageRoomExporter
70
74
  @collections ||= get_request('collections')['array']['resources']
71
75
  end
72
76
 
73
- def get_request(path)
74
- uri = URI.parse("#{STORAGE_ROOM_URL}#{CREDENTIALS['ACCOUNT_ID']}/#{path}.json?auth_token=#{CREDENTIALS['APPLICATION_API_KEY']}")
77
+ def get_request(path, page= nil)
78
+ url = "#{STORAGE_ROOM_URL}#{CREDENTIALS['ACCOUNT_ID']}/#{path}.json?auth_token=#{CREDENTIALS['APPLICATION_API_KEY']}&per_page=#{PAGE_SIZE}"
79
+ url += "&page=#{page}" if page
80
+ uri = URI.parse(url)
75
81
  http = Net::HTTP.new(uri.host, uri.port)
76
82
  request = Net::HTTP::Get.new(uri.request_uri)
77
83
  response = http.request(request)
@@ -91,6 +97,14 @@ class StorageRoomExporter
91
97
  end
92
98
 
93
99
  def entries(collection)
94
- get_request("collections/#{collection_id(collection)}/entries")['array']['resources']
100
+ entries = []
101
+ page = 1
102
+ begin
103
+ response = get_request("collections/#{collection_id(collection)}/entries", page)['array']
104
+ total = response['@total_resources']
105
+ entries += response['resources']
106
+ page += 1
107
+ end while entries.size < total
108
+ entries
95
109
  end
96
110
  end
@@ -1,3 +1,3 @@
1
1
  module Version
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.storageroomapp.com/accounts/account_id/collections.json?auth_token=application_api_key
5
+ uri: http://api.storageroomapp.com/accounts/account_id/collections.json?auth_token=application_api_key&per_page=100
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -21,11 +21,11 @@ http_interactions:
21
21
  Server:
22
22
  - nginx/1.1.19
23
23
  Date:
24
- - Wed, 17 Sep 2014 08:29:01 GMT
24
+ - Tue, 07 Oct 2014 07:50:26 GMT
25
25
  Content-Type:
26
26
  - application/json; charset=utf-8
27
27
  Content-Length:
28
- - '9474'
28
+ - '3895'
29
29
  Connection:
30
30
  - keep-alive
31
31
  Status:
@@ -33,21 +33,14 @@ http_interactions:
33
33
  X-Ua-Compatible:
34
34
  - IE=Edge,chrome=1
35
35
  Etag:
36
- - '"07493a7a638d7722da61013620286fd9"'
36
+ - '"31a0bb86725e09278c8ba8fd04a48a89"'
37
37
  Cache-Control:
38
38
  - max-age=0, private, must-revalidate
39
39
  Accept-Ranges:
40
40
  - bytes
41
41
  body:
42
42
  encoding: UTF-8
43
- string: '{"array":{"@url":"http://api.storageroomapp.com/accounts/account_id/collections","@type":"Array","resources":[{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F4d96091dba0561733300001b","@version":6,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2014-09-15T07:12:43Z","name":"Announcements","note":"","entry_type":"Announcement","primary_field_identifier":"text","fields":[{"@type":"StringField","name":"Text","identifier":"text","show_in_interface":true,"edit_in_interface":true,"input_type":"text_area","required":true,"include_blank_choice":false},{"@type":"StringField","name":"Locale","identifier":"locale","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":["en","de"]},{"@type":"StringField","name":"Type","identifier":"type","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":["announcement"]},{"@type":"StringField","name":"Link","identifier":"link","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"FileField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","hint":"Upload
44
- an icon image"}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"http://www.postbin.org/195aj9e","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true},{"@type":"WebhookDefinition","url":"https://www.example2.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]},{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F4dff88d74d085d6010000033","@version":7,"@created_at":"2011-06-20T17:52:23Z","@updated_at":"2011-08-21T09:14:50Z","name":"Category","note":null,"entry_type":"Category","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","required":true,"include_blank_choice":false}],"webhook_definitions":[]},{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F540d6d001e29fa3541000d2d","@version":5,"@created_at":"2014-09-08T08:46:56Z","@updated_at":"2014-09-15T06:54:19Z","name":"Codequest","note":"Testing","entry_type":"Codequest","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"IntegerField","name":"Number","identifier":"number","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"FloatField","name":"Float","identifier":"float1","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"BooleanField","name":"Boolean","identifier":"boolean","show_in_interface":true,"edit_in_interface":true,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"DateField","name":"Date","identifier":"date","show_in_interface":true,"edit_in_interface":true,"input_type":"date_picker","include_blank_choice":false},{"@type":"TimeField","name":"Time","identifier":"time","show_in_interface":true,"edit_in_interface":true,"input_type":"time_picker","include_blank_choice":false},{"@type":"LocationField","name":"Location","identifier":"location","show_in_interface":true,"edit_in_interface":true,"input_type":"location"},{"@type":"FileField","name":"File","identifier":"file","show_in_interface":true,"edit_in_interface":true,"input_type":"file"},{"@type":"ImageField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","versions":[]},{"@type":"ArrayField","name":"Array","identifier":"array","show_in_interface":true,"edit_in_interface":true,"input_type":"array_field"},{"@type":"OneAssociationField","name":"Entry","identifier":"entry","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005"},{"@type":"ManyAssociationField","name":"Entries","identifier":"entries","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033"},{"@type":"JsonField","name":"Object","identifier":"object_json","show_in_interface":true,"edit_in_interface":true,"input_type":"json_field"}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"https://www.example.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true},{"@type":"WebhookDefinition","url":"https://www.example2.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]},{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F4d960916ba05617333000005","@version":12,"@created_at":"2011-04-01T17:19:18Z","@updated_at":"2013-03-01T07:58:20Z","name":"Restaurants","note":"","entry_type":"Restaurant","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","required":true,"include_blank_choice":false},{"@type":"StringField","name":"Text","identifier":"text","show_in_interface":true,"edit_in_interface":true,"input_type":"html_editor","required":true,"include_blank_choice":false},{"@type":"StringField","name":"Website","identifier":"website","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","required":true,"regexp":"/\\A(http|https)://[a-z0-9]+([-.]{1}[a-z0-9]+)*.[a-z]{2,5}(([0-9]{1,5})?/.*)?\\Z/ix","include_blank_choice":false},{"@type":"LocationField","name":"Location","identifier":"location","show_in_interface":true,"edit_in_interface":true,"input_type":"location","required":true},{"@type":"FileField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","hint":"Upload
45
- an image"},{"@type":"StringField","name":"Address","identifier":"address","show_in_interface":true,"edit_in_interface":true,"input_type":"text_area","required":true,"include_blank_choice":false},{"@type":"DateField","name":"Last
46
- Visit","identifier":"last_visit","show_in_interface":true,"edit_in_interface":true,"input_type":"date_picker","include_blank_choice":false},{"@type":"IntegerField","name":"Price
47
- Range","identifier":"price_range","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":[1,2,3]},{"@type":"IntegerField","name":"Stars","identifier":"stars","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":[1,2,3,4,5]},{"@type":"BooleanField","name":"Vegetarian
48
- Menu","identifier":"vegetarian_menu","show_in_interface":true,"edit_in_interface":true,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"FileField","name":"Preview
49
- Image","identifier":"preview_image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","hint":"Upload
50
- an preview image"}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"http://requestb.in/s802aas8","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]}]}}'
43
+ string: '{"array":{"@url":"http://api.storageroomapp.com/accounts/account_id/collections?per_page=100","@type":"Array","resources":[{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F540d6d001e29fa3541000d2d","@version":8,"@created_at":"2014-09-08T08:46:56Z","@updated_at":"2014-10-06T08:23:07Z","name":"Codequest","note":"Testing","entry_type":"Codequest","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"IntegerField","name":"Number","identifier":"number","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"FloatField","name":"Float","identifier":"float1","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"BooleanField","name":"Boolean","identifier":"boolean","show_in_interface":true,"edit_in_interface":true,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"DateField","name":"Date","identifier":"date","show_in_interface":true,"edit_in_interface":true,"input_type":"date_picker","include_blank_choice":false},{"@type":"TimeField","name":"Time","identifier":"time","show_in_interface":true,"edit_in_interface":true,"input_type":"time_picker","include_blank_choice":false},{"@type":"LocationField","name":"Location","identifier":"location","show_in_interface":true,"edit_in_interface":true,"input_type":"location"},{"@type":"FileField","name":"File","identifier":"file","show_in_interface":true,"edit_in_interface":true,"input_type":"file"},{"@type":"ImageField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","versions":[]},{"@type":"ArrayField","name":"Array","identifier":"array","show_in_interface":true,"edit_in_interface":true,"input_type":"array_field"},{"@type":"OneAssociationField","name":"Entry","identifier":"entry","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005"},{"@type":"ManyAssociationField","name":"Entries","identifier":"entries","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033"},{"@type":"JsonField","name":"Object","identifier":"object_json","show_in_interface":true,"edit_in_interface":true,"input_type":"json_field"},{"@type":"BooleanField","name":"checkbox","identifier":"checkbox","show_in_interface":true,"edit_in_interface":false,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"ArrayField","name":"wiele_wyborow","identifier":"wiele_wyborow","show_in_interface":true,"edit_in_interface":true,"input_type":"check_boxes","choices":["Dom","Chata","Palac","Baza","Hotel","Motel"]}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"https://www.example.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true},{"@type":"WebhookDefinition","url":"https://www.example2.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]}]}}'
51
44
  http_version:
52
- recorded_at: Wed, 17 Sep 2014 08:30:12 GMT
45
+ recorded_at: Tue, 07 Oct 2014 07:52:27 GMT
53
46
  recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.storageroomapp.com/accounts/account_id/collections.json?auth_token=application_api_key
5
+ uri: http://api.storageroomapp.com/accounts/account_id/collections.json?auth_token=application_api_key&per_page=100
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -21,11 +21,11 @@ http_interactions:
21
21
  Server:
22
22
  - nginx/1.1.19
23
23
  Date:
24
- - Wed, 17 Sep 2014 08:41:58 GMT
24
+ - Tue, 07 Oct 2014 07:51:07 GMT
25
25
  Content-Type:
26
26
  - application/json; charset=utf-8
27
27
  Content-Length:
28
- - '9474'
28
+ - '3895'
29
29
  Connection:
30
30
  - keep-alive
31
31
  Status:
@@ -33,21 +33,14 @@ http_interactions:
33
33
  X-Ua-Compatible:
34
34
  - IE=Edge,chrome=1
35
35
  Etag:
36
- - '"07493a7a638d7722da61013620286fd9"'
36
+ - '"31a0bb86725e09278c8ba8fd04a48a89"'
37
37
  Cache-Control:
38
38
  - max-age=0, private, must-revalidate
39
39
  Accept-Ranges:
40
40
  - bytes
41
41
  body:
42
42
  encoding: UTF-8
43
- string: '{"array":{"@url":"http://api.storageroomapp.com/accounts/account_id/collections","@type":"Array","resources":[{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F4d96091dba0561733300001b","@version":6,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2014-09-15T07:12:43Z","name":"Announcements","note":"","entry_type":"Announcement","primary_field_identifier":"text","fields":[{"@type":"StringField","name":"Text","identifier":"text","show_in_interface":true,"edit_in_interface":true,"input_type":"text_area","required":true,"include_blank_choice":false},{"@type":"StringField","name":"Locale","identifier":"locale","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":["en","de"]},{"@type":"StringField","name":"Type","identifier":"type","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":["announcement"]},{"@type":"StringField","name":"Link","identifier":"link","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"FileField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","hint":"Upload
44
- an icon image"}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"http://www.postbin.org/195aj9e","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true},{"@type":"WebhookDefinition","url":"https://www.example2.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]},{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F4dff88d74d085d6010000033","@version":7,"@created_at":"2011-06-20T17:52:23Z","@updated_at":"2011-08-21T09:14:50Z","name":"Category","note":null,"entry_type":"Category","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","required":true,"include_blank_choice":false}],"webhook_definitions":[]},{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F540d6d001e29fa3541000d2d","@version":5,"@created_at":"2014-09-08T08:46:56Z","@updated_at":"2014-09-15T06:54:19Z","name":"Codequest","note":"Testing","entry_type":"Codequest","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"IntegerField","name":"Number","identifier":"number","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"FloatField","name":"Float","identifier":"float1","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"BooleanField","name":"Boolean","identifier":"boolean","show_in_interface":true,"edit_in_interface":true,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"DateField","name":"Date","identifier":"date","show_in_interface":true,"edit_in_interface":true,"input_type":"date_picker","include_blank_choice":false},{"@type":"TimeField","name":"Time","identifier":"time","show_in_interface":true,"edit_in_interface":true,"input_type":"time_picker","include_blank_choice":false},{"@type":"LocationField","name":"Location","identifier":"location","show_in_interface":true,"edit_in_interface":true,"input_type":"location"},{"@type":"FileField","name":"File","identifier":"file","show_in_interface":true,"edit_in_interface":true,"input_type":"file"},{"@type":"ImageField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","versions":[]},{"@type":"ArrayField","name":"Array","identifier":"array","show_in_interface":true,"edit_in_interface":true,"input_type":"array_field"},{"@type":"OneAssociationField","name":"Entry","identifier":"entry","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005"},{"@type":"ManyAssociationField","name":"Entries","identifier":"entries","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033"},{"@type":"JsonField","name":"Object","identifier":"object_json","show_in_interface":true,"edit_in_interface":true,"input_type":"json_field"}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"https://www.example.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true},{"@type":"WebhookDefinition","url":"https://www.example2.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]},{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F4d960916ba05617333000005","@version":12,"@created_at":"2011-04-01T17:19:18Z","@updated_at":"2013-03-01T07:58:20Z","name":"Restaurants","note":"","entry_type":"Restaurant","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","required":true,"include_blank_choice":false},{"@type":"StringField","name":"Text","identifier":"text","show_in_interface":true,"edit_in_interface":true,"input_type":"html_editor","required":true,"include_blank_choice":false},{"@type":"StringField","name":"Website","identifier":"website","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","required":true,"regexp":"/\\A(http|https)://[a-z0-9]+([-.]{1}[a-z0-9]+)*.[a-z]{2,5}(([0-9]{1,5})?/.*)?\\Z/ix","include_blank_choice":false},{"@type":"LocationField","name":"Location","identifier":"location","show_in_interface":true,"edit_in_interface":true,"input_type":"location","required":true},{"@type":"FileField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","hint":"Upload
45
- an image"},{"@type":"StringField","name":"Address","identifier":"address","show_in_interface":true,"edit_in_interface":true,"input_type":"text_area","required":true,"include_blank_choice":false},{"@type":"DateField","name":"Last
46
- Visit","identifier":"last_visit","show_in_interface":true,"edit_in_interface":true,"input_type":"date_picker","include_blank_choice":false},{"@type":"IntegerField","name":"Price
47
- Range","identifier":"price_range","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":[1,2,3]},{"@type":"IntegerField","name":"Stars","identifier":"stars","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":[1,2,3,4,5]},{"@type":"BooleanField","name":"Vegetarian
48
- Menu","identifier":"vegetarian_menu","show_in_interface":true,"edit_in_interface":true,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"FileField","name":"Preview
49
- Image","identifier":"preview_image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","hint":"Upload
50
- an preview image"}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"http://requestb.in/s802aas8","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]}]}}'
43
+ string: '{"array":{"@url":"http://api.storageroomapp.com/accounts/account_id/collections?per_page=100","@type":"Array","resources":[{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F540d6d001e29fa3541000d2d","@version":8,"@created_at":"2014-09-08T08:46:56Z","@updated_at":"2014-10-06T08:23:07Z","name":"Codequest","note":"Testing","entry_type":"Codequest","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"IntegerField","name":"Number","identifier":"number","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"FloatField","name":"Float","identifier":"float1","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"BooleanField","name":"Boolean","identifier":"boolean","show_in_interface":true,"edit_in_interface":true,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"DateField","name":"Date","identifier":"date","show_in_interface":true,"edit_in_interface":true,"input_type":"date_picker","include_blank_choice":false},{"@type":"TimeField","name":"Time","identifier":"time","show_in_interface":true,"edit_in_interface":true,"input_type":"time_picker","include_blank_choice":false},{"@type":"LocationField","name":"Location","identifier":"location","show_in_interface":true,"edit_in_interface":true,"input_type":"location"},{"@type":"FileField","name":"File","identifier":"file","show_in_interface":true,"edit_in_interface":true,"input_type":"file"},{"@type":"ImageField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","versions":[]},{"@type":"ArrayField","name":"Array","identifier":"array","show_in_interface":true,"edit_in_interface":true,"input_type":"array_field"},{"@type":"OneAssociationField","name":"Entry","identifier":"entry","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005"},{"@type":"ManyAssociationField","name":"Entries","identifier":"entries","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033"},{"@type":"JsonField","name":"Object","identifier":"object_json","show_in_interface":true,"edit_in_interface":true,"input_type":"json_field"},{"@type":"BooleanField","name":"checkbox","identifier":"checkbox","show_in_interface":true,"edit_in_interface":false,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"ArrayField","name":"wiele_wyborow","identifier":"wiele_wyborow","show_in_interface":true,"edit_in_interface":true,"input_type":"check_boxes","choices":["Dom","Chata","Palac","Baza","Hotel","Motel"]}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"https://www.example.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true},{"@type":"WebhookDefinition","url":"https://www.example2.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]}]}}'
51
44
  http_version:
52
- recorded_at: Wed, 17 Sep 2014 08:43:09 GMT
45
+ recorded_at: Tue, 07 Oct 2014 07:53:08 GMT
53
46
  recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries.json?auth_token=application_api_key
5
+ uri: http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries.json?auth_token=application_api_key&page=1&per_page=100
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -21,11 +21,11 @@ http_interactions:
21
21
  Server:
22
22
  - nginx/1.1.19
23
23
  Date:
24
- - Wed, 17 Sep 2014 08:38:21 GMT
24
+ - Tue, 07 Oct 2014 07:49:47 GMT
25
25
  Content-Type:
26
26
  - application/json; charset=utf-8
27
27
  Content-Length:
28
- - '3578'
28
+ - '3690'
29
29
  Connection:
30
30
  - keep-alive
31
31
  Status:
@@ -33,16 +33,16 @@ http_interactions:
33
33
  X-Ua-Compatible:
34
34
  - IE=Edge,chrome=1
35
35
  Etag:
36
- - '"afa958c160c068b8428c38e4ba7280cf"'
36
+ - '"11b924645e592f76b5a46ca529ba85ac"'
37
37
  Cache-Control:
38
38
  - max-age=0, private, must-revalidate
39
39
  Accept-Ranges:
40
40
  - bytes
41
41
  body:
42
42
  encoding: UTF-8
43
- string: '{"array":{"@total_resources":2,"@pages":1,"@page":1,"@per_page":20,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries","@type":"Array","resources":[{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11,"float1":1.1,"boolean":true,"date":"2014-09-03","time":"2014-09-09T06:13:00Z","location":{"@type":"Location","lat":53.13248859999999,"lng":23.168840300000056},"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d34/file.png"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":["some
44
- value","second value","third value"],"entry":{"@type":"Restaurant","url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d960919ba05617333000012"},"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"}],"object_json":null},{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-12T12:38:18Z","@updated_at":"2014-09-12T12:39:26Z","name":"Test
45
- z plikiem","number":11,"float1":null,"boolean":null,"date":null,"time":null,"location":null,"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d34/file.pdf"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":[],"entry":null,"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"}],"object_json":{"entry":{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11}}}]}}'
43
+ string: '{"array":{"@total_resources":2,"@pages":1,"@page":1,"@per_page":100,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries?page=1&per_page=100","@type":"Array","resources":[{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11,"float1":1.1,"boolean":true,"date":"2014-09-03","time":"2014-09-09T06:13:00Z","location":{"@type":"Location","lat":53.13248859999999,"lng":23.168840300000056},"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d34/file.png"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":["some
44
+ value","second value","third value"],"entry":{"@type":"Restaurant","url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d960919ba05617333000012"},"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"}],"object_json":null,"checkbox":null,"wiele_wyborow":[]},{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":3,"@trash":false,"@created_at":"2014-09-12T12:38:18Z","@updated_at":"2014-10-06T08:24:35Z","name":"Test
45
+ z plikiem","number":11,"float1":null,"boolean":null,"date":null,"time":null,"location":null,"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d34/file.pdf"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":[],"entry":null,"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"}],"object_json":{"entry":{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11}},"checkbox":null,"wiele_wyborow":["Dom","Palac","Hotel"]}]}}'
46
46
  http_version:
47
- recorded_at: Wed, 17 Sep 2014 08:39:33 GMT
47
+ recorded_at: Tue, 07 Oct 2014 07:51:48 GMT
48
48
  recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.storageroomapp.com/accounts/account_id/collections.json?auth_token=application_api_key
5
+ uri: http://api.storageroomapp.com/accounts/account_id/collections.json?auth_token=application_api_key&per_page=100
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -21,11 +21,11 @@ http_interactions:
21
21
  Server:
22
22
  - nginx/1.1.19
23
23
  Date:
24
- - Wed, 17 Sep 2014 08:30:33 GMT
24
+ - Tue, 07 Oct 2014 07:48:52 GMT
25
25
  Content-Type:
26
26
  - application/json; charset=utf-8
27
27
  Content-Length:
28
- - '9474'
28
+ - '3895'
29
29
  Connection:
30
30
  - keep-alive
31
31
  Status:
@@ -33,26 +33,19 @@ http_interactions:
33
33
  X-Ua-Compatible:
34
34
  - IE=Edge,chrome=1
35
35
  Etag:
36
- - '"07493a7a638d7722da61013620286fd9"'
36
+ - '"31a0bb86725e09278c8ba8fd04a48a89"'
37
37
  Cache-Control:
38
38
  - max-age=0, private, must-revalidate
39
39
  Accept-Ranges:
40
40
  - bytes
41
41
  body:
42
42
  encoding: UTF-8
43
- string: '{"array":{"@url":"http://api.storageroomapp.com/accounts/account_id/collections","@type":"Array","resources":[{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F4d96091dba0561733300001b","@version":6,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2014-09-15T07:12:43Z","name":"Announcements","note":"","entry_type":"Announcement","primary_field_identifier":"text","fields":[{"@type":"StringField","name":"Text","identifier":"text","show_in_interface":true,"edit_in_interface":true,"input_type":"text_area","required":true,"include_blank_choice":false},{"@type":"StringField","name":"Locale","identifier":"locale","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":["en","de"]},{"@type":"StringField","name":"Type","identifier":"type","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":["announcement"]},{"@type":"StringField","name":"Link","identifier":"link","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"FileField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","hint":"Upload
44
- an icon image"}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"http://www.postbin.org/195aj9e","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true},{"@type":"WebhookDefinition","url":"https://www.example2.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]},{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F4dff88d74d085d6010000033","@version":7,"@created_at":"2011-06-20T17:52:23Z","@updated_at":"2011-08-21T09:14:50Z","name":"Category","note":null,"entry_type":"Category","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","required":true,"include_blank_choice":false}],"webhook_definitions":[]},{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F540d6d001e29fa3541000d2d","@version":5,"@created_at":"2014-09-08T08:46:56Z","@updated_at":"2014-09-15T06:54:19Z","name":"Codequest","note":"Testing","entry_type":"Codequest","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"IntegerField","name":"Number","identifier":"number","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"FloatField","name":"Float","identifier":"float1","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"BooleanField","name":"Boolean","identifier":"boolean","show_in_interface":true,"edit_in_interface":true,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"DateField","name":"Date","identifier":"date","show_in_interface":true,"edit_in_interface":true,"input_type":"date_picker","include_blank_choice":false},{"@type":"TimeField","name":"Time","identifier":"time","show_in_interface":true,"edit_in_interface":true,"input_type":"time_picker","include_blank_choice":false},{"@type":"LocationField","name":"Location","identifier":"location","show_in_interface":true,"edit_in_interface":true,"input_type":"location"},{"@type":"FileField","name":"File","identifier":"file","show_in_interface":true,"edit_in_interface":true,"input_type":"file"},{"@type":"ImageField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","versions":[]},{"@type":"ArrayField","name":"Array","identifier":"array","show_in_interface":true,"edit_in_interface":true,"input_type":"array_field"},{"@type":"OneAssociationField","name":"Entry","identifier":"entry","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005"},{"@type":"ManyAssociationField","name":"Entries","identifier":"entries","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033"},{"@type":"JsonField","name":"Object","identifier":"object_json","show_in_interface":true,"edit_in_interface":true,"input_type":"json_field"}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"https://www.example.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true},{"@type":"WebhookDefinition","url":"https://www.example2.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]},{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F4d960916ba05617333000005","@version":12,"@created_at":"2011-04-01T17:19:18Z","@updated_at":"2013-03-01T07:58:20Z","name":"Restaurants","note":"","entry_type":"Restaurant","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","required":true,"include_blank_choice":false},{"@type":"StringField","name":"Text","identifier":"text","show_in_interface":true,"edit_in_interface":true,"input_type":"html_editor","required":true,"include_blank_choice":false},{"@type":"StringField","name":"Website","identifier":"website","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","required":true,"regexp":"/\\A(http|https)://[a-z0-9]+([-.]{1}[a-z0-9]+)*.[a-z]{2,5}(([0-9]{1,5})?/.*)?\\Z/ix","include_blank_choice":false},{"@type":"LocationField","name":"Location","identifier":"location","show_in_interface":true,"edit_in_interface":true,"input_type":"location","required":true},{"@type":"FileField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","hint":"Upload
45
- an image"},{"@type":"StringField","name":"Address","identifier":"address","show_in_interface":true,"edit_in_interface":true,"input_type":"text_area","required":true,"include_blank_choice":false},{"@type":"DateField","name":"Last
46
- Visit","identifier":"last_visit","show_in_interface":true,"edit_in_interface":true,"input_type":"date_picker","include_blank_choice":false},{"@type":"IntegerField","name":"Price
47
- Range","identifier":"price_range","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":[1,2,3]},{"@type":"IntegerField","name":"Stars","identifier":"stars","show_in_interface":true,"edit_in_interface":true,"input_type":"select","required":true,"include_blank_choice":false,"choices":[1,2,3,4,5]},{"@type":"BooleanField","name":"Vegetarian
48
- Menu","identifier":"vegetarian_menu","show_in_interface":true,"edit_in_interface":true,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"FileField","name":"Preview
49
- Image","identifier":"preview_image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","hint":"Upload
50
- an preview image"}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"http://requestb.in/s802aas8","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]}]}}'
43
+ string: '{"array":{"@url":"http://api.storageroomapp.com/accounts/account_id/collections?per_page=100","@type":"Array","resources":[{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F540d6d001e29fa3541000d2d","@version":8,"@created_at":"2014-09-08T08:46:56Z","@updated_at":"2014-10-06T08:23:07Z","name":"Codequest","note":"Testing","entry_type":"Codequest","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"IntegerField","name":"Number","identifier":"number","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"FloatField","name":"Float","identifier":"float1","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"BooleanField","name":"Boolean","identifier":"boolean","show_in_interface":true,"edit_in_interface":true,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"DateField","name":"Date","identifier":"date","show_in_interface":true,"edit_in_interface":true,"input_type":"date_picker","include_blank_choice":false},{"@type":"TimeField","name":"Time","identifier":"time","show_in_interface":true,"edit_in_interface":true,"input_type":"time_picker","include_blank_choice":false},{"@type":"LocationField","name":"Location","identifier":"location","show_in_interface":true,"edit_in_interface":true,"input_type":"location"},{"@type":"FileField","name":"File","identifier":"file","show_in_interface":true,"edit_in_interface":true,"input_type":"file"},{"@type":"ImageField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","versions":[]},{"@type":"ArrayField","name":"Array","identifier":"array","show_in_interface":true,"edit_in_interface":true,"input_type":"array_field"},{"@type":"OneAssociationField","name":"Entry","identifier":"entry","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005"},{"@type":"ManyAssociationField","name":"Entries","identifier":"entries","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033"},{"@type":"JsonField","name":"Object","identifier":"object_json","show_in_interface":true,"edit_in_interface":true,"input_type":"json_field"},{"@type":"BooleanField","name":"checkbox","identifier":"checkbox","show_in_interface":true,"edit_in_interface":false,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"ArrayField","name":"wiele_wyborow","identifier":"wiele_wyborow","show_in_interface":true,"edit_in_interface":true,"input_type":"check_boxes","choices":["Dom","Chata","Palac","Baza","Hotel","Motel"]}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"https://www.example.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true},{"@type":"WebhookDefinition","url":"https://www.example2.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]}]}}'
51
44
  http_version:
52
- recorded_at: Wed, 17 Sep 2014 08:31:45 GMT
45
+ recorded_at: Tue, 07 Oct 2014 07:50:53 GMT
53
46
  - request:
54
47
  method: get
55
- uri: http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries.json?auth_token=application_api_key
48
+ uri: http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries.json?auth_token=application_api_key&page=1&per_page=100
56
49
  body:
57
50
  encoding: US-ASCII
58
51
  string: ''
@@ -71,11 +64,11 @@ http_interactions:
71
64
  Server:
72
65
  - nginx/1.1.19
73
66
  Date:
74
- - Wed, 17 Sep 2014 08:30:34 GMT
67
+ - Tue, 07 Oct 2014 07:48:53 GMT
75
68
  Content-Type:
76
69
  - application/json; charset=utf-8
77
70
  Content-Length:
78
- - '4582'
71
+ - '3690'
79
72
  Connection:
80
73
  - keep-alive
81
74
  Status:
@@ -83,28 +76,21 @@ http_interactions:
83
76
  X-Ua-Compatible:
84
77
  - IE=Edge,chrome=1
85
78
  Etag:
86
- - '"6c1cca8f6776ee04fcabe8dd59dd24d1"'
79
+ - '"11b924645e592f76b5a46ca529ba85ac"'
87
80
  Cache-Control:
88
81
  - max-age=0, private, must-revalidate
89
82
  Accept-Ranges:
90
83
  - bytes
91
84
  body:
92
85
  encoding: UTF-8
93
- string: '{"array":{"@total_resources":8,"@pages":1,"@page":1,"@per_page":20,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries","@type":"Array","resources":[{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000021","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-04-01T17:19:25Z","text":"Welcome
94
- to our app. Try clicking around.","locale":"en","type":"announcement","link":null,"image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000022","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-04-01T17:19:25Z","text":"We
95
- submitted a new version of our application, you will be able to download it
96
- soon","locale":"en","type":"announcement","link":null,"image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000023","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":2,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-08-08T09:54:28Z","text":"Why
97
- not follow us on twitter?","locale":"en","type":"announcement","link":"http://www.twitter.com/thriventures","image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d96091dba0561733300001b/entries/4d96091dba05617333000023/fields/k4d96091dba05617333000020/file.png"}},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000024","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-04-01T17:19:25Z","text":"Did
98
- you visit the website of our partner?","locale":"en","type":"announcement","link":"http://www.google.com/","image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000025","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-04-01T17:19:25Z","text":"Our
99
- blog is currently down, please bear with us","locale":"en","type":"announcement","link":null,"image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000026","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":3,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-11-24T08:20:02Z","text":"Buy
100
- our other app with a 30% discount today","locale":"en","type":"announcement","link":null,"image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000027","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":3,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-11-24T08:20:06Z","text":"Yey,
101
- we have won an award for our application!","locale":"en","type":"announcement","link":"http://oscar.go.com/","image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000028","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":3,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-11-24T08:20:09Z","text":"Did
102
- you know that you can change the interface language in the settings?","locale":"en","type":"announcement","link":null,"image":null}]}}'
86
+ string: '{"array":{"@total_resources":2,"@pages":1,"@page":1,"@per_page":100,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries?page=1&per_page=100","@type":"Array","resources":[{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11,"float1":1.1,"boolean":true,"date":"2014-09-03","time":"2014-09-09T06:13:00Z","location":{"@type":"Location","lat":53.13248859999999,"lng":23.168840300000056},"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d34/file.png"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":["some
87
+ value","second value","third value"],"entry":{"@type":"Restaurant","url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d960919ba05617333000012"},"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"}],"object_json":null,"checkbox":null,"wiele_wyborow":[]},{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":3,"@trash":false,"@created_at":"2014-09-12T12:38:18Z","@updated_at":"2014-10-06T08:24:35Z","name":"Test
88
+ z plikiem","number":11,"float1":null,"boolean":null,"date":null,"time":null,"location":null,"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d34/file.pdf"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":[],"entry":null,"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"}],"object_json":{"entry":{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11}},"checkbox":null,"wiele_wyborow":["Dom","Palac","Hotel"]}]}}'
103
89
  http_version:
104
- recorded_at: Wed, 17 Sep 2014 08:31:45 GMT
90
+ recorded_at: Tue, 07 Oct 2014 07:50:54 GMT
105
91
  - request:
106
92
  method: get
107
- uri: http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries.json?auth_token=application_api_key
93
+ uri: http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries.json?auth_token=application_api_key&page=1&per_page=100
108
94
  body:
109
95
  encoding: US-ASCII
110
96
  string: ''
@@ -123,11 +109,11 @@ http_interactions:
123
109
  Server:
124
110
  - nginx/1.1.19
125
111
  Date:
126
- - Wed, 17 Sep 2014 08:30:34 GMT
112
+ - Tue, 07 Oct 2014 07:48:53 GMT
127
113
  Content-Type:
128
114
  - application/json; charset=utf-8
129
115
  Content-Length:
130
- - '5920'
116
+ - '3690'
131
117
  Connection:
132
118
  - keep-alive
133
119
  Status:
@@ -135,217 +121,16 @@ http_interactions:
135
121
  X-Ua-Compatible:
136
122
  - IE=Edge,chrome=1
137
123
  Etag:
138
- - '"3c0a7e61c1c8f3b27c2470fd2bdb4b67"'
124
+ - '"11b924645e592f76b5a46ca529ba85ac"'
139
125
  Cache-Control:
140
126
  - max-age=0, private, must-revalidate
141
127
  Accept-Ranges:
142
128
  - bytes
143
129
  body:
144
130
  encoding: UTF-8
145
- string: '{"array":{"@total_resources":14,"@pages":1,"@page":1,"@per_page":20,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries","@type":"Array","resources":[{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4dff89074d085d608600005a","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-06-20T17:53:11Z","@updated_at":"2011-06-20T17:53:11Z","name":"Category
146
- 1"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4dff89204d085d5ff5000097","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-06-20T17:53:36Z","@updated_at":"2011-06-20T17:53:36Z","name":"Category
147
- 2"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4dff892f4d085d604800005f","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-06-20T17:53:51Z","@updated_at":"2011-06-20T17:53:51Z","name":"Category
148
- 3"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1454d085d466100003f","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:09Z","@updated_at":"2011-07-26T11:13:09Z","name":"Category
149
- 4"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea14c4d085d46aa00000d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:16Z","@updated_at":"2011-07-26T11:13:16Z","name":"Category
150
- 5"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1514d085d4716000019","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:21Z","@updated_at":"2011-07-26T11:13:21Z","name":"Category
151
- 6"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1574d085d4621000055","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:27Z","@updated_at":"2011-07-26T11:13:27Z","name":"Category
152
- 7"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea15c4d085d46aa000012","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:32Z","@updated_at":"2011-07-26T11:13:32Z","name":"Category
153
- 8"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1614d085d46aa000017","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:37Z","@updated_at":"2011-07-26T11:13:37Z","name":"Category
154
- 9"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:40Z","@updated_at":"2011-07-26T11:13:40Z","name":"Category
155
- 10"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:43Z","@updated_at":"2011-07-26T11:13:43Z","name":"Category
156
- 11"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea16c4d085d466100004f","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:48Z","@updated_at":"2011-07-26T11:13:48Z","name":"Category
157
- 12"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1714d085d46a7000026","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:53Z","@updated_at":"2011-07-26T11:13:53Z","name":"Category
158
- 13"},{"@type":"Category","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1754d085d46aa000026","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033","@version":1,"@trash":false,"@created_at":"2011-07-26T11:13:57Z","@updated_at":"2011-07-26T11:13:57Z","name":"Category
159
- 14"}]}}'
131
+ string: '{"array":{"@total_resources":2,"@pages":1,"@page":1,"@per_page":100,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries?page=1&per_page=100","@type":"Array","resources":[{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11,"float1":1.1,"boolean":true,"date":"2014-09-03","time":"2014-09-09T06:13:00Z","location":{"@type":"Location","lat":53.13248859999999,"lng":23.168840300000056},"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d34/file.png"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":["some
132
+ value","second value","third value"],"entry":{"@type":"Restaurant","url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d960919ba05617333000012"},"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"}],"object_json":null,"checkbox":null,"wiele_wyborow":[]},{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":3,"@trash":false,"@created_at":"2014-09-12T12:38:18Z","@updated_at":"2014-10-06T08:24:35Z","name":"Test
133
+ z plikiem","number":11,"float1":null,"boolean":null,"date":null,"time":null,"location":null,"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d34/file.pdf"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":[],"entry":null,"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"}],"object_json":{"entry":{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11}},"checkbox":null,"wiele_wyborow":["Dom","Palac","Hotel"]}]}}'
160
134
  http_version:
161
- recorded_at: Wed, 17 Sep 2014 08:31:46 GMT
162
- - request:
163
- method: get
164
- uri: http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries.json?auth_token=application_api_key
165
- body:
166
- encoding: US-ASCII
167
- string: ''
168
- headers:
169
- Accept-Encoding:
170
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
171
- Accept:
172
- - "*/*"
173
- User-Agent:
174
- - Ruby
175
- response:
176
- status:
177
- code: 200
178
- message: OK
179
- headers:
180
- Server:
181
- - nginx/1.1.19
182
- Date:
183
- - Wed, 17 Sep 2014 08:30:35 GMT
184
- Content-Type:
185
- - application/json; charset=utf-8
186
- Content-Length:
187
- - '3578'
188
- Connection:
189
- - keep-alive
190
- Status:
191
- - 200 OK
192
- X-Ua-Compatible:
193
- - IE=Edge,chrome=1
194
- Etag:
195
- - '"afa958c160c068b8428c38e4ba7280cf"'
196
- Cache-Control:
197
- - max-age=0, private, must-revalidate
198
- Accept-Ranges:
199
- - bytes
200
- body:
201
- encoding: UTF-8
202
- string: '{"array":{"@total_resources":2,"@pages":1,"@page":1,"@per_page":20,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries","@type":"Array","resources":[{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11,"float1":1.1,"boolean":true,"date":"2014-09-03","time":"2014-09-09T06:13:00Z","location":{"@type":"Location","lat":53.13248859999999,"lng":23.168840300000056},"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d34/file.png"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":["some
203
- value","second value","third value"],"entry":{"@type":"Restaurant","url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d960919ba05617333000012"},"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"}],"object_json":null},{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-12T12:38:18Z","@updated_at":"2014-09-12T12:39:26Z","name":"Test
204
- z plikiem","number":11,"float1":null,"boolean":null,"date":null,"time":null,"location":null,"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d34/file.pdf"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":[],"entry":null,"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"}],"object_json":{"entry":{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11}}}]}}'
205
- http_version:
206
- recorded_at: Wed, 17 Sep 2014 08:31:47 GMT
207
- - request:
208
- method: get
209
- uri: http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries.json?auth_token=application_api_key
210
- body:
211
- encoding: US-ASCII
212
- string: ''
213
- headers:
214
- Accept-Encoding:
215
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
216
- Accept:
217
- - "*/*"
218
- User-Agent:
219
- - Ruby
220
- response:
221
- status:
222
- code: 200
223
- message: OK
224
- headers:
225
- Server:
226
- - nginx/1.1.19
227
- Date:
228
- - Wed, 17 Sep 2014 08:30:35 GMT
229
- Content-Type:
230
- - application/json; charset=utf-8
231
- Content-Length:
232
- - '13806'
233
- Connection:
234
- - keep-alive
235
- Status:
236
- - 200 OK
237
- X-Ua-Compatible:
238
- - IE=Edge,chrome=1
239
- Etag:
240
- - '"fcad81f1f6273c1607b54f89f0f6fbb8"'
241
- Cache-Control:
242
- - max-age=0, private, must-revalidate
243
- Accept-Ranges:
244
- - bytes
245
- body:
246
- encoding: UTF-8
247
- string: '{"array":{"@total_resources":10,"@pages":1,"@page":1,"@per_page":20,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries","@type":"Array","resources":[{"@type":"Restaurant","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d960917ba05617333000011","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@version":4,"@trash":false,"@created_at":"2011-04-01T17:19:19Z","@updated_at":"2013-04-19T10:37:53Z","name":"M-Steakhouse","text":"Hello.Probably
248
- the best beef in Germany.&nbsp;","website":"http://www.the-steakhouse.de/steakhouse/main-frames.html","location":{"@type":"Location","lat":50.106993125620185,"lng":8.630141015624986},"image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d960917ba05617333000011/fields/k4d960916ba0561733300000f/file.png"},"address":"Feuerbachstrasse
249
- 11a\r\n60325 Frankfurt am Main\r\nGermany","last_visit":"2011-04-01","price_range":3,"stars":4,"vegetarian_menu":true,"preview_image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d960917ba05617333000011/fields/k4d960916ba05617333000010/file.png"}},{"@type":"Restaurant","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d960919ba05617333000012","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@version":4,"@trash":false,"@created_at":"2011-04-01T17:19:21Z","@updated_at":"2012-04-07T11:39:25Z","name":"Banyan
250
- Tree Bangkok - Vertigo","text":"A must-see on every Bangkok travel itinerary,
251
- Vertigo is unlike any other bar-restaurant in the world: some 61 floors above
252
- the streets of Bangkok, this open-air rooftop lounge gives true meaning to
253
- the word ''vertigo'' as it grants views that simply take your breath away.
254
- Stylish, sophisticated and reaching for the clouds, there is no better place
255
- for a romantic t\u00eate-\u00e0-t\u00eate, glamorous cocktail party or fashion
256
- launch than this. Indulge in a variety of western-style fresh grilled seafood
257
- and premium steaks, champagne and a wide selection of cocktails, wines-by-the-glass
258
- and non-alcoholic drinks.","website":"http://www.banyantree.com/en/bangkok/overview","location":{"@type":"Location","lat":13.724,"lng":100.5411},"image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d960919ba05617333000012/fields/k4d960916ba0561733300000f/file.png"},"address":"21/100
259
- South Sathon Road\r\nBangkok, 10120\r\n Thailand","last_visit":"2011-03-29","price_range":2,"stars":3,"vegetarian_menu":false,"preview_image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d960919ba05617333000012/fields/k4d960916ba05617333000010/file.png"}},{"@type":"Restaurant","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d96091aba05617333000014","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:22Z","@updated_at":"2011-04-01T17:19:22Z","name":"Peter
260
- Luger","text":"Rated No. 1 New York Steak House for 26 years in a Row.","website":"http://www.peterluger.com/","location":{"@type":"Location","lat":40.7097,"lng":-73.962},"image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091aba05617333000014/fields/k4d960916ba0561733300000f/file.png"},"address":"178
261
- Broadway\nBrooklyn, N.Y. 11211","last_visit":"2011-03-02","price_range":3,"stars":4,"vegetarian_menu":false,"preview_image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091aba05617333000014/fields/k4d960916ba05617333000010/file.png"}},{"@type":"Restaurant","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d96091aba05617333000015","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:22Z","@updated_at":"2011-04-01T17:19:22Z","name":"Pat''s
262
- King of Steaks","text":"Creator of the Philly Steak and Cheese Steak","website":"http://www.patskingofsteaks.com/","location":{"@type":"Location","lat":39.933,"lng":-75.159},"image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091aba05617333000015/fields/k4d960916ba0561733300000f/file.png"},"address":"1237
263
- East Passyunk Avenue\n, Philadelphia, PA","last_visit":"2011-03-29","price_range":1,"stars":3,"vegetarian_menu":true,"preview_image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091aba05617333000015/fields/k4d960916ba05617333000010/file.png"}},{"@type":"Restaurant","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d96091aba05617333000013","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@version":11,"@trash":false,"@created_at":"2011-04-01T17:19:22Z","@updated_at":"2013-03-01T07:59:05Z","name":"Wolfgang''s
264
- Steakhouse","text":"Located in the heart of midtown Manhattan, the flagship
265
- Park Avenue Wolfgang\u2019s is splendidly situated in the former Vanderbilt
266
- Hotel dining room.","website":"http://wolfgangssteakhouse.net/","location":{"@type":"Location","lat":52.516246155615235,"lng":13.404717908984367},"image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091aba05617333000013/fields/k4d960916ba0561733300000f/file.png"},"address":"4
267
- Park Avenue\r\nNew York, NY 10016","last_visit":"2011-03-25","price_range":2,"stars":2,"vegetarian_menu":false,"preview_image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091aba05617333000013/fields/k4d960916ba05617333000010/file.png"}},{"@type":"Restaurant","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d96091bba05617333000016","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:23Z","@updated_at":"2011-04-01T17:19:23Z","name":"Shula''s","text":"One
268
- of the best Steak Houses in Florida","website":"http://www.donshula.com/locations.php?sub=4&l=1&restid=7","location":{"@type":"Location","lat":25.913,"lng":-80.322},"image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091bba05617333000016/fields/k4d960916ba0561733300000f/file.png"},"address":"7601
269
- Miami Lakes Drive\nMiami Lakes, FL 33014","last_visit":"2010-12-22","price_range":3,"stars":4,"vegetarian_menu":false,"preview_image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091bba05617333000016/fields/k4d960916ba05617333000010/file.png"}},{"@type":"Restaurant","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d96091bba05617333000017","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:23Z","@updated_at":"2011-04-01T17:19:23Z","name":"LG''s
270
- Steak House","text":"In December of 1997, a second LG''s Prime Steakhouse
271
- opened in beautiful downtown Palm Springs, California. Located on South Palm
272
- Canyon Drive, between the cross streets of Arenas and Barristo, LG''s Prime
273
- Steakhouse, Palm Springs features a large covered patio for dining and people
274
- watching on South Palm Canyon. The d\u00e9cor is eclectic and the restaurant
275
- has a private dining room for parties. French doors in the main dining area
276
- open onto the patio, which also has an indoor-outdoor bar.","website":"http://www.lgsprimesteakhouse.com/palmsprings.html","location":{"@type":"Location","lat":33.82,"lng":-116.546},"image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091bba05617333000017/fields/k4d960916ba0561733300000f/file.png"},"address":"255
277
- S. Palm Canyon Drive\nPalm Springs, CA 92262","last_visit":"2010-04-01","price_range":3,"stars":5,"vegetarian_menu":false,"preview_image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091bba05617333000017/fields/k4d960916ba05617333000010/file.png"}},{"@type":"Restaurant","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d96091cba05617333000018","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:24Z","@updated_at":"2011-04-01T17:19:24Z","name":"Hill
278
- Top Steak House","text":"In 1961 Frank Giuffrida bought a club in Saugus that
279
- he converted into a western-style steakhouse. Over the years Frank became
280
- known as the \"king of the Hill\" serving over three million customers annually. Now
281
- over 50 million meals later The Hilltop is still known today for it''s generous
282
- portions at a great value winning numerous awards.","website":"http://hilltopsteakhouse.com","location":{"@type":"Location","lat":42.474,"lng":-71.023},"image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091cba05617333000018/fields/k4d960916ba0561733300000f/file.png"},"address":"855
283
- Broadway, Saugus, MA","last_visit":"2011-02-06","price_range":2,"stars":1,"vegetarian_menu":true,"preview_image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091cba05617333000018/fields/k4d960916ba05617333000010/file.png"}},{"@type":"Restaurant","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d96091cba05617333000019","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:24Z","@updated_at":"2011-04-01T17:19:24Z","name":"Morton''s
284
- Steak House","text":"Located in Toronto''s trendy Yorkville at the Park Hyatt
285
- Hotel, Morton''s the Steakhouse offers a classic dining experience. Welcoming
286
- decor, succulent steaks and fresh fish and seafood make Morton''s a destination
287
- for Torontonians, celebrities and tourists alike. Whether you are looking
288
- for the perfect place to unwind with cocktails and Bar Bites or to book a
289
- private boardroom for a special occasion, Morton''s offers impeccable service
290
- and a timeless menu.","website":"http://www.mortons.com/toronto/","location":{"@type":"Location","lat":43.668,"lng":-79.394},"image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091cba05617333000019/fields/k4d960916ba0561733300000f/file.png"},"address":"4
291
- Avenue Road at Prince Arthur\nToronto, Canada","last_visit":"2010-11-29","price_range":3,"stars":3,"vegetarian_menu":true,"preview_image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091cba05617333000019/fields/k4d960916ba05617333000010/file.png"}},{"@type":"Restaurant","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d96091cba0561733300001a","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:24Z","@updated_at":"2011-04-01T17:19:24Z","name":"Ruth''s
292
- Chris Honululu","text":"Whether it''s a romantic steak dinner for two, an
293
- important business meeting, or a private party, Ruth''s Chris Steak House
294
- can accommodate your needs. Our Honolulu steakhouse provides guests with a
295
- warm, comfortable atmosphere. The restaurant is also handicap accessible.","website":"http://www.ruthschris.com/Steak-House/6504/Honolulu/Oahu","location":{"@type":"Location","lat":21.3,"lng":-157.861},"image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091cba0561733300001a/fields/k4d960916ba0561733300000f/file.png"},"address":"500
296
- Ala Moana Blvd,\nRestaurant Row,\nHonolulu, HI 96813","last_visit":"2011-01-14","price_range":3,"stars":4,"vegetarian_menu":false,"preview_image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d960916ba05617333000005/entries/4d96091cba0561733300001a/fields/k4d960916ba05617333000010/file.png"}}]}}'
297
- http_version:
298
- recorded_at: Wed, 17 Sep 2014 08:31:47 GMT
299
- - request:
300
- method: get
301
- uri: http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries.json?auth_token=application_api_key
302
- body:
303
- encoding: US-ASCII
304
- string: ''
305
- headers:
306
- Accept-Encoding:
307
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
308
- Accept:
309
- - "*/*"
310
- User-Agent:
311
- - Ruby
312
- response:
313
- status:
314
- code: 200
315
- message: OK
316
- headers:
317
- Server:
318
- - nginx/1.1.19
319
- Date:
320
- - Wed, 17 Sep 2014 08:30:36 GMT
321
- Content-Type:
322
- - application/json; charset=utf-8
323
- Content-Length:
324
- - '4582'
325
- Connection:
326
- - keep-alive
327
- Status:
328
- - 200 OK
329
- X-Ua-Compatible:
330
- - IE=Edge,chrome=1
331
- Etag:
332
- - '"6c1cca8f6776ee04fcabe8dd59dd24d1"'
333
- Cache-Control:
334
- - max-age=0, private, must-revalidate
335
- Accept-Ranges:
336
- - bytes
337
- body:
338
- encoding: UTF-8
339
- string: '{"array":{"@total_resources":8,"@pages":1,"@page":1,"@per_page":20,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries","@type":"Array","resources":[{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000021","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-04-01T17:19:25Z","text":"Welcome
340
- to our app. Try clicking around.","locale":"en","type":"announcement","link":null,"image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000022","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-04-01T17:19:25Z","text":"We
341
- submitted a new version of our application, you will be able to download it
342
- soon","locale":"en","type":"announcement","link":null,"image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000023","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":2,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-08-08T09:54:28Z","text":"Why
343
- not follow us on twitter?","locale":"en","type":"announcement","link":"http://www.twitter.com/thriventures","image":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/4d96091dba0561733300001b/entries/4d96091dba05617333000023/fields/k4d96091dba05617333000020/file.png"}},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000024","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-04-01T17:19:25Z","text":"Did
344
- you visit the website of our partner?","locale":"en","type":"announcement","link":"http://www.google.com/","image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000025","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":1,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-04-01T17:19:25Z","text":"Our
345
- blog is currently down, please bear with us","locale":"en","type":"announcement","link":null,"image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000026","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":3,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-11-24T08:20:02Z","text":"Buy
346
- our other app with a 30% discount today","locale":"en","type":"announcement","link":null,"image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000027","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":3,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-11-24T08:20:06Z","text":"Yey,
347
- we have won an award for our application!","locale":"en","type":"announcement","link":"http://oscar.go.com/","image":null},{"@type":"Announcement","@url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b/entries/4d96091dba05617333000028","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d96091dba0561733300001b","@version":3,"@trash":false,"@created_at":"2011-04-01T17:19:25Z","@updated_at":"2011-11-24T08:20:09Z","text":"Did
348
- you know that you can change the interface language in the settings?","locale":"en","type":"announcement","link":null,"image":null}]}}'
349
- http_version:
350
- recorded_at: Wed, 17 Sep 2014 08:31:47 GMT
135
+ recorded_at: Tue, 07 Oct 2014 07:50:54 GMT
351
136
  recorded_with: VCR 2.9.3
@@ -376,8 +376,8 @@ http_interactions:
376
376
  "en-US": {
377
377
  "entry": {
378
378
  "@type": "Codequest",
379
- "@url": "http://api.storageroomapp.com/accounts/4d13574cba05613d25000004/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d",
380
- "@collection_url": "http://api.storageroomapp.com/accounts/4d13574cba05613d25000004/collections/540d6d001e29fa3541000d2d",
379
+ "@url": "http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d",
380
+ "@collection_url": "http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d",
381
381
  "@version": 2,
382
382
  "@trash": false,
383
383
  "@created_at": "2014-09-08T08:49:26Z",
@@ -537,8 +537,8 @@ http_interactions:
537
537
  "en-US": {
538
538
  "entry": {
539
539
  "@type": "Codequest",
540
- "@url": "http://api.storageroomapp.com/accounts/4d13574cba05613d25000004/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d",
541
- "@collection_url": "http://api.storageroomapp.com/accounts/4d13574cba05613d25000004/collections/540d6d001e29fa3541000d2d",
540
+ "@url": "http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d",
541
+ "@collection_url": "http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d",
542
542
  "@version": 2,
543
543
  "@trash": false,
544
544
  "@created_at": "2014-09-08T08:49:26Z",
@@ -20,7 +20,7 @@ describe StorageRoomExporter do
20
20
  vcr('collection/export_collections') do
21
21
  StorageRoomExporter.any_instance.stub(:save_to_file)
22
22
  collections = subject.export_collections
23
- expect(collections.count).to eq 4
23
+ expect(collections.count).to eq 1
24
24
  expect(collections.first['@type']).to eq 'Collection'
25
25
  end
26
26
  end
@@ -28,9 +28,9 @@ describe StorageRoomExporter do
28
28
  it 'get_request ' do
29
29
  vcr('collection/get_request') do
30
30
  request = subject.send(:get_request, 'collections')
31
- expect(request['array']['resources'].count).to eq 4
31
+ expect(request['array']['resources'].count).to eq 1
32
32
  expect(request['array']['resources'].first['@type']).to eq 'Collection'
33
- expect(request['array']['resources'].first['entry_type']).to eq 'Announcement'
33
+ expect(request['array']['resources'].first['entry_type']).to eq 'Codequest'
34
34
  end
35
35
  end
36
36
  it 'collection_id ' do
@@ -45,9 +45,8 @@ describe StorageRoomExporter do
45
45
  StorageRoomExporter.any_instance.stub(:save_to_file)
46
46
  entries = subject.export_entries
47
47
  request = subject.send(:entries, entries.first)
48
- expect(request.count).to eq 8
49
- expect(request.first['@type']).to eq 'Announcement'
50
- expect(request.first['text']).to eq 'Welcome to our app. Try clicking around.'
48
+ expect(request.count).to eq 2
49
+ expect(request.first['@type']).to eq 'Codequest'
51
50
  end
52
51
  end
53
52
 
@@ -1,5 +1,3 @@
1
- require 'simplecov'
2
- SimpleCov.start
3
1
  require 'rspec'
4
2
 
5
3
  Dir[File.dirname(__FILE__) + '/support/**/*.rb'].each { |f| require f }
metadata CHANGED
@@ -1,110 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storageroom-to-contentful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Andreas Tiefenthaler
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-09-26 00:00:00.000000000 Z
11
+ date: 2014-10-07 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: http
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0.6'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0.6'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: multi_json
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '1'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: contentful-management
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0.2'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0.2'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: i18n
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0.6'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0.6'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: bundler
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ~>
73
+ - - "~>"
84
74
  - !ruby/object:Gem::Version
85
75
  version: '1.6'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ~>
80
+ - - "~>"
92
81
  - !ruby/object:Gem::Version
93
82
  version: '1.6'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: rake
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  description: Import data from StorageRoom to Contentful
@@ -115,9 +102,9 @@ executables:
115
102
  extensions: []
116
103
  extra_rdoc_files: []
117
104
  files:
118
- - .gitignore
119
- - .rubocop.yml
120
- - .travis.yml
105
+ - ".gitignore"
106
+ - ".rubocop.yml"
107
+ - ".travis.yml"
121
108
  - CHANGELOG.md
122
109
  - Gemfile
123
110
  - Gemfile.lock
@@ -156,27 +143,26 @@ files:
156
143
  homepage: ''
157
144
  licenses:
158
145
  - MIT
146
+ metadata: {}
159
147
  post_install_message:
160
148
  rdoc_options: []
161
149
  require_paths:
162
150
  - lib
163
151
  required_ruby_version: !ruby/object:Gem::Requirement
164
- none: false
165
152
  requirements:
166
- - - ! '>='
153
+ - - ">="
167
154
  - !ruby/object:Gem::Version
168
155
  version: '0'
169
156
  required_rubygems_version: !ruby/object:Gem::Requirement
170
- none: false
171
157
  requirements:
172
- - - ! '>='
158
+ - - ">="
173
159
  - !ruby/object:Gem::Version
174
160
  version: '0'
175
161
  requirements: []
176
162
  rubyforge_project:
177
- rubygems_version: 1.8.23
163
+ rubygems_version: 2.2.2
178
164
  signing_key:
179
- specification_version: 3
165
+ specification_version: 4
180
166
  summary: Import data from StorageRoom to Contentful
181
167
  test_files:
182
168
  - spec/fixtures/vcr_cassettes/collection/export_collections.yml
@@ -199,4 +185,3 @@ test_files:
199
185
  - spec/support/data/entries/codequest/540d6d961e29fa3559000d0d.json
200
186
  - spec/support/data/save_to_file.json
201
187
  - spec/support/vcr.rb
202
- has_rdoc: