name_drop 0.1.0

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: bfe4f489e21dee9625ddb8f781eebae36571d5c6
4
+ data.tar.gz: d0d52f5abc23ea41e35142314cbee5390d45a276
5
+ SHA512:
6
+ metadata.gz: 1f6a7cef19ec2cc96d58c8ea8307ba4f5604faf6042bd7a6c4c87d4da34ca6d179d666f4856ef7b5b1b518b6e6d1e9e1f2645d138f4d7fc5d351ef8c663dcf7f
7
+ data.tar.gz: ea36f935dfb2253b3952e20c4072e426650897977bc3592561b3bfb45aeb1a7103e97d81175899b9841ae996bb7719b59eb7b822f0faff2ab528ef1ba3a076ef
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /.idea/
11
+ /name_drop-0.1.0.gem
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.12.5
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at ppettengill@merkleinc.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in name_drop.gemspec
4
+ gemspec
@@ -0,0 +1,11 @@
1
+ guard 'rspec', cmd: 'bundle exec rspec' do
2
+ # watch /lib/ files
3
+ watch(%r{^lib/(.+).rb$}) do |m|
4
+ "spec/#{m[1]}_spec.rb"
5
+ end
6
+
7
+ # watch /spec/ files
8
+ watch(%r{^spec/(.+).rb$}) do |m|
9
+ "spec/#{m[1]}.rb"
10
+ end
11
+ end
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Paul Pettengill
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.
@@ -0,0 +1,41 @@
1
+ # NameDrop
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/name_drop`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'name_drop'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install name_drop
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ 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.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/500friends/name_drop. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'name_drop'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require 'irb'
14
+ IRB.start
@@ -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
@@ -0,0 +1,14 @@
1
+ require 'name_drop/version'
2
+
3
+ require 'name_drop/configuration'
4
+ require 'name_drop/client'
5
+ require 'name_drop/error'
6
+
7
+ require 'name_drop/resources/base'
8
+ require 'name_drop/resources/base_factory'
9
+
10
+ require 'name_drop/resources/alert'
11
+ require 'name_drop/resources/mention'
12
+ require 'name_drop/resources/share'
13
+
14
+
@@ -0,0 +1,69 @@
1
+ require 'rest-client'
2
+
3
+ module NameDrop
4
+ class Client
5
+ def initialize(*)
6
+ end
7
+
8
+ def alerts
9
+ Resources::BaseFactory.new(self, 'Alert')
10
+ end
11
+
12
+ def mentions
13
+ Resources::BaseFactory.new(self, 'Mention')
14
+ end
15
+
16
+ def shares
17
+ Resources::BaseFactory.new(self, 'Share')
18
+ end
19
+
20
+ def get(endpoint)
21
+ request(:get, endpoint)
22
+ end
23
+
24
+ def post(endpoint, attributes)
25
+ request(:post, endpoint, attributes)
26
+ end
27
+
28
+ def put(endpoint, attributes)
29
+ request(:put, endpoint, attributes)
30
+ end
31
+
32
+ def delete(endpoint)
33
+ request(:delete, endpoint)
34
+ end
35
+
36
+ private
37
+
38
+ def request(method, endpoint, attributes = {})
39
+ response = RestClient::Request.execute(create_request_hash(method, endpoint, attributes))
40
+ JSON.parse(response) unless response.empty?
41
+ rescue RestClient::ExceptionWithResponse => err
42
+ raise NameDrop::Error.new(error_message(method), JSON.parse(err.response))
43
+ end
44
+
45
+ def create_request_hash(method, endpoint, attributes)
46
+ request_hash = { method: method, url: request_url(endpoint), headers: headers }
47
+ request_hash[:payload] = attributes.to_json unless attributes.empty?
48
+ request_hash
49
+ end
50
+
51
+ def error_message(method)
52
+ "Error #{error_verbs[method]} Mention Resource"
53
+ end
54
+
55
+ def error_verbs
56
+ { get: 'retrieving', post: 'creating', put: 'updating', delete: 'deleting' }
57
+ end
58
+
59
+ def headers
60
+ @headers ||= { 'Content-Type' => 'application/json',
61
+ 'Accept-Version' => '1.8',
62
+ 'Authorization' => "Bearer #{NameDrop.configuration.access_token}" }
63
+ end
64
+
65
+ def request_url(endpoint)
66
+ "https://web.mention.net/api/accounts/#{NameDrop.configuration.account_id}/#{endpoint}"
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,25 @@
1
+ module NameDrop
2
+ class Configuration
3
+ attr_accessor :account_id, :access_token
4
+
5
+ def initialize
6
+ @account_id = 'NotARealAccountID'
7
+ @access_token = 'NotARealAccessToken'
8
+ end
9
+ end
10
+
11
+ class << self
12
+
13
+ def configuration
14
+ @configuration ||= Configuration.new
15
+ end
16
+
17
+ def configuration=(config)
18
+ @configuration = config
19
+ end
20
+
21
+ def configure
22
+ yield(configuration)
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,10 @@
1
+ module NameDrop
2
+ class Error < StandardError
3
+ attr_reader :response
4
+
5
+ def initialize(msg, response)
6
+ @response = response
7
+ super msg
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,17 @@
1
+ module NameDrop
2
+ module Resources
3
+ class Alert < Base
4
+ def destroy
5
+ raise NotImplementedError, 'You cannot delete an Alert directly'
6
+ end
7
+
8
+ def endpoint
9
+ self.class.endpoint
10
+ end
11
+
12
+ def self.endpoint(_params = {})
13
+ 'alerts'
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,74 @@
1
+ require 'active_support'
2
+ require 'active_support/inflector'
3
+ require 'active_support/core_ext/object'
4
+
5
+ module NameDrop
6
+ module Resources
7
+ class Base
8
+ attr_accessor :attributes
9
+ attr_reader :errors
10
+
11
+ def initialize(client, attributes = {})
12
+ @client = client
13
+ @attributes = attributes
14
+ @errors = []
15
+ end
16
+
17
+ def self.all(client, params = {})
18
+ response = client.get(endpoint(params))
19
+ response[response_key.pluralize].map do |attributes|
20
+ new(client, attributes)
21
+ end
22
+ end
23
+
24
+ def self.find(client, id)
25
+ response = client.get("#{endpoint}/#{id}")
26
+ if response[response_key].present?
27
+ new(client, response[response_key])
28
+ else
29
+ response
30
+ end
31
+ end
32
+
33
+ def self.build(client, attributes = {})
34
+ new(client, attributes)
35
+ end
36
+
37
+ def save
38
+ path = new_record? ? endpoint : "#{endpoint}/#{attributes['id']}"
39
+ response = client.send(persistence_action, path, attributes)
40
+ if response[response_key].present?
41
+ self.attributes = response[response_key]
42
+ true
43
+ else
44
+ @errors = response
45
+ false
46
+ end
47
+ end
48
+
49
+ def destroy(params = {})
50
+ client.delete("#{endpoint(params)}/#{attributes['id']}")
51
+ end
52
+
53
+ def self.response_key
54
+ name.demodulize.downcase
55
+ end
56
+
57
+ private
58
+
59
+ attr_reader :client
60
+
61
+ def response_key
62
+ self.class.response_key
63
+ end
64
+
65
+ def persistence_action
66
+ new_record? ? :post : :put
67
+ end
68
+
69
+ def new_record?
70
+ !attributes['id']
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,33 @@
1
+ require 'active_support'
2
+ require 'active_support/inflector'
3
+ require 'active_support/core_ext/object'
4
+
5
+ module NameDrop
6
+ module Resources
7
+ class BaseFactory
8
+ def initialize(client, resource_class_name)
9
+ @client = client
10
+ @resource_class_name = resource_class_name
11
+ end
12
+
13
+ def self.delegate_to_target(*methods)
14
+ methods.each do |method|
15
+ define_method method do |*args|
16
+ modularized_class.send(method, client, *args)
17
+ end
18
+ end
19
+ end
20
+ private_class_method :delegate_to_target
21
+
22
+ delegate_to_target :all, :find, :build
23
+
24
+ private
25
+
26
+ attr_reader :client, :resource_class_name
27
+
28
+ def modularized_class
29
+ "NameDrop::Resources::#{resource_class_name}".constantize
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,21 @@
1
+ module NameDrop
2
+ module Resources
3
+ class Mention < Base
4
+ def self.find(_id)
5
+ raise NotImplementedError, 'Single fetch mention not supported'
6
+ end
7
+
8
+ def save
9
+ raise NotImplementedError, 'You cannot alter a mention'
10
+ end
11
+
12
+ def destroy
13
+ raise NotImplementedError, 'You cannot alter a mention'
14
+ end
15
+
16
+ def self.endpoint(params = {})
17
+ "alerts/#{params[:alert_id]}/mentions"
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ module NameDrop
2
+ module Resources
3
+ class Share < Base
4
+ def self.find(_id)
5
+ raise NotImplementedError, 'Single fetch share not supported'
6
+ end
7
+
8
+ def save
9
+ raise NotImplementedError, 'Single fetch update not supported'
10
+ end
11
+
12
+ def self.endpoint(params = {})
13
+ "alerts/#{params[:alert_id]}/shares"
14
+ end
15
+
16
+ def endpoint(params = {})
17
+ self.class.endpoint(params)
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,3 @@
1
+ module NameDrop
2
+ VERSION = '0.1.0'
3
+ end
@@ -0,0 +1,40 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'name_drop/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'name_drop'
8
+ spec.version = NameDrop::VERSION
9
+ spec.authors = ['Paul Pettengill', 'Adam Bedford']
10
+ spec.email = ['ppettengill@merkleinc.com']
11
+
12
+ spec.summary = %q{Ruby encapsulation for use with Mention API}
13
+ spec.description = %q{Ruby usage of Mention API}
14
+ spec.homepage = 'https://github.com/500friends/name_drop'
15
+ spec.license = 'MIT'
16
+
17
+ if spec.respond_to?(:metadata)
18
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
19
+ else
20
+ raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
21
+ end
22
+
23
+ spec.files = `git ls-files`.split("\n").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ spec.bindir = 'exe'
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ['lib']
27
+
28
+ spec.add_runtime_dependency 'rest-client', '~> 2.0'
29
+ spec.add_runtime_dependency 'activesupport', '~> 5.0'
30
+ spec.add_development_dependency 'bundler', '~> 1.12'
31
+ spec.add_development_dependency 'rake', '~> 10.0'
32
+ spec.add_development_dependency 'rspec', '~> 3.0'
33
+ spec.add_development_dependency 'rspec-nc', '~> 0.3'
34
+ spec.add_development_dependency 'guard', '~> 2.14'
35
+ spec.add_development_dependency 'guard-rspec', '~> 4.7'
36
+ spec.add_development_dependency 'simplecov', '~> 0.12'
37
+ spec.add_development_dependency 'rest-client', '~> 2.0'
38
+ spec.add_development_dependency 'activesupport', '~> 5.0'
39
+
40
+ end
metadata ADDED
@@ -0,0 +1,222 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: name_drop
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Paul Pettengill
8
+ - Adam Bedford
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2016-09-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rest-client
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '2.0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '2.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: activesupport
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '5.0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '5.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: bundler
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.12'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.12'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rake
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '10.0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '10.0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '3.0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '3.0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rspec-nc
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '0.3'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '0.3'
98
+ - !ruby/object:Gem::Dependency
99
+ name: guard
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '2.14'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '2.14'
112
+ - !ruby/object:Gem::Dependency
113
+ name: guard-rspec
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '4.7'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '4.7'
126
+ - !ruby/object:Gem::Dependency
127
+ name: simplecov
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: '0.12'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '0.12'
140
+ - !ruby/object:Gem::Dependency
141
+ name: rest-client
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: '2.0'
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: '2.0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: activesupport
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - "~>"
159
+ - !ruby/object:Gem::Version
160
+ version: '5.0'
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - "~>"
166
+ - !ruby/object:Gem::Version
167
+ version: '5.0'
168
+ description: Ruby usage of Mention API
169
+ email:
170
+ - ppettengill@merkleinc.com
171
+ executables: []
172
+ extensions: []
173
+ extra_rdoc_files: []
174
+ files:
175
+ - ".gitignore"
176
+ - ".rspec"
177
+ - ".travis.yml"
178
+ - CODE_OF_CONDUCT.md
179
+ - Gemfile
180
+ - Guardfile
181
+ - LICENSE.txt
182
+ - README.md
183
+ - Rakefile
184
+ - bin/console
185
+ - bin/setup
186
+ - lib/name_drop.rb
187
+ - lib/name_drop/client.rb
188
+ - lib/name_drop/configuration.rb
189
+ - lib/name_drop/error.rb
190
+ - lib/name_drop/resources/alert.rb
191
+ - lib/name_drop/resources/base.rb
192
+ - lib/name_drop/resources/base_factory.rb
193
+ - lib/name_drop/resources/mention.rb
194
+ - lib/name_drop/resources/share.rb
195
+ - lib/name_drop/version.rb
196
+ - name_drop.gemspec
197
+ homepage: https://github.com/500friends/name_drop
198
+ licenses:
199
+ - MIT
200
+ metadata:
201
+ allowed_push_host: https://rubygems.org
202
+ post_install_message:
203
+ rdoc_options: []
204
+ require_paths:
205
+ - lib
206
+ required_ruby_version: !ruby/object:Gem::Requirement
207
+ requirements:
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ version: '0'
211
+ required_rubygems_version: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ requirements: []
217
+ rubyforge_project:
218
+ rubygems_version: 2.5.1
219
+ signing_key:
220
+ specification_version: 4
221
+ summary: Ruby encapsulation for use with Mention API
222
+ test_files: []