verse-ruby 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9c66f6a4bb7e7685c83eb3feb1fe7321fff83495
4
+ data.tar.gz: 534bdd75c1782b26c4b3debd4527a8511b99c695
5
+ SHA512:
6
+ metadata.gz: 7237fa33ec3abcef63b3969ca972e1ce7437c3ea0ad580dbb25f600686e4867a324bd12810a4630cfad159e0b00aba7b4c32876d8e3498dcbf6ad03693f2b63f
7
+ data.tar.gz: 6429760b237fb89f02cd3542cc972717632b1dad381e434840adb281bbcb5a236b6bce7b23f0df62817f6a246f0f9898dafe4335dcf903b6d4d76582bca3a187
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ .ruby-gemset
data/.rubocop.yml ADDED
@@ -0,0 +1 @@
1
+ inherit_from: .rubocop_todo.yml
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,121 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2017-09-18 13:03:25 +0100 using RuboCop version 0.49.1.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 1
10
+ # Cop supports --auto-correct.
11
+ Layout/EmptyLineAfterMagicComment:
12
+ Exclude:
13
+ - 'verse-ruby.gemspec'
14
+
15
+ # Offense count: 4
16
+ # Cop supports --auto-correct.
17
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
18
+ # SupportedStyles: final_newline, final_blank_line
19
+ Layout/TrailingBlankLines:
20
+ Exclude:
21
+ - 'lib/verse-ruby.rb'
22
+ - 'lib/verse/auth/confirmable.rb'
23
+ - 'lib/verse/auth/core.rb'
24
+ - 'lib/verse/contactable.rb'
25
+
26
+ # Offense count: 2
27
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
28
+ # URISchemes: http, https
29
+ Metrics/LineLength:
30
+ Max: 91
31
+
32
+ # Offense count: 1
33
+ # Configuration parameters: CountComments.
34
+ Metrics/MethodLength:
35
+ Max: 12
36
+
37
+ # Offense count: 7
38
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
39
+ # SupportedStyles: nested, compact
40
+ Style/ClassAndModuleChildren:
41
+ Exclude:
42
+ - 'lib/helpers/user_authentication.rb'
43
+ - 'lib/verse/auth/confirmable/email.rb'
44
+ - 'lib/verse/auth/core/session.rb'
45
+ - 'lib/verse/auth/core/user.rb'
46
+ - 'lib/verse/contactable/email.rb'
47
+ - 'lib/verse/core/entity.rb'
48
+ - 'lib/verse/core/person.rb'
49
+
50
+ # Offense count: 14
51
+ Style/Documentation:
52
+ Exclude:
53
+ - 'spec/**/*'
54
+ - 'test/**/*'
55
+ - 'lib/helpers/user_authentication.rb'
56
+ - 'lib/verse.rb'
57
+ - 'lib/verse/auth.rb'
58
+ - 'lib/verse/auth/confirmable.rb'
59
+ - 'lib/verse/auth/confirmable/email.rb'
60
+ - 'lib/verse/auth/core.rb'
61
+ - 'lib/verse/auth/core/session.rb'
62
+ - 'lib/verse/auth/core/user.rb'
63
+ - 'lib/verse/configuration.rb'
64
+ - 'lib/verse/contactable.rb'
65
+ - 'lib/verse/contactable/email.rb'
66
+ - 'lib/verse/core.rb'
67
+ - 'lib/verse/core/entity.rb'
68
+ - 'lib/verse/resource.rb'
69
+
70
+ # Offense count: 1
71
+ # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
72
+ # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
73
+ Style/FileName:
74
+ Exclude:
75
+ - 'lib/verse-ruby.rb'
76
+
77
+ # Offense count: 22
78
+ # Cop supports --auto-correct.
79
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
80
+ # SupportedStyles: when_needed, always, never
81
+ Style/FrozenStringLiteralComment:
82
+ Enabled: false
83
+
84
+ # Offense count: 1
85
+ # Cop supports --auto-correct.
86
+ # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
87
+ # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
88
+ Style/HashSyntax:
89
+ Exclude:
90
+ - 'Rakefile'
91
+
92
+ # Offense count: 1
93
+ # Cop supports --auto-correct.
94
+ Style/MutableConstant:
95
+ Exclude:
96
+ - 'lib/verse/version.rb'
97
+
98
+ # Offense count: 2
99
+ # Cop supports --auto-correct.
100
+ # Configuration parameters: PreferredDelimiters.
101
+ Style/PercentLiteralDelimiters:
102
+ Exclude:
103
+ - 'verse-ruby.gemspec'
104
+
105
+ # Offense count: 28
106
+ # Cop supports --auto-correct.
107
+ # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
108
+ # SupportedStyles: single_quotes, double_quotes
109
+ Style/StringLiterals:
110
+ Exclude:
111
+ - 'Rakefile'
112
+ - 'bin/console'
113
+ - 'lib/verse.rb'
114
+ - 'lib/verse/version.rb'
115
+ - 'verse-ruby.gemspec'
116
+
117
+ # Offense count: 2
118
+ # Cop supports --auto-correct.
119
+ Style/UnneededPercentQ:
120
+ Exclude:
121
+ - 'verse-ruby.gemspec'
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.4.1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at thom@thombruce.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in verse-ruby.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Thom Bruce
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,48 @@
1
+ # Verse::Ruby
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/verse`. 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 'verse-ruby'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install verse-ruby
22
+
23
+ ## Usage
24
+
25
+ Configure Verse with an initializer at `config/initializers/verse.rb`:
26
+
27
+ ```ruby
28
+ Verse.configure do |config|
29
+ config.url = ENV['VERSE_API_URL']
30
+ config.app_token = ENV['VERSE_APP_TOKEN']
31
+ end
32
+ ```
33
+
34
+ ## Development
35
+
36
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
37
+
38
+ 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).
39
+
40
+ ## Contributing
41
+
42
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/verse-ruby. 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.
43
+
44
+
45
+ ## License
46
+
47
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
48
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "verse"
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(__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
@@ -0,0 +1,6 @@
1
+ class Verse::UserAuthentication < Faraday::Middleware
2
+ def call(env)
3
+ env[:request_headers]['User-Token'] = Verse.user_token
4
+ @app.call(env)
5
+ end
6
+ end
@@ -0,0 +1,9 @@
1
+ module Verse
2
+ class Engine < ::Rails::Engine
3
+ initializer "verse_controller" do
4
+ ActiveSupport.on_load(:action_controller) do
5
+ include Verse::Controller
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ class Verse::Auth::Confirmable::Email < Verse::Contactable::Email
2
+ attributes :confirmation_token, :confirmed_at
3
+
4
+ custom_patch :confirm
5
+ end
@@ -0,0 +1,8 @@
1
+ module Verse
2
+ module Auth
3
+ module Confirmable
4
+ end
5
+ end
6
+ end
7
+
8
+ require 'verse/auth/confirmable/email'
@@ -0,0 +1,3 @@
1
+ class Verse::Auth::Core::Session < Verse::Resource
2
+ attributes :login, :password, :jwt
3
+ end
@@ -0,0 +1,3 @@
1
+ class Verse::Auth::Core::User < Verse::Resource
2
+ attributes :display_name, :username, :email, :password, :password_confirmation
3
+ end
@@ -0,0 +1,9 @@
1
+ module Verse
2
+ module Auth
3
+ module Core
4
+ end
5
+ end
6
+ end
7
+
8
+ require 'verse/auth/core/session'
9
+ require 'verse/auth/core/user'
data/lib/verse/auth.rb ADDED
@@ -0,0 +1,7 @@
1
+ module Verse
2
+ module Auth
3
+ end
4
+ end
5
+
6
+ require 'verse/auth/core'
7
+ require 'verse/auth/confirmable'
@@ -0,0 +1,11 @@
1
+ module Verse
2
+ class Configuration
3
+ attr_accessor :url
4
+ attr_accessor :app_token
5
+
6
+ def initialize
7
+ @url = ENV['VERSE_API_URL']
8
+ @app_token = ENV['VERSE_APP_TOKEN']
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ class Verse::Contactable::Email < Verse::Resource
2
+ attributes :address
3
+ end
@@ -0,0 +1,6 @@
1
+ module Verse
2
+ module Contactable
3
+ end
4
+ end
5
+
6
+ require 'verse/contactable/email'
@@ -0,0 +1,26 @@
1
+ require 'active_support'
2
+ require 'jwt'
3
+
4
+ module Verse::Controller
5
+ extend ActiveSupport::Concern
6
+
7
+ included do
8
+ before_action :set_user_token
9
+ end
10
+
11
+ def current_user
12
+ if Verse.user_token
13
+ data = JWT.decode(Verse.user_token, nil, false)[0]['data']
14
+ Verse::Auth::Core::User.new(
15
+ id: data['user_id'],
16
+ display_name: data['display_name'],
17
+ email: data['email'],
18
+ username: data['username']
19
+ )
20
+ end
21
+ end
22
+
23
+ def set_user_token
24
+ Verse.user_token = cookies[:user_token]
25
+ end
26
+ end
@@ -0,0 +1,3 @@
1
+ class Verse::Core::Entity < Verse::Resource
2
+ attributes :slug
3
+ end
@@ -0,0 +1,2 @@
1
+ class Verse::Core::Person < Verse::Core::Entity
2
+ end
data/lib/verse/core.rb ADDED
@@ -0,0 +1,7 @@
1
+ module Verse
2
+ module Core
3
+ end
4
+ end
5
+
6
+ require 'verse/core/entity'
7
+ require 'verse/core/person'
@@ -0,0 +1,4 @@
1
+ require 'verse/resource'
2
+ require 'verse/core'
3
+ require 'verse/contactable'
4
+ require 'verse/auth'
@@ -0,0 +1,11 @@
1
+ module Verse
2
+ class Resource
3
+ include Her::Model
4
+
5
+ include_root_in_json true
6
+
7
+ def self.model_name
8
+ ActiveModel::Name.new(self, nil, name.split('::').last)
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module Verse
2
+ VERSION = "0.1.0"
3
+ end
data/lib/verse-ruby.rb ADDED
@@ -0,0 +1 @@
1
+ require 'verse'
data/lib/verse.rb ADDED
@@ -0,0 +1,52 @@
1
+ require 'her'
2
+ require 'request_store'
3
+
4
+ require "verse/controller"
5
+ require "initializers/engine"
6
+
7
+ require "verse/version"
8
+
9
+ require "verse/configuration"
10
+
11
+ require 'helpers/user_authentication'
12
+
13
+ module Verse
14
+ class << self
15
+ attr_writer :configuration
16
+
17
+ def user_token
18
+ RequestStore.store[:user_token]
19
+ end
20
+
21
+ def user_token=(user_token)
22
+ RequestStore.store[:user_token] = user_token
23
+ end
24
+ end
25
+
26
+ def self.configuration
27
+ @configuration ||= Configuration.new
28
+ end
29
+
30
+ def self.configure
31
+ yield(configuration)
32
+
33
+ api =
34
+ Her::API.setup url: configuration.url,
35
+ headers: {
36
+ 'App-Token' => configuration.app_token
37
+ } do |c|
38
+ # Request
39
+ c.use Verse::UserAuthentication
40
+ c.use Faraday::Request::UrlEncoded
41
+
42
+ # Response
43
+ c.use Her::Middleware::DefaultParseJSON
44
+
45
+ # Adapter
46
+ c.use Faraday::Adapter::NetHttp
47
+ end
48
+
49
+ require 'verse/models'
50
+ api
51
+ end
52
+ end
@@ -0,0 +1,34 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'verse/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "verse-ruby"
8
+ spec.version = Verse::VERSION
9
+ spec.authors = ["Thom Bruce"]
10
+ spec.email = ["thom@thombruce.com"]
11
+
12
+ spec.summary = %q{API for Verse.}
13
+ spec.description = %q{Provides appropriately mapped model resources for the Verse API.}
14
+ spec.homepage = "http://github.com/thombruce/verse-ruby"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.14"
25
+ spec.add_development_dependency "coveralls", "~> 0.8"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec", "~> 3"
28
+ spec.add_development_dependency "rubocop", "~> 0.49.1"
29
+
30
+ spec.add_dependency "activesupport", "~> 5.1.0.rc1"
31
+ spec.add_dependency "her", "~> 0.9.0"
32
+ spec.add_dependency "jwt", "~> 2.0.0"
33
+ spec.add_dependency "request_store", "~> 1.3.2"
34
+ end
metadata ADDED
@@ -0,0 +1,202 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: verse-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Thom Bruce
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-09-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: coveralls
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.8'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.49.1
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.49.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: activesupport
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 5.1.0.rc1
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 5.1.0.rc1
97
+ - !ruby/object:Gem::Dependency
98
+ name: her
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.9.0
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.9.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: jwt
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 2.0.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 2.0.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: request_store
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 1.3.2
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 1.3.2
139
+ description: Provides appropriately mapped model resources for the Verse API.
140
+ email:
141
+ - thom@thombruce.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".gitignore"
147
+ - ".rubocop.yml"
148
+ - ".rubocop_todo.yml"
149
+ - ".ruby-version"
150
+ - CODE_OF_CONDUCT.md
151
+ - Gemfile
152
+ - LICENSE.txt
153
+ - README.md
154
+ - Rakefile
155
+ - bin/console
156
+ - bin/setup
157
+ - lib/helpers/user_authentication.rb
158
+ - lib/initializers/engine.rb
159
+ - lib/verse-ruby.rb
160
+ - lib/verse.rb
161
+ - lib/verse/auth.rb
162
+ - lib/verse/auth/confirmable.rb
163
+ - lib/verse/auth/confirmable/email.rb
164
+ - lib/verse/auth/core.rb
165
+ - lib/verse/auth/core/session.rb
166
+ - lib/verse/auth/core/user.rb
167
+ - lib/verse/configuration.rb
168
+ - lib/verse/contactable.rb
169
+ - lib/verse/contactable/email.rb
170
+ - lib/verse/controller.rb
171
+ - lib/verse/core.rb
172
+ - lib/verse/core/entity.rb
173
+ - lib/verse/core/person.rb
174
+ - lib/verse/models.rb
175
+ - lib/verse/resource.rb
176
+ - lib/verse/version.rb
177
+ - verse-ruby.gemspec
178
+ homepage: http://github.com/thombruce/verse-ruby
179
+ licenses:
180
+ - MIT
181
+ metadata: {}
182
+ post_install_message:
183
+ rdoc_options: []
184
+ require_paths:
185
+ - lib
186
+ required_ruby_version: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: '0'
191
+ required_rubygems_version: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ requirements: []
197
+ rubyforge_project:
198
+ rubygems_version: 2.6.11
199
+ signing_key:
200
+ specification_version: 4
201
+ summary: API for Verse.
202
+ test_files: []