latergram 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 64001762488bc5f3690f25bbe9f17d5b90ecc1dddcf68abc36bad54e12133f62
4
+ data.tar.gz: 5a16162eba4050ae1ab9937a56d19f478e1c9d29198252fe25875e78692b1756
5
+ SHA512:
6
+ metadata.gz: 01ce88c3f1b39cf324626a1aa75347a8f3ad4eaaccdb495a36e51e17d614c1b6fd72ec158ed2748cee3412fa9750360fd8aae64a3bcf97169bea8a9cffda07df
7
+ data.tar.gz: 01bc1ff85bdea9e02cbc141562112d0a3aa9307fa189f74be5de83fc186457aa73e98b1bb29e150e31ab29ed4e160db191cba5d51b9ee71b7a3aa55345feb134
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,14 @@
1
+ require:
2
+ - rubocop-performance
3
+ - rubocop-rspec
4
+
5
+ Style/Documentation:
6
+ Enabled: false
7
+
8
+ Metrics/LineLength:
9
+ Max: 120
10
+
11
+ Metrics/BlockLength:
12
+ Exclude:
13
+ - 'spec/**/*'
14
+ - '**/*.gemspec'
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in latergram.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ latergram (1.0.0)
5
+ faraday (>= 0.9.0)
6
+ json (~> 2.2)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ast (2.4.0)
12
+ diff-lcs (1.3)
13
+ faraday (1.0.0)
14
+ multipart-post (>= 1.2, < 3)
15
+ jaro_winkler (1.5.4)
16
+ json (2.3.0)
17
+ multipart-post (2.1.1)
18
+ parallel (1.18.0)
19
+ parser (2.6.5.0)
20
+ ast (~> 2.4.0)
21
+ rainbow (3.0.0)
22
+ rake (10.5.0)
23
+ rspec (3.9.0)
24
+ rspec-core (~> 3.9.0)
25
+ rspec-expectations (~> 3.9.0)
26
+ rspec-mocks (~> 3.9.0)
27
+ rspec-core (3.9.0)
28
+ rspec-support (~> 3.9.0)
29
+ rspec-expectations (3.9.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.9.0)
32
+ rspec-mocks (3.9.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.9.0)
35
+ rspec-support (3.9.0)
36
+ rubocop (0.74.0)
37
+ jaro_winkler (~> 1.5.1)
38
+ parallel (~> 1.10)
39
+ parser (>= 2.6)
40
+ rainbow (>= 2.2.2, < 4.0)
41
+ ruby-progressbar (~> 1.7)
42
+ unicode-display_width (>= 1.4.0, < 1.7)
43
+ rubocop-performance (1.5.0)
44
+ rubocop (>= 0.71.0)
45
+ rubocop-rspec (1.36.0)
46
+ rubocop (>= 0.68.1)
47
+ ruby-progressbar (1.10.1)
48
+ unicode-display_width (1.6.0)
49
+ vcr (5.0.0)
50
+
51
+ PLATFORMS
52
+ ruby
53
+
54
+ DEPENDENCIES
55
+ bundler (~> 2.0)
56
+ latergram!
57
+ rake (~> 10.0)
58
+ rspec (~> 3.0)
59
+ rubocop (= 0.74)
60
+ rubocop-performance (~> 1.5)
61
+ rubocop-rspec (~> 1.36)
62
+ vcr (~> 5.0)
63
+
64
+ BUNDLED WITH
65
+ 2.1.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Alexey Krasnoperov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,186 @@
1
+ # Latergram
2
+
3
+ Latergram API Client
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'latergram'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install latergram
20
+
21
+ ## Usage
22
+
23
+ ### API Client
24
+
25
+ ```ruby
26
+ api = Latergram::Api.new(api_key)
27
+ ```
28
+
29
+ ### Social Posts
30
+
31
+ #### Create a social post
32
+
33
+ ```ruby
34
+ api.social_posts.create(
35
+ text: "example text",
36
+ image_urls: [url1, url2]
37
+ )
38
+ ```
39
+
40
+ Response:
41
+
42
+ ```ruby
43
+ {
44
+ 'data' => {
45
+ 'id' => '99',
46
+ 'type' => 'social_post',
47
+ 'attributes' => {
48
+ 'text' => 'example text',
49
+ 'created_at' => '2019-10-30T23:54:12.147+01:00',
50
+ 'updated_at' => '2019-10-30T23:54:12.192+01:00',
51
+ 'status' => 'new',
52
+ 'published_at' => '2045-06-01T12:05:00.000+01:00'
53
+ }
54
+ }
55
+ }
56
+ ```
57
+
58
+ #### Update a social post
59
+
60
+ ```ruby
61
+ api.social_posts.update(99, text: 'another text')
62
+ ```
63
+
64
+ Response:
65
+
66
+ ```ruby
67
+ {
68
+ 'data' => {
69
+ 'id' => '99',
70
+ 'type' => 'social_post',
71
+ 'attributes' => {
72
+ 'text' => 'another text',
73
+ 'created_at' => '2019-10-30T23:54:12.147+01:00',
74
+ 'updated_at' => '2019-10-31T00:01:58.128+01:00',
75
+ 'status' => 'new',
76
+ 'published_at' => '2045-06-01T12:05:00.000+01:00'
77
+ }
78
+ }
79
+ }
80
+ ```
81
+
82
+ #### Destroy a social post
83
+
84
+ ```ruby
85
+ api.social_posts.destroy(99)
86
+ ```
87
+
88
+ Response:
89
+
90
+ ```ruby
91
+ {
92
+ 'data' => {
93
+ 'id' => '99',
94
+ 'type' => 'social_post',
95
+ 'attributes' => {
96
+ 'text' => 'another text',
97
+ 'created_at' => '2019-10-30T23:54:12.147+01:00',
98
+ 'updated_at' => '2019-10-31T00:03:30.973+01:00',
99
+ 'status' => 'to_be_deleted',
100
+ 'published_at' => '2045-06-01T12:05:00.000+01:00'
101
+ }
102
+ }
103
+ }
104
+ ```
105
+
106
+ #### List all social posts
107
+
108
+ ```ruby
109
+ api.social_posts.all(page: 1, per_page: 10)
110
+ ```
111
+
112
+ Response:
113
+
114
+ ```ruby
115
+ {
116
+ 'data' => [
117
+ {
118
+ 'id' => '98',
119
+ 'type' => 'social_post',
120
+ 'attributes' => {
121
+ 'text' => 'test1',
122
+ 'created_at' => '2019-10-30T20:54:14.960+01:00',
123
+ 'updated_at' => '2019-10-30T20:54:15.011+01:00',
124
+ 'status' => 'new',
125
+ 'published_at' => '2019-10-30T20:59:14.000+01:00'
126
+ }
127
+ },
128
+ # ...
129
+ {
130
+ 'id' => '95',
131
+ 'type' => 'social_post',
132
+ 'attributes' => {
133
+ 'text' => 'test2',
134
+ 'created_at' => '2019-10-29T22:46:35.857+01:00',
135
+ 'updated_at' => '2019-10-29T23:46:41.645+01:00',
136
+ 'status' => 'published',
137
+ 'published_at' => '2019-10-29T23:46:35.000+01:00'
138
+ }
139
+ }
140
+ ],
141
+ 'links' => {
142
+ 'first' => 'http://localhost/api/social_posts?page=1&per_page=10',
143
+ 'last' => 'http://localhost/api/social_posts?page=26&per_page=10',
144
+ 'next' => 'http://localhost/api/social_posts?page=2&per_page=10'
145
+ },
146
+ 'meta' => { 'total' => 51 }
147
+ }
148
+ ```
149
+
150
+ #### Find one social post
151
+
152
+ ```ruby
153
+ api.social_posts.find(95)
154
+ ```
155
+
156
+ Response:
157
+
158
+ ```ruby
159
+ {
160
+ 'data' => {
161
+ 'id' => '95',
162
+ 'type' => 'social_post',
163
+ 'attributes' => {
164
+ 'text' => 'test2',
165
+ 'created_at' => '2019-10-29T22:46:35.857+01:00',
166
+ 'updated_at' => '2019-10-29T23:46:41.645+01:00',
167
+ 'status' => 'published',
168
+ 'published_at' => '2019-10-29T23:46:35.000+01:00'
169
+ }
170
+ }
171
+ }
172
+ ```
173
+
174
+ ## Development
175
+
176
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
177
+
178
+ To install this gem onto your local machine, run `bundle exec rake install`.
179
+
180
+ ## Contributing
181
+
182
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Latergram/latergram_ruby.
183
+
184
+ ## License
185
+
186
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'latergram'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/latergram.gemspec ADDED
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'latergram/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'latergram'
9
+ spec.version = Latergram::VERSION
10
+ spec.authors = ['Alexey Krasnoperov']
11
+ spec.email = ['']
12
+
13
+ spec.summary = 'Latergram API Client'
14
+ spec.description = 'Latergram API Client'
15
+ #spec.homepage = ''
16
+ spec.license = 'MIT'
17
+
18
+ #spec.metadata['homepage_uri'] = spec.homepage
19
+ #spec.metadata['source_code_uri'] = ''
20
+ #spec.metadata['changelog_uri'] = ''
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
25
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ end
27
+ spec.bindir = 'exe'
28
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ['lib']
30
+
31
+ spec.add_runtime_dependency 'faraday', '>= 0.9.0'
32
+ spec.add_runtime_dependency 'json', '~> 2.2'
33
+
34
+ spec.add_development_dependency 'bundler', '~> 2.0'
35
+ spec.add_development_dependency 'rake', '~> 10.0'
36
+ spec.add_development_dependency 'rspec', '~> 3.0'
37
+ spec.add_development_dependency 'rubocop', '0.74'
38
+ spec.add_development_dependency 'rubocop-performance', '~> 1.5'
39
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.36'
40
+ spec.add_development_dependency 'vcr', '~> 5.0'
41
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'latergram/social_posts'
4
+
5
+ module Latergram
6
+ class Api
7
+ attr_reader :api_key, :api_url
8
+
9
+ API_URL = 'https://api.latergr.am/v1'
10
+
11
+ def initialize(api_key, api_url: API_URL)
12
+ @api_key = api_key
13
+ @api_url = api_url
14
+ end
15
+
16
+ def social_posts
17
+ @social_posts ||= SocialPosts.new(api_key, api_url: api_url)
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'faraday'
4
+
5
+ module Latergram
6
+ class Requester
7
+ attr_reader :api_key, :api_url
8
+
9
+ CONTENT_TYPE = 'application/json'
10
+
11
+ def initialize(api_key, api_url)
12
+ @api_key = api_key
13
+ @api_url = api_url
14
+ end
15
+
16
+ def get(endpoint, parameters = nil)
17
+ conn.get(endpoint, parameters) do |req|
18
+ req.headers[:content_type] = CONTENT_TYPE
19
+ end
20
+ end
21
+
22
+ def post(endpoint, parameters = nil)
23
+ conn.post(endpoint) do |req|
24
+ req.headers[:content_type] = CONTENT_TYPE
25
+ req.body = JSON.generate(parameters)
26
+ end
27
+ end
28
+
29
+ def put(endpoint, parameters = nil)
30
+ conn.put(endpoint) do |req|
31
+ req.headers[:content_type] = CONTENT_TYPE
32
+ req.body = JSON.generate(parameters)
33
+ end
34
+ end
35
+
36
+ def delete(endpoint)
37
+ conn.delete(endpoint) do |req|
38
+ req.headers[:content_type] = CONTENT_TYPE
39
+ end
40
+ end
41
+
42
+ private
43
+
44
+ def conn
45
+ @conn ||= Faraday.new(url: api_url) do |faraday|
46
+ faraday.adapter Faraday.default_adapter
47
+ faraday.headers['Api-Key'] = api_key
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,71 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'latergram/requester'
4
+ require 'time'
5
+
6
+ module Latergram
7
+ class SocialPosts
8
+ attr_reader :api_key, :api_url
9
+
10
+ ENDPOINT = 'social_posts'
11
+
12
+ def initialize(api_key, api_url:)
13
+ @api_key = api_key
14
+ @api_url = api_url
15
+ end
16
+
17
+ def all(page: 1, per_page: 10)
18
+ response = requester.get(ENDPOINT, page: page, per_page: per_page)
19
+
20
+ raise Latergram::Error, response.body unless response.status == 200
21
+
22
+ JSON.parse(response.body)
23
+ end
24
+
25
+ def find(social_post_id)
26
+ response = requester.get(ENDPOINT + "/#{social_post_id}")
27
+
28
+ raise Latergram::Error, response.body unless response.status == 200
29
+
30
+ JSON.parse(response.body)
31
+ end
32
+
33
+ def create(text:, image_urls: [])
34
+ check_images(image_urls)
35
+
36
+ parameters = { social_post: { text: text, image_urls: image_urls }.compact }
37
+ response = requester.post(ENDPOINT, parameters)
38
+
39
+ raise Latergram::Error, response.body unless response.status == 200
40
+
41
+ JSON.parse(response.body)
42
+ end
43
+
44
+ def update(social_post_id, text: nil)
45
+ parameters = { social_post: { text: text }.compact }
46
+ response = requester.put(ENDPOINT + "/#{social_post_id}", parameters)
47
+
48
+ raise Latergram::Error, response.body unless response.status == 200
49
+
50
+ JSON.parse(response.body)
51
+ end
52
+
53
+ def destroy(social_post_id)
54
+ response = requester.delete(ENDPOINT + "/#{social_post_id}")
55
+
56
+ raise Latergram::Error, response.body unless response.status == 200
57
+
58
+ JSON.parse(response.body)
59
+ end
60
+
61
+ private
62
+
63
+ def check_images(image_urls)
64
+ raise(Latergram::Error, 'image_urls must be array') unless image_urls.is_a?(Array)
65
+ end
66
+
67
+ def requester
68
+ @requester ||= Requester.new(api_key, api_url)
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Latergram
4
+ VERSION = '1.0.0'
5
+ end
data/lib/latergram.rb ADDED
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'latergram/version'
4
+
5
+ require 'latergram/api'
6
+
7
+ require 'json'
8
+
9
+ module Latergram
10
+ class Error < StandardError; end
11
+ end
metadata ADDED
@@ -0,0 +1,185 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: latergram
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Alexey Krasnoperov
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-02-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.9.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: '0.74'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: '0.74'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-performance
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.5'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.5'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.36'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.36'
125
+ - !ruby/object:Gem::Dependency
126
+ name: vcr
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '5.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '5.0'
139
+ description: Latergram API Client
140
+ email:
141
+ - ''
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".gitignore"
147
+ - ".rspec"
148
+ - ".rubocop.yml"
149
+ - Gemfile
150
+ - Gemfile.lock
151
+ - LICENSE.txt
152
+ - README.md
153
+ - Rakefile
154
+ - bin/console
155
+ - bin/setup
156
+ - latergram.gemspec
157
+ - lib/latergram.rb
158
+ - lib/latergram/api.rb
159
+ - lib/latergram/requester.rb
160
+ - lib/latergram/social_posts.rb
161
+ - lib/latergram/version.rb
162
+ homepage:
163
+ licenses:
164
+ - MIT
165
+ metadata: {}
166
+ post_install_message:
167
+ rdoc_options: []
168
+ require_paths:
169
+ - lib
170
+ required_ruby_version: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ requirements: []
181
+ rubygems_version: 3.1.2
182
+ signing_key:
183
+ specification_version: 4
184
+ summary: Latergram API Client
185
+ test_files: []