supportify_client 0.0.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -4
  3. data/Gemfile.lock +47 -39
  4. data/Rakefile +4 -4
  5. data/VERSION +1 -1
  6. data/lib/supportify_client/api/supportify_api.rb +560 -0
  7. data/lib/supportify_client/api_client.rb +271 -0
  8. data/lib/supportify_client/api_error.rb +24 -0
  9. data/lib/supportify_client/configuration.rb +187 -0
  10. data/lib/supportify_client/models/base_object.rb +87 -0
  11. data/lib/supportify_client/models/category.rb +53 -0
  12. data/lib/supportify_client/models/error.rb +53 -0
  13. data/lib/supportify_client/models/faq.rb +161 -0
  14. data/lib/supportify_client/models/info.rb +45 -0
  15. data/lib/supportify_client/models/tag.rb +53 -0
  16. data/lib/supportify_client/models/user.rb +45 -0
  17. data/lib/supportify_client.rb +30 -14
  18. data/spec/features/.gitkeep +0 -0
  19. data/supportify_client.gemspec +27 -27
  20. metadata +38 -26
  21. data/lib/supportify_client/api/category.rb +0 -17
  22. data/lib/supportify_client/api/error.rb +0 -13
  23. data/lib/supportify_client/api/faq.rb +0 -23
  24. data/lib/supportify_client/api/search.rb +0 -9
  25. data/lib/supportify_client/api/tag.rb +0 -17
  26. data/lib/supportify_client/api.rb +0 -5
  27. data/lib/supportify_client/client.rb +0 -49
  28. data/lib/supportify_client/factory.rb +0 -29
  29. data/lib/supportify_client/gateway.rb +0 -32
  30. data/lib/supportify_client/repository.rb +0 -23
  31. data/spec/features/categories_spec.rb +0 -55
  32. data/spec/features/client_spec.rb +0 -50
  33. data/spec/features/errors_spec.rb +0 -96
  34. data/spec/features/faqs_spec.rb +0 -55
  35. data/spec/features/search_spec.rb +0 -29
  36. data/spec/features/tags_spec.rb +0 -55
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 954039452dda6a2e714591e122952552fdd0acd4
4
- data.tar.gz: c7c986655ac97c67bd8a29831ac14a69f3d8485e
3
+ metadata.gz: 7c1726c868657f10d05903e9c4a47735366db2ba
4
+ data.tar.gz: 57a9354b31d0b8071d735e1dcb35d119b330cd74
5
5
  SHA512:
6
- metadata.gz: ed3546bf0adaca876c9e88ba18970b10e027a11ac9ab1fb22a29e74d94c7c13d6590550c4d7f05001bf0a6baa48dcaffeb97e4f7b961449ba25c8fc698099c01
7
- data.tar.gz: 25f4c53ba8f0d7f66506042b425b54daaa865bfae215b868b43e2ea0ed7dfeab823dfac756e17ac42b45075010d1f810758759ee8c7ce852dfacd97ac5310689
6
+ metadata.gz: 1ceebee1d5ef92432a3d7723b2c33a85a3774a49e6149d7aea72ac1f43a07df711c0e210f3fc6d335f22825f23d1c4fec5d05b9266741a584005f753936f9982
7
+ data.tar.gz: 03f49bc0039c0c511f2ba292f7a0e0f2459306521b639ed7dc84d97702f436be3107a52f12c964d526698989d08601aaf4da1a7df65da0e9b20a3386f1ea0a2c
data/Gemfile CHANGED
@@ -1,6 +1,7 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'rest-client', '~> 1.7.1'
3
+ gem "typhoeus", "~> 0.2"
4
+ gem "json", "~> 1.4"
4
5
 
5
6
  group :development do
6
7
  gem "rspec", "~> 2.8.0"
@@ -12,7 +13,8 @@ group :development do
12
13
  end
13
14
 
14
15
  group :test do
15
- gem "webmock"
16
- gem "factory_girl"
17
- gem "faker"
16
+ gem "vcr", "~> 2.9"
17
+ gem "webmock", "~> 1.6"
18
+ gem "factory_girl", "~> 4.4"
19
+ gem "faker", "1.4.3"
18
20
  end
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activesupport (4.1.5)
5
- i18n (~> 0.6, >= 0.6.9)
4
+ activesupport (4.2.5)
5
+ i18n (~> 0.7)
6
6
  json (~> 1.7, >= 1.7.7)
7
7
  minitest (~> 5.1)
8
- thread_safe (~> 0.1)
8
+ thread_safe (~> 0.3, >= 0.3.4)
9
9
  tzinfo (~> 1.1)
10
- addressable (2.3.6)
10
+ addressable (2.3.8)
11
11
  builder (3.2.2)
12
12
  crack (0.4.2)
13
13
  safe_yaml (~> 1.0.0)
@@ -15,24 +15,28 @@ GEM
15
15
  thread_safe (~> 0.3, >= 0.3.1)
16
16
  diff-lcs (1.1.3)
17
17
  docile (1.1.5)
18
- factory_girl (4.4.0)
18
+ ethon (0.8.0)
19
+ ffi (>= 1.3.0)
20
+ factory_girl (4.5.0)
19
21
  activesupport (>= 3.0.0)
20
22
  faker (1.4.3)
21
23
  i18n (~> 0.5)
22
- faraday (0.9.0)
24
+ faraday (0.9.2)
23
25
  multipart-post (>= 1.2, < 3)
