voog_api 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +3 -0
  5. data/Guardfile +5 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.markdown +55 -0
  8. data/Rakefile +1 -0
  9. data/lib/voog_api/api/articles.rb +77 -0
  10. data/lib/voog_api/api/assets.rb +31 -0
  11. data/lib/voog_api/api/comments.rb +36 -0
  12. data/lib/voog_api/api/content_partials.rb +21 -0
  13. data/lib/voog_api/api/contents.rb +38 -0
  14. data/lib/voog_api/api/element_definitions.rb +31 -0
  15. data/lib/voog_api/api/elements.rb +63 -0
  16. data/lib/voog_api/api/forms.rb +21 -0
  17. data/lib/voog_api/api/languages.rb +68 -0
  18. data/lib/voog_api/api/layout_assets.rb +39 -0
  19. data/lib/voog_api/api/layouts.rb +31 -0
  20. data/lib/voog_api/api/media_sets.rb +36 -0
  21. data/lib/voog_api/api/nodes.rb +26 -0
  22. data/lib/voog_api/api/pages.rb +77 -0
  23. data/lib/voog_api/api/people.rb +16 -0
  24. data/lib/voog_api/api/site.rb +35 -0
  25. data/lib/voog_api/api/tags.rb +26 -0
  26. data/lib/voog_api/api/texts.rb +21 -0
  27. data/lib/voog_api/api/tickets.rb +26 -0
  28. data/lib/voog_api/client.rb +140 -0
  29. data/lib/voog_api/version.rb +3 -0
  30. data/lib/voog_api.rb +46 -0
  31. data/spec/fixtures/articles/article.json +37 -0
  32. data/spec/fixtures/articles/articles.json +75 -0
  33. data/spec/fixtures/assets/asset.json +24 -0
  34. data/spec/fixtures/assets/assets.json +29 -0
  35. data/spec/fixtures/comments/comment.json +21 -0
  36. data/spec/fixtures/comments/comments.json +35 -0
  37. data/spec/fixtures/content_partials/content_partial.json +27 -0
  38. data/spec/fixtures/content_partials/content_partials.json +47 -0
  39. data/spec/fixtures/contents/content.json +31 -0
  40. data/spec/fixtures/contents/contents.json +63 -0
  41. data/spec/fixtures/element_definitions/element_definition.json +31 -0
  42. data/spec/fixtures/element_definitions/element_definitions.json +15 -0
  43. data/spec/fixtures/elements/element.json +35 -0
  44. data/spec/fixtures/elements/elements.json +57 -0
  45. data/spec/fixtures/forms/form.json +104 -0
  46. data/spec/fixtures/forms/forms.json +43 -0
  47. data/spec/fixtures/languages/language.json +13 -0
  48. data/spec/fixtures/languages/languages.json +27 -0
  49. data/spec/fixtures/layout_assets/layout_asset.json +14 -0
  50. data/spec/fixtures/layout_assets/layout_assets.json +29 -0
  51. data/spec/fixtures/layouts/layout.json +11 -0
  52. data/spec/fixtures/layouts/layouts.json +23 -0
  53. data/spec/fixtures/media_sets/media_set.json +23 -0
  54. data/spec/fixtures/media_sets/media_sets.json +32 -0
  55. data/spec/fixtures/nodes/node.json +11 -0
  56. data/spec/fixtures/nodes/nodes.json +23 -0
  57. data/spec/fixtures/pages/page.json +73 -0
  58. data/spec/fixtures/pages/pages.json +104 -0
  59. data/spec/fixtures/people/people.json +29 -0
  60. data/spec/fixtures/people/person.json +14 -0
  61. data/spec/fixtures/site/site.json +30 -0
  62. data/spec/fixtures/tags/tag.json +20 -0
  63. data/spec/fixtures/tags/tags.json +31 -0
  64. data/spec/fixtures/texts/text.json +23 -0
  65. data/spec/fixtures/texts/texts.json +45 -0
  66. data/spec/fixtures/tickets/ticket.json +26 -0
  67. data/spec/fixtures/tickets/tickets.json +29 -0
  68. data/spec/spec_helper.rb +46 -0
  69. data/spec/voog_api/api/articles_spec.rb +89 -0
  70. data/spec/voog_api/api/assets_spec.rb +53 -0
  71. data/spec/voog_api/api/comments_spec.rb +66 -0
  72. data/spec/voog_api/api/content_partials_spec.rb +41 -0
  73. data/spec/voog_api/api/contents_spec.rb +53 -0
  74. data/spec/voog_api/api/element_definitions_spec.rb +53 -0
  75. data/spec/voog_api/api/elements_spec.rb +78 -0
  76. data/spec/voog_api/api/forms_spec.rb +41 -0
  77. data/spec/voog_api/api/languages_spec.rb +89 -0
  78. data/spec/voog_api/api/layout_assets_spec.rb +54 -0
  79. data/spec/voog_api/api/layouts_spec.rb +53 -0
  80. data/spec/voog_api/api/media_sets_spec.rb +64 -0
  81. data/spec/voog_api/api/nodes_spec.rb +52 -0
  82. data/spec/voog_api/api/pages_spec.rb +89 -0
  83. data/spec/voog_api/api/people_spec.rb +30 -0
  84. data/spec/voog_api/api/site_spec.rb +53 -0
  85. data/spec/voog_api/api/tags_spec.rb +53 -0
  86. data/spec/voog_api/api/texts_spec.rb +41 -0
  87. data/spec/voog_api/api/tickets_spec.rb +54 -0
  88. data/spec/voog_spec.rb +38 -0
  89. data/voog_api.gemspec +27 -0
  90. metadata +278 -0