24
- git (1.2.8)
25
- github_api (0.12.1)
26
+ ffi (1.9.10)
27
+ git (1.2.9.1)
28
+ github_api (0.12.4)
26
29
  addressable (~> 2.3)
27
30
  descendants_tracker (~> 0.0.4)
28
31
  faraday (~> 0.8, < 0.10)
29
- hashie (>= 3.2)
32
+ hashie (>= 3.4)
30
33
  multi_json (>= 1.7.5, < 2.0)
31
- nokogiri (~> 1.6.3)
34
+ nokogiri (~> 1.6.6)
32
35
  oauth2
33
- hashie (3.3.0)
34
- highline (1.6.21)
35
- i18n (0.6.11)
36
+ hashdiff (0.2.3)
37
+ hashie (3.4.3)
38
+ highline (1.7.8)
39
+ i18n (0.7.0)
36
40
  jeweler (2.0.1)
37
41
  builder
38
42
  bundler (>= 1.0)
@@ -42,30 +46,25 @@ GEM
42
46
  nokogiri (>= 1.5.10)
43
47
  rake
44
48
  rdoc
45
- json (1.8.1)
46
- jwt (1.0.0)
47
- mime-types (2.3)
48
- mini_portile (0.6.0)
49
- minitest (5.4.0)
50
- multi_json (1.10.1)
49
+ json (1.8.3)
50
+ jwt (1.5.2)
51
+ mini_portile (0.6.2)
52
+ minitest (5.8.2)
53
+ multi_json (1.11.2)
51
54
  multi_xml (0.5.5)
52
55
  multipart-post (2.0.0)
53
- netrc (0.7.7)
54
- nokogiri (1.6.3.1)
55
- mini_portile (= 0.6.0)
56
+ nokogiri (1.6.6.3)
57
+ mini_portile (~> 0.6.0)
56
58
  oauth2 (1.0.0)
57
59
  faraday (>= 0.8, < 0.10)
58
60
  jwt (~> 1.0)
59
61
  multi_json (~> 1.3)
60
62
  multi_xml (~> 0.5)
61
63
  rack (~> 1.2)
62
- rack (1.5.2)
63
- rake (10.3.2)
64
+ rack (1.6.4)
65
+ rake (10.4.2)
64
66
  rdoc (3.12.2)
65
67
  json (~> 1.4)
66
- rest-client (1.7.2)
67
- mime-types (>= 1.16, < 3.0)
68
- netrc (~> 0.7)
69
68
  rspec (2.8.0)
70
69
  rspec-core (~> 2.8.0)
71
70
  rspec-expectations (~> 2.8.0)
@@ -74,31 +73,40 @@ GEM
74
73
  rspec-expectations (2.8.0)
75
74
  diff-lcs (~> 1.1.2)
76
75
  rspec-mocks (2.8.0)
77
- safe_yaml (1.0.3)
78
- simplecov (0.9.0)
76
+ safe_yaml (1.0.4)
77
+ simplecov (0.10.0)
79
78
  docile (~> 1.1.0)
80
- multi_json
81
- simplecov-html (~> 0.8.0)
82
- simplecov-html (0.8.0)
83
- thread_safe (0.3.4)
79
+ json (~> 1.8)
80
+ simplecov-html (~> 0.10.0)
81
+ simplecov-html (0.10.0)
82
+ thread_safe (0.3.5)
83
+ typhoeus (0.8.0)
84
+ ethon (>= 0.8.0)
84
85
  tzinfo (1.2.2)
85
86
  thread_safe (~> 0.1)
86
- webmock (1.18.0)
87
+ vcr (2.9.3)
88
+ webmock (1.22.3)
87
89
  addressable (>= 2.3.6)
88
90
  crack (>= 0.3.2)
89
- yard (0.8.7.4)
91
+ hashdiff
92
+ yard (0.8.7.6)
90
93
 
91
94
  PLATFORMS
92
95
  ruby
93
96
 
94
97
  DEPENDENCIES
95
98
  bundler (~> 1.0)
96
- factory_girl
97
- faker
99
+ factory_girl (~> 4.4)
100
+ faker (= 1.4.3)
98
101
  jeweler (~> 2.0.1)
102
+ json (~> 1.4)
99
103
  rdoc (~> 3.12)
100
- rest-client (~> 1.7.1)
101
104
  rspec (~> 2.8.0)
102
105
  simplecov
103
- webmock
106
+ typhoeus (~> 0.2)
107
+ vcr (~> 2.9)
108
+ webmock (~> 1.6)
104
109
  yard (~> 0.7)
110
+
111
+ BUNDLED WITH
112
+ 1.10.5
data/Rakefile CHANGED
@@ -16,11 +16,11 @@ require 'jeweler'
16
16
  Jeweler::Tasks.new do |gem|
17
17
  # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
18
18
  gem.name = "supportify_client"
19
- gem.homepage = "http://github.com/supportify/supportify_ruby"
19
+ gem.homepage = "http://github.com/supportify/supportify-ruby"
20
20
  gem.license = "MIT"
21
- gem.summary = %Q{Ruby client for the Supportify.io help and support API.}
22
- gem.description = %Q{Ruby client for the Supportify.io help and support API.}
23
- gem.email = "jordan.yaker@supportify.io"
21
+ gem.summary = %Q{Ruby client library for Supportify.io.}
22
+ gem.description = %Q{Supportify is the world's first Help Center as a Service that focuses on providing you with a smart help center to provide better help content in less time.}
23
+ gem.email = "help@supportify.io"
24
24
  gem.authors = ["Jordan Yaker", "Supportify, Inc."]
25
25
  end
26
26
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 1.0.0