@@ -0,0 +1,89 @@
1
+ require 'spec_helper'
2
+
3
+ describe Voog::API::Pages do
4
+
5
+ let(:client) { voog_client }
6
+
7
+ describe '#pages' do
8
+ before do
9
+ request_fixture(:get, 'pages', fixture: 'pages/pages')
10
+ end
11
+
12
+ it 'returns a list of pages' do
13
+ expect(client.pages.length).to eql(2)
14
+ end
15
+ end
16
+
17
+ describe '#page' do
18
+ before do
19
+ request_fixture(:get, 'pages/2', fixture: 'pages/page')
20
+ end
21
+
22
+ it 'returns a single page' do
23
+ expect(client.page(2).title).to eq('Products')
24
+ end
25
+
26
+ it 'returns a page with the same id as in the request' do
27
+ expect(client.page(2).id).to eq(2)
28
+ end
29
+ end
30
+
31
+ describe '#delete_page' do
32
+
33
+ before do
34
+ request_fixture(:delete, 'pages/2')
35
+ end
36
+
37
+ it 'calls delete method on page' do
38
+ client.delete_page(2)
39
+ assert_requested :delete, 'http://voog.test/admin/api/pages/2'
40
+ end
41
+ end
42
+
43
+ describe '#update_page' do
44
+
45
+ before do
46
+ request_fixture(:put, 'pages/2', request: {body: {title: 'Updated title'}}, response: {body: '{"id": 2, "title": "Updated title"}'})
47
+ end
48
+
49
+ it 'responds with new title' do
50
+ expect(client.update_page(2, title: 'Updated title').title).to eq('Updated title')
51
+ end
52
+ end
53
+
54
+ describe '#patch_page' do
55
+
56
+ before do
57
+ request_fixture(:patch, 'pages/2', request: {body: {title: 'Updated title'}}, response: {body: '{"id": 2, "title": "Updated title"}'})
58
+ end
59
+
60
+ it 'responds with new title' do
61
+ expect(client.patch_page(2, title: 'Updated title').title).to eq('Updated title')
62
+ end
63
+ end
64
+
65
+ describe '#update_page_data' do
66
+
67
+ before do
68
+ request_fixture(:put, 'pages/2/data/my_key', request: {body: {value: 'New key'}}, response: {body: '{"id": 2, "data": {"my_key": "New key"}}'})
69
+ end
70
+
71
+ it 'responds with updated data' do
72
+ expect(client.update_page_data(2, 'my_key', 'New key').data.my_key).to eq('New key')
73
+ end
74
+ end
75
+
76
+ describe '#page_content' do
77
+ before do
78
+ request_fixture(:get, 'pages/1/contents/2', fixture: 'contents/content')
79
+ end
80
+
81
+ it 'returns a single content' do
82
+ expect(client.content(Voog::API::Contents::ParentKind::Page, 1, 2).name).to eq('slogan')
83
+ end
84
+
85
+ it 'returns a content with the same id as in the request' do
86
+ expect(client.content(Voog::API::Contents::ParentKind::Page, 1, 2).id).to eq(2)
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,30 @@
1
+ require 'spec_helper'
2
+
3
+ describe Voog::API::People do
4
+
5
+ let(:client) { voog_client }
6
+
7
+ describe '#people' do
8
+ before do
9
+ request_fixture(:get, 'people', fixture: 'people/people')
10
+ end
11
+
12
+ it 'returns a list of people' do
13
+ expect(client.people.length).to eql(2)
14
+ end
15
+ end
16
+
17
+ describe '#person' do
18
+ before do
19
+ request_fixture(:get, 'people/2', fixture: 'people/person')
20
+ end
21
+
22
+ it 'returns a single person' do
23
+ expect(client.person(2).name).to eq('api@example.com')
24
+ end
25
+
26
+ it 'returns a person with the same id as in the request' do
27
+ expect(client.person(2).id).to eq(2)
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,53 @@
1
+ require 'spec_helper'
2
+
3
+ describe Voog::API::Site do
4
+
5
+ let(:client) { voog_client }
6
+
7
+ describe '#site' do
8
+ before do
9
+ request_fixture(:get, 'site', fixture: 'site/site')
10
+ end
11
+
12
+ it 'returns a single site' do
13
+ expect(client.site.search_enabled).to eq(false)
14
+ end
15
+
16
+ it 'returns a site with the same meta_keywords as in the request' do
17
+ expect(client.site.meta_keywords).to eq('my key words')
18
+ end
19
+ end
20
+
21
+ describe '#update_site' do
22
+
23
+ before do
24
+ request_fixture(:put, 'site', request: {body: {meta_keywords: 'new keys'}}, response: {body: '{"meta_keywords": "new keys"}'})
25
+ end
26
+
27
+ it 'responds with updated meta_keywords' do
28
+ expect(client.update_site(meta_keywords: 'new keys').meta_keywords).to eq('new keys')
29
+ end
30
+ end
31
+
32
+ describe '#patch_site' do
33
+
34
+ before do
35
+ request_fixture(:patch, 'site', request: {body: {meta_keywords: 'new keys'}}, response: {body: '{"meta_keywords": "new keys"}'})
36
+ end
37
+
38
+ it 'responds with updated meta_keywords' do
39
+ expect(client.patch_site(meta_keywords: 'new keys').meta_keywords).to eq('new keys')
40
+ end
41
+ end
42
+
43
+ describe '#update_site_data' do
44
+
45
+ before do
46
+ request_fixture(:put, 'site/data/my_key', request: {body: {value: 'New key'}}, response: {body: '{"data": {"my_key": "New key"}}'})
47
+ end
48
+
49
+ it 'responds updated data' do
50
+ expect(client.update_site_data('my_key', 'New key').data.my_key).to eq('New key')
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,53 @@
1
+ require 'spec_helper'
2
+
3
+ describe Voog::API::Tags do
4
+
5
+ let(:client) { voog_client }
6
+
7
+ describe '#tags' do
8
+ before do
9
+ request_fixture(:get, 'tags', fixture: 'tags/tags')
10
+ end
11
+
12
+ it 'returns a list of tags' do
13
+ expect(client.tags.length).to eql(2)
14
+ end
15
+ end
16
+
17
+ describe '#tag' do
18
+ before do
19
+ request_fixture(:get, 'tags/2', fixture: 'tags/tag')
20
+ end
21
+
22
+ it 'returns a single tag' do
23
+ expect(client.tag(2).name).to eq('art')
24
+ end
25
+
26
+ it 'returns a tag with the same id as in the request' do
27
+ expect(client.tag(2).id).to eq(2)
28
+ end
29
+ end
30
+
31
+ describe '#update_tag' do
32
+
33
+ before do
34
+ request_fixture(:put, 'tags/2', request: {body: {name: 'New Label'}}, response: {body: '{"id": 2, "name": "New Label"}'})
35
+ end
36
+
37
+ it 'responds with new name' do
38
+ expect(client.update_tag(2, name: 'New Label').name).to eq('New Label')
39
+ end
40
+ end
41
+
42
+ describe '#delete_tag' do
43
+
44
+ before do
45
+ request_fixture(:delete, 'tags/2')
46
+ end
47
+
48
+ it 'calls delete method on tag' do
49
+ client.delete_tag(2)
50
+ assert_requested :delete, 'http://voog.test/admin/api/tags/2'
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,41 @@
1
+ require 'spec_helper'
2
+
3
+ describe Voog::API::Texts do
4
+
5
+ let(:client) { voog_client }
6
+
7
+ describe '#texts' do
8
+ before do
9
+ request_fixture(:get, 'texts', fixture: 'texts/texts')
10
+ end
11
+
12
+ it 'returns a list of texts' do
13
+ expect(client.texts.length).to eql(2)
14
+ end
15
+ end
16
+
17
+ describe '#text' do
18
+ before do
19
+ request_fixture(:get, 'texts/2', fixture: 'texts/text')
20
+ end
21
+
22
+ it 'returns a single text' do
23
+ expect(client.text(2).body).to eq('<h3>A better way to create a website</h3>')
24
+ end
25
+
26
+ it 'returns a text with the same id as in the request' do
27
+ expect(client.text(2).id).to eq(2)
28
+ end
29
+ end
30
+
31
+ describe '#update_text' do
32
+
33
+ before do
34
+ request_fixture(:put, 'texts/2', request: {body: {autosaved_body: 'Updated body'}}, response: {body: '{"id": 2, "autosaved_body": "Updated body"}'})
35
+ end
36
+
37
+ it 'responds with new autosaved_body' do
38
+ expect(client.update_text(2, autosaved_body: 'Updated body').autosaved_body).to eq('Updated body')
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,54 @@
1
+ require 'spec_helper'
2
+
3
+ describe Voog::API::Tickets do
4
+
5
+ let(:client) { voog_client }
6
+
7
+ describe '#tickets' do
8
+ before do
9
+ request_fixture(:get, 'forms/1/tickets', fixture: 'tickets/tickets')
10
+ end
11
+
12
+ it 'returns a list of tickets' do
13
+ expect(client.tickets(1).length).to eql(2)
14
+ end
15
+ end
16
+
17
+ describe '#ticket' do
18
+ before do
19
+ request_fixture(:get, 'forms/1/tickets/1', fixture: 'tickets/ticket')
20
+ end
21
+
22
+ it 'returns a single ticket' do
23
+ expect(client.ticket(1, 1).user_country).to eq('us')
24
+ end
25
+
26
+ it 'returns a ticket with the same id as in the request' do
27
+ expect(client.ticket(1, 1).id).to eq(1)
28
+ end
29
+ end
30
+
31
+ describe '#delete_ticket' do
32
+
33
+ before do
34
+ request_fixture(:delete, 'forms/1/tickets/2')
35
+ end
36
+
37
+ it 'calls delete method on ticket' do
38
+ client.delete_ticket(1, 2)
39
+ assert_requested :delete, 'http://voog.test/admin/api/forms/1/tickets/2'
40
+ end
41
+ end
42
+
43
+ describe '#delete_spam_tickets' do
44
+
45
+ before do
46
+ request_fixture(:delete, 'forms/1/tickets/delete_spam')
47
+ end
48
+
49
+ it 'calls delete_spam method on ticket' do
50
+ client.delete_spam_tickets(1)
51
+ assert_requested :delete, 'http://voog.test/admin/api/forms/1/tickets/delete_spam'
52
+ end
53
+ end
54
+ end
data/spec/voog_spec.rb ADDED
@@ -0,0 +1,38 @@
1
+ require 'spec_helper'
2
+
3
+ describe Voog do
4
+
5
+ describe '.configure' do
6
+
7
+ it 'sets host' do
8
+ Voog.configure do |config|
9
+ config.host = 'voog.local'
10
+ end
11
+
12
+ expect(Voog.host).to eq('voog.local')
13
+ end
14
+
15
+ it 'sets api token' do
16
+ Voog.configure do |config|
17
+ config.api_token = 'afcf30182aecfc8155d390d7d4552d14'
18
+ end
19
+
20
+ expect(Voog.api_token).to eq('afcf30182aecfc8155d390d7d4552d14')
21
+ end
22
+ end
23
+
24
+ describe '.client' do
25
+
26
+ before do
27
+ Voog.configure do |config|
28
+ config.host = 'voog.local'
29
+ config.api_token = 'afcf30182aecfc8155d390d7d4552d14'
30
+ end
31
+ end
32
+
33
+ it 'creates Voog::Client' do
34
+ expect(Voog.client).to be_kind_of(Voog::Client)
35
+ end
36
+ end
37
+
38
+ end
data/voog_api.gemspec ADDED
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'voog_api/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'voog_api'
8
+ spec.version = Voog::VERSION
9
+ spec.authors = ['Priit Haamer', 'Mikk Pristavka', 'Tanel Jakobsoo']
10
+ spec.email = ['priit@edicy.com', 'mikk@fraktal.ee', 'tanel@fraktal.ee']
11
+ spec.description = %q{Best API wrapper for the best website builder}
12
+ spec.summary = %q{Ruby toolkit for the Voog API}
13
+ spec.homepage = 'https://github.com/Edicy/voog.rb'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ['lib']
19
+
20
+ spec.add_development_dependency 'bundler', '~> 1.3'
21
+ spec.add_development_dependency 'guard-rspec', '~> 4.2.0'
22
+ spec.add_development_dependency 'rspec', '~> 2.14.1'
23
+ spec.add_development_dependency 'webmock', '1.16.0'
24
+ spec.add_development_dependency 'rake'
25
+
26
+ spec.add_dependency 'sawyer', '~> 0.5.4'
27
+ end
metadata ADDED
@@ -0,0 +1,278 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: voog_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
5
+ platform: ruby
6
+ authors:
7
+ - Priit Haamer
8
+ - Mikk Pristavka
9
+ - Tanel Jakobsoo
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2014-07-01 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: bundler
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.3'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '1.3'
29
+ - !ruby/object:Gem::Dependency
30
+ name: guard-rspec
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: 4.2.0
36
+ type: :development
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: 4.2.0
43
+ - !ruby/object:Gem::Dependency
44
+ name: rspec
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: 2.14.1
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: 2.14.1
57
+ - !ruby/object:Gem::Dependency
58
+ name: webmock
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - '='
62
+ - !ruby/object:Gem::Version
63
+ version: 1.16.0
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - '='
69
+ - !ruby/object:Gem::Version
70
+ version: 1.16.0
71
+ - !ruby/object:Gem::Dependency
72
+ name: rake
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ - !ruby/object:Gem::Dependency
86
+ name: sawyer
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: 0.5.4
92
+ type: :runtime
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - "~>"
97
+ - !ruby/object:Gem::Version
98
+ version: 0.5.4
99
+ description: Best API wrapper for the best website builder
100
+ email:
101
+ - priit@edicy.com
102
+ - mikk@fraktal.ee
103
+ - tanel@fraktal.ee
104
+ executables: []
105
+ extensions: []
106
+ extra_rdoc_files: []
107
+ files:
108
+ - ".gitignore"
109
+ - ".rspec"
110
+ - Gemfile
111
+ - Guardfile
112
+ - LICENSE.txt
113
+ - README.markdown
114
+ - Rakefile
115
+ - lib/voog_api.rb
116
+ - lib/voog_api/api/articles.rb
117
+ - lib/voog_api/api/assets.rb
118
+ - lib/voog_api/api/comments.rb
119
+ - lib/voog_api/api/content_partials.rb
120
+ - lib/voog_api/api/contents.rb
121
+ - lib/voog_api/api/element_definitions.rb
122
+ - lib/voog_api/api/elements.rb
123
+ - lib/voog_api/api/forms.rb
124
+ - lib/voog_api/api/languages.rb
125
+ - lib/voog_api/api/layout_assets.rb
126
+ - lib/voog_api/api/layouts.rb
127
+ - lib/voog_api/api/media_sets.rb
128
+ - lib/voog_api/api/nodes.rb
129
+ - lib/voog_api/api/pages.rb
130
+ - lib/voog_api/api/people.rb
131
+ - lib/voog_api/api/site.rb
132
+ - lib/voog_api/api/tags.rb
133
+ - lib/voog_api/api/texts.rb
134
+ - lib/voog_api/api/tickets.rb
135
+ - lib/voog_api/client.rb
136
+ - lib/voog_api/version.rb
137
+ - spec/fixtures/articles/article.json
138
+ - spec/fixtures/articles/articles.json
139
+ - spec/fixtures/assets/asset.json
140
+ - spec/fixtures/assets/assets.json
141
+ - spec/fixtures/comments/comment.json
142
+ - spec/fixtures/comments/comments.json
143
+ - spec/fixtures/content_partials/content_partial.json
144
+ - spec/fixtures/content_partials/content_partials.json
145
+ - spec/fixtures/contents/content.json
146
+ - spec/fixtures/contents/contents.json
147
+ - spec/fixtures/element_definitions/element_definition.json
148
+ - spec/fixtures/element_definitions/element_definitions.json
149
+ - spec/fixtures/elements/element.json
150
+ - spec/fixtures/elements/elements.json
151
+ - spec/fixtures/forms/form.json
152
+ - spec/fixtures/forms/forms.json
153
+ - spec/fixtures/languages/language.json
154
+ - spec/fixtures/languages/languages.json
155
+ - spec/fixtures/layout_assets/layout_asset.json
156
+ - spec/fixtures/layout_assets/layout_assets.json
157
+ - spec/fixtures/layouts/layout.json
158
+ - spec/fixtures/layouts/layouts.json
159
+ - spec/fixtures/media_sets/media_set.json
160
+ - spec/fixtures/media_sets/media_sets.json
161
+ - spec/fixtures/nodes/node.json
162
+ - spec/fixtures/nodes/nodes.json
163
+ - spec/fixtures/pages/page.json
164
+ - spec/fixtures/pages/pages.json
165
+ - spec/fixtures/people/people.json
166
+ - spec/fixtures/people/person.json
167
+ - spec/fixtures/site/site.json
168
+ - spec/fixtures/tags/tag.json
169
+ - spec/fixtures/tags/tags.json
170
+ - spec/fixtures/texts/text.json
171
+ - spec/fixtures/texts/texts.json
172
+ - spec/fixtures/tickets/ticket.json
173
+ - spec/fixtures/tickets/tickets.json
174
+ - spec/spec_helper.rb
175
+ - spec/voog_api/api/articles_spec.rb
176
+ - spec/voog_api/api/assets_spec.rb
177
+ - spec/voog_api/api/comments_spec.rb
178
+ - spec/voog_api/api/content_partials_spec.rb
179
+ - spec/voog_api/api/contents_spec.rb
180
+ - spec/voog_api/api/element_definitions_spec.rb
181
+ - spec/voog_api/api/elements_spec.rb
182
+ - spec/voog_api/api/forms_spec.rb
183
+ - spec/voog_api/api/languages_spec.rb
184
+ - spec/voog_api/api/layout_assets_spec.rb
185
+ - spec/voog_api/api/layouts_spec.rb
186
+ - spec/voog_api/api/media_sets_spec.rb
187
+ - spec/voog_api/api/nodes_spec.rb
188
+ - spec/voog_api/api/pages_spec.rb
189
+ - spec/voog_api/api/people_spec.rb
190
+ - spec/voog_api/api/site_spec.rb
191
+ - spec/voog_api/api/tags_spec.rb
192
+ - spec/voog_api/api/texts_spec.rb
193
+ - spec/voog_api/api/tickets_spec.rb
194
+ - spec/voog_spec.rb
195
+ - voog_api.gemspec
196
+ homepage: https://github.com/Edicy/voog.rb
197
+ licenses:
198
+ - MIT
199
+ metadata: {}
200
+ post_install_message:
201
+ rdoc_options: []
202
+ require_paths:
203
+ - lib
204
+ required_ruby_version: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ required_rubygems_version: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ">="
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ requirements: []
215
+ rubyforge_project:
216
+ rubygems_version: 2.2.2
217
+ signing_key:
218
+ specification_version: 4
219
+ summary: Ruby toolkit for the Voog API
220
+ test_files:
221
+ - spec/fixtures/articles/article.json
222
+ - spec/fixtures/articles/articles.json
223
+ - spec/fixtures/assets/asset.json
224
+ - spec/fixtures/assets/assets.json
225
+ - spec/fixtures/comments/comment.json
226
+ - spec/fixtures/comments/comments.json
227
+ - spec/fixtures/content_partials/content_partial.json
228
+ - spec/fixtures/content_partials/content_partials.json
229
+ - spec/fixtures/contents/content.json
230
+ - spec/fixtures/contents/contents.json
231
+ - spec/fixtures/element_definitions/element_definition.json
232
+ - spec/fixtures/element_definitions/element_definitions.json
233
+ - spec/fixtures/elements/element.json
234
+ - spec/fixtures/elements/elements.json
235
+ - spec/fixtures/forms/form.json
236
+ - spec/fixtures/forms/forms.json
237
+ - spec/fixtures/languages/language.json
238
+ - spec/fixtures/languages/languages.json
239
+ - spec/fixtures/layout_assets/layout_asset.json
240
+ - spec/fixtures/layout_assets/layout_assets.json
241
+ - spec/fixtures/layouts/layout.json
242
+ - spec/fixtures/layouts/layouts.json
243
+ - spec/fixtures/media_sets/media_set.json
244
+ - spec/fixtures/media_sets/media_sets.json
245
+ - spec/fixtures/nodes/node.json
246
+ - spec/fixtures/nodes/nodes.json
247
+ - spec/fixtures/pages/page.json
248
+ - spec/fixtures/pages/pages.json
249
+ - spec/fixtures/people/people.json
250
+ - spec/fixtures/people/person.json
251
+ - spec/fixtures/site/site.json
252
+ - spec/fixtures/tags/tag.json
253
+ - spec/fixtures/tags/tags.json
254
+ - spec/fixtures/texts/text.json
255
+ - spec/fixtures/texts/texts.json
256
+ - spec/fixtures/tickets/ticket.json
257
+ - spec/fixtures/tickets/tickets.json
258
+ - spec/spec_helper.rb
259
+ - spec/voog_api/api/articles_spec.rb
260
+ - spec/voog_api/api/assets_spec.rb
261
+ - spec/voog_api/api/comments_spec.rb
262
+ - spec/voog_api/api/content_partials_spec.rb
263
+ - spec/voog_api/api/contents_spec.rb
264
+ - spec/voog_api/api/element_definitions_spec.rb
265
+ - spec/voog_api/api/elements_spec.rb
266
+ - spec/voog_api/api/forms_spec.rb
267
+ - spec/voog_api/api/languages_spec.rb
268
+ - spec/voog_api/api/layout_assets_spec.rb
269
+ - spec/voog_api/api/layouts_spec.rb
270
+ - spec/voog_api/api/media_sets_spec.rb
271
+ - spec/voog_api/api/nodes_spec.rb
272
+ - spec/voog_api/api/pages_spec.rb
273
+ - spec/voog_api/api/people_spec.rb
274
+ - spec/voog_api/api/site_spec.rb
275
+ - spec/voog_api/api/tags_spec.rb
276
+ - spec/voog_api/api/texts_spec.rb
277
+ - spec/voog_api/api/tickets_spec.rb
278
+ - spec/voog_spec.rb