eivo-rails-api 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4b93f8aa8e0fe3d2189265c57125ed2974ec6c62
4
- data.tar.gz: bb669e2d2c833a5bb88fb412153eef83759214e7
2
+ SHA256:
3
+ metadata.gz: 22139f210ab1d9dc71dab873fb0ae140f557d3e589c0cc8dbd96ac02241ed016
4
+ data.tar.gz: 2c7da8bc3ee6e8b9bc568b8368cfbf5d1578b97747ca0c9dce3181123fb9fc8c
5
5
  SHA512:
6
- metadata.gz: 0846f4061e04880efede8b0fa6eb820d186c2ebab02ecffc9694441620b9a6bebfe50cf04bc70fc678a2f40640fc3d6469a3fe5731e8528d2758bf51207d6ee4
7
- data.tar.gz: 3f084ba81858becbafeadfb76ec9d1b8dd8778c1b3899398c3f16bdf14ba6778a8fcba002f847620831c948f454b872b78cf1a5c4af0a43a65d478b4a245832a
6
+ metadata.gz: b72b3037a4e6f5fd3695d3e279bccea74533558a84c6591dbbf066156dea23521453b8ea3abd7f632c402bdded77dba86dd70f6f277653a665053498268307a5
7
+ data.tar.gz: 60fb2d78fa67d8255639cdc84cd055de2cc572d6978b3e7fed90a767bf4acdef49fe85caa19f4ec288f1c5f4495d2a5620194346ff344cf18b012cc0efa1b85f
data/.gitignore CHANGED
@@ -2,3 +2,5 @@
2
2
  /.bundle/
3
3
  /pkg/
4
4
  Gemfile.lock
5
+ .ruby-version
6
+ .ruby-gemset
data/.rubocop.yml ADDED
@@ -0,0 +1,83 @@
1
+ require:
2
+ - rubocop-performance
3
+
4
+ AllCops:
5
+ Exclude:
6
+ - lib/generators/eivo/templates/config/application.rb
7
+
8
+ Bundler/OrderedGems:
9
+ Enabled: false
10
+
11
+ Metrics/AbcSize:
12
+ Enabled: false
13
+
14
+ Metrics/BlockLength:
15
+ Enabled: false
16
+
17
+ Metrics/BlockNesting:
18
+ Enabled: false
19
+
20
+ Metrics/ClassLength:
21
+ Enabled: false
22
+
23
+ Metrics/CyclomaticComplexity:
24
+ Enabled: false
25
+
26
+ Metrics/LineLength:
27
+ Enabled: false
28
+
29
+ Metrics/MethodLength:
30
+ Enabled: false
31
+
32
+ Metrics/ModuleLength:
33
+ Enabled: false
34
+
35
+ Metrics/PerceivedComplexity:
36
+ Enabled: false
37
+
38
+ Naming/AccessorMethodName:
39
+ Enabled: false
40
+
41
+ Naming/PredicateName:
42
+ Enabled: false
43
+
44
+ Naming/VariableNumber:
45
+ EnforcedStyle: snake_case
46
+
47
+ Style/BracesAroundHashParameters:
48
+ EnforcedStyle: context_dependent
49
+
50
+ Style/Documentation:
51
+ Enabled: false
52
+
53
+ Style/GuardClause:
54
+ Enabled: false
55
+
56
+ Style/IfUnlessModifier:
57
+ Enabled: false
58
+
59
+ Style/Lambda:
60
+ EnforcedStyle: literal
61
+
62
+ Style/NegatedIf:
63
+ Enabled: false
64
+
65
+ Style/NumericPredicate:
66
+ EnforcedStyle: comparison
67
+
68
+ Style/RaiseArgs:
69
+ EnforcedStyle: compact
70
+
71
+ Style/RescueStandardError:
72
+ EnforcedStyle: implicit
73
+
74
+ Style/RedundantBegin:
75
+ Enabled: false
76
+
77
+ Style/SymbolArray:
78
+ EnforcedStyle: brackets
79
+
80
+ # Performance
81
+
82
+ Performance/ChainArrayAllocation:
83
+ Enabled: true
data/Gemfile CHANGED
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
6
 
5
7
  gemspec
data/Rakefile CHANGED
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
@@ -2,7 +2,6 @@
2
2
 
3
3
  module EIVO
4
4
  class ApplicationController < ::ActionController::API
5
-
6
5
  include EIVO::Concerns::Exception
7
6
  include EIVO::Concerns::Rendering
8
7
 
@@ -24,9 +23,9 @@ module EIVO
24
23
  else
25
24
  ::Raven.capture_exception(e)
26
25
  end
26
+
27
27
  render_internal_server_error(e)
28
28
  end
29
29
  end
30
-
31
30
  end
32
31
  end
@@ -3,7 +3,6 @@
3
3
  module EIVO
4
4
  module Concerns
5
5
  module Exception
6
-
7
6
  extend ::ActiveSupport::Concern
8
7
 
9
8
  included do
@@ -17,7 +16,6 @@ module EIVO
17
16
  request_id: request.request_id
18
17
  )
19
18
  end
20
-
21
19
  end
22
20
  end
23
- end
21
+ end
@@ -27,22 +27,21 @@ module EIVO
27
27
  pages: collection.total_pages
28
28
  },
29
29
  links: {
30
- self: url_for(params.to_unsafe_h.merge({ page: collection.current_page })),
31
- first: url_for(params.to_unsafe_h.merge({ page: 1 })),
32
- last: url_for(params.to_unsafe_h.merge({ page: collection.total_pages })),
30
+ self: url_for(params.to_unsafe_h.merge(page: collection.current_page)),
31
+ first: url_for(params.to_unsafe_h.merge(page: 1)),
32
+ last: url_for(params.to_unsafe_h.merge(page: collection.total_pages))
33
33
  }
34
34
  }
35
35
 
36
36
  if !collection.out_of_range? && !collection.first_page?
37
- options[:links][:prev] = url_for(params.to_unsafe_h.merge({ page: collection.prev_page }))
37
+ options[:links][:prev] = url_for(params.to_unsafe_h.merge(page: collection.prev_page))
38
38
  end
39
39
  if !collection.out_of_range? && !collection.last_page?
40
- options[:links][:next] = url_for(params.to_unsafe_h.merge({ page: collection.next_page }))
40
+ options[:links][:next] = url_for(params.to_unsafe_h.merge(page: collection.next_page))
41
41
  end
42
42
 
43
43
  options
44
44
  end
45
-
46
45
  end
47
46
  end
48
47
  end
@@ -3,7 +3,6 @@
3
3
  module EIVO
4
4
  module Concerns
5
5
  module Rendering
6
-
7
6
  extend ::ActiveSupport::Concern
8
7
 
9
8
  def render_success(serializer = nil)
@@ -17,19 +16,19 @@ module EIVO
17
16
  end
18
17
  end
19
18
 
20
- def render_unauthorized(exception = nil)
19
+ def render_unauthorized(_exception = nil)
21
20
  render_error 'unauthorized', status: :unauthorized
22
21
  end
23
22
 
24
- def render_forbidden(exception = nil)
23
+ def render_forbidden(_exception = nil)
25
24
  render_error 'forbidden', status: :forbidden
26
25
  end
27
26
 
28
- def render_not_found(exception = nil)
27
+ def render_not_found(_exception = nil)
29
28
  render_error 'not_found', status: :not_found
30
29
  end
31
30
 
32
- def render_internal_server_error(exception)
31
+ def render_internal_server_error(_exception)
33
32
  render_error 'internal_server_error', status: :internal_server_error
34
33
  end
35
34
 
@@ -38,8 +37,8 @@ module EIVO
38
37
  end
39
38
 
40
39
  def render_model_errors(errors)
41
- json_errors = errors.details.map do |attribute, errors|
42
- errors.map do |error|
40
+ json_errors = errors.details.map do |attribute, attribute_errors|
41
+ attribute_errors.map do |error|
43
42
  {
44
43
  code: error[:error],
45
44
  source: {
@@ -67,7 +66,6 @@ module EIVO
67
66
  }
68
67
  render json: ::MultiJson.dump(data), status: status
69
68
  end
70
-
71
69
  end
72
70
  end
73
- end
71
+ end
@@ -46,8 +46,8 @@ module EIVO
46
46
  end
47
47
  end
48
48
 
49
- protected
50
-
49
+ protected
50
+
51
51
  def collection
52
52
  raise NotImplementedError
53
53
  end
@@ -67,11 +67,10 @@ module EIVO
67
67
  def object_params_update
68
68
  object_params
69
69
  end
70
-
70
+
71
71
  def set_default_serializer_options
72
72
  @serializer_options ||= {}
73
73
  end
74
-
75
74
  end
76
75
  end
77
76
  end
@@ -17,11 +17,11 @@ module EIVO
17
17
  @objects = paginate(@objects) unless options[:paginate] == false
18
18
 
19
19
  if options[:cache] && options[:cache] != false
20
- if options[:cache].is_a?(Hash)
21
- cache_options = options[:cache]
22
- else
23
- cache_options = {}
24
- end
20
+ cache_options = if options[:cache].is_a?(Hash)
21
+ options[:cache]
22
+ else
23
+ {}
24
+ end
25
25
 
26
26
  if stale?(@objects, public: cache_options.fetch(:public, false))
27
27
  render_success serializer.new(@objects, @serializer_options)
@@ -68,8 +68,8 @@ module EIVO
68
68
  end
69
69
  end
70
70
 
71
- protected
72
-
71
+ protected
72
+
73
73
  def collection
74
74
  raise NotImplementedError
75
75
  end
@@ -97,7 +97,6 @@ module EIVO
97
97
  def set_default_serializer_options
98
98
  @serializer_options ||= {}
99
99
  end
100
-
101
100
  end
102
101
  end
103
102
  end
@@ -2,10 +2,8 @@
2
2
 
3
3
  module EIVO
4
4
  class StatusController < ApplicationController
5
-
6
5
  def index
7
6
  render_success
8
7
  end
9
-
10
8
  end
11
9
  end
data/bin/eivo CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'eivo-rails-api/cli'
4
5
 
@@ -3,7 +3,7 @@
3
3
  require 'raven'
4
4
 
5
5
  Raven.configure do |config|
6
- config.environments = %w[ staging production ]
6
+ config.environments = %w[staging production]
7
7
  config.dsn = Rails.application.credentials.dig(:sentry, :dsn)
8
8
  config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s)
9
9
 
data/config/routes.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- EIVO::Engine.routes.draw do
3
+ EIVO::Engine.routes.draw do
4
4
  scope module: 'eivo' do
5
5
  get :status, to: 'status#index'
6
6
  end
@@ -1,8 +1,10 @@
1
- $:.push File.expand_path("../lib", __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
2
4
 
3
5
  Gem::Specification.new do |spec|
4
6
  spec.name = 'eivo-rails-api'
5
- spec.version = '0.0.7'
7
+ spec.version = '0.0.8'
6
8
  spec.authors = ['Jonathan VUKOVICH-TRIBOUHARET']
7
9
  spec.email = ['jonathan@eivo.co']
8
10
 
@@ -11,7 +13,7 @@ Gem::Specification.new do |spec|
11
13
  spec.homepage = 'https://www.eivo.co'
12
14
  spec.license = 'MIT'
13
15
 
14
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
16
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
15
17
  `git ls-files -z`.split("\x0")
16
18
  end
17
19
  spec.executables << 'eivo'
@@ -19,9 +21,9 @@ Gem::Specification.new do |spec|
19
21
 
20
22
  spec.add_dependency 'thor'
21
23
 
22
- spec.add_dependency 'oj'
23
- spec.add_dependency 'multi_json'
24
24
  spec.add_dependency 'fast_jsonapi'
25
+ spec.add_dependency 'multi_json'
26
+ spec.add_dependency 'oj'
25
27
 
26
28
  spec.add_dependency 'kaminari'
27
29
 
@@ -29,4 +31,6 @@ Gem::Specification.new do |spec|
29
31
 
30
32
  spec.add_development_dependency 'bundler'
31
33
  spec.add_development_dependency 'rake'
34
+ spec.add_development_dependency 'rubocop'
35
+ spec.add_development_dependency 'rubocop-performance'
32
36
  end
@@ -15,7 +15,7 @@ module EIVO
15
15
  def configure(application)
16
16
  application.config.load_defaults 5.2
17
17
  application.config.api_only = true
18
-
18
+
19
19
  application.config.require_master_key = true
20
20
 
21
21
  application.config.generators do |g|
@@ -1,12 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'thor'
2
4
 
3
5
  module EIVO
4
6
  class CLI < Thor
5
-
6
7
  desc 'install', 'Initialize default files'
7
8
  def install(args = nil)
8
9
  system("rails g eivo:install #{args}")
9
10
  end
10
-
11
11
  end
12
12
  end
@@ -41,7 +41,6 @@ module EIVO
41
41
  # Highlight code that triggered database queries in logs.
42
42
  config.active_record.verbose_query_logs = true
43
43
 
44
-
45
44
  # Raises error for missing translations
46
45
  # config.action_view.raise_on_missing_translations = true
47
46
 
@@ -42,7 +42,7 @@ module EIVO
42
42
  config.log_level = :debug
43
43
 
44
44
  # Prepend all log lines with the following tags.
45
- config.log_tags = [ :request_id ]
45
+ config.log_tags = [:request_id]
46
46
 
47
47
  # Use a different cache store in production.
48
48
  # config.cache_store = :mem_cache_store
@@ -65,7 +65,7 @@ module EIVO
65
65
  # require 'syslog/logger'
66
66
  # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
67
67
 
68
- if ENV["RAILS_LOG_TO_STDOUT"].present?
68
+ if ENV['RAILS_LOG_TO_STDOUT'].present?
69
69
  logger = ActiveSupport::Logger.new(STDOUT)
70
70
  logger.formatter = config.log_formatter
71
71
  config.logger = ActiveSupport::TaggedLogging.new(logger)
@@ -6,7 +6,7 @@ module EIVO
6
6
  class InstallGenerator < Rails::Generators::Base
7
7
  include Rails::Generators::Migration
8
8
 
9
- source_root File.expand_path('../templates', __FILE__)
9
+ source_root File.expand_path('templates', __dir__)
10
10
 
11
11
  def self.namespace(name = nil)
12
12
  @namespace ||= super.sub('e_i_v_o', 'eivo')
@@ -27,6 +27,7 @@ module EIVO
27
27
  copy_file 'Procfile'
28
28
  copy_file '.env.example'
29
29
  copy_file '.ruby-version'
30
+ copy_file '.rubocop.yml'
30
31
 
31
32
  create_restart_files
32
33
 
@@ -46,34 +47,35 @@ module EIVO
46
47
  end
47
48
 
48
49
  def create_restart_files
49
- restart_code = <<-'EOF'
50
- ### EIVO begin ###
50
+ restart_code = <<~'EIVO_COMMAND'
51
+ ### EIVO begin ###
51
52
 
52
- bundle exec pumactl -F config/puma.rb restart
53
+ bundle exec pumactl -F config/puma.rb restart
53
54
 
54
- ### EIVO end ###
55
- EOF
55
+ ### EIVO end ###
56
+ EIVO_COMMAND
56
57
 
57
- stop_code = <<-'EOF'
58
- ### EIVO begin ###
58
+ stop_code = <<~'EIVO_COMMAND'
59
+ ### EIVO begin ###
59
60
 
60
- bundle exec pumactl -F config/puma.rb stop
61
+ bundle exec pumactl -F config/puma.rb stop
61
62
 
62
- ### EIVO end ###
63
- EOF
63
+ ### EIVO end ###
64
+ EIVO_COMMAND
64
65
 
65
- header_production = <<-'EOF'
66
- #!/usr/bin/env bash
67
- export RACK_ENV="production"
68
- export RAILS_ENV="production"
66
+ header_production = <<~'EIVO_COMMAND'
67
+ #!/usr/bin/env bash
68
+ export RACK_ENV="production"
69
+ export RAILS_ENV="production"
69
70
 
70
- EOF
71
- header_staging = <<-'EOF'
72
- #!/usr/bin/env bash
73
- export RACK_ENV="staging"
74
- export RAILS_ENV="staging"
71
+ EIVO_COMMAND
75
72
 
76
- EOF
73
+ header_staging = <<~'EIVO_COMMAND'
74
+ #!/usr/bin/env bash
75
+ export RACK_ENV="staging"
76
+ export RAILS_ENV="staging"
77
+
78
+ EIVO_COMMAND
77
79
 
78
80
  create_file 'restart_production.sh', header_production, skip: true
79
81
  create_file 'stop_production.sh', header_production, skip: true
@@ -93,11 +95,10 @@ EOF
93
95
  inject_into_file 'restart_staging.sh', restart_code, after: header_staging
94
96
  inject_into_file 'stop_staging.sh', stop_code, after: header_staging
95
97
 
96
- chmod 'restart_production.sh', 0755
97
- chmod 'stop_production.sh', 0755
98
- chmod 'restart_staging.sh', 0755
99
- chmod 'stop_staging.sh', 0755
98
+ chmod 'restart_production.sh', 0o755
99
+ chmod 'stop_production.sh', 0o755
100
+ chmod 'restart_staging.sh', 0o755
101
+ chmod 'stop_staging.sh', 0o755
100
102
  end
101
-
102
103
  end
103
104
  end
@@ -0,0 +1,108 @@
1
+ require:
2
+ - rubocop-performance
3
+ - rubocop-rails
4
+
5
+ AllCops:
6
+ Exclude:
7
+ - bin/*
8
+ - db/schema.rb
9
+ - spec/rails_helper.rb
10
+ - spec/spec_helper.rb
11
+
12
+ Bundler/OrderedGems:
13
+ Enabled: false
14
+
15
+ Metrics/AbcSize:
16
+ Enabled: false
17
+
18
+ Metrics/BlockLength:
19
+ Enabled: false
20
+
21
+ Metrics/BlockNesting:
22
+ Enabled: false
23
+
24
+ Metrics/ClassLength:
25
+ Enabled: false
26
+
27
+ Metrics/CyclomaticComplexity:
28
+ Enabled: false
29
+
30
+ Metrics/LineLength:
31
+ Enabled: false
32
+
33
+ Metrics/MethodLength:
34
+ Enabled: false
35
+
36
+ Metrics/ModuleLength:
37
+ Enabled: false
38
+
39
+ Metrics/PerceivedComplexity:
40
+ Enabled: false
41
+
42
+ Naming/AccessorMethodName:
43
+ Enabled: false
44
+
45
+ Naming/PredicateName:
46
+ Enabled: false
47
+
48
+ Naming/VariableNumber:
49
+ EnforcedStyle: snake_case
50
+
51
+ Style/BracesAroundHashParameters:
52
+ EnforcedStyle: context_dependent
53
+
54
+ Style/Documentation:
55
+ Enabled: false
56
+
57
+ Style/GuardClause:
58
+ Enabled: false
59
+
60
+ Style/IfUnlessModifier:
61
+ Enabled: false
62
+
63
+ Style/Lambda:
64
+ EnforcedStyle: literal
65
+
66
+ Style/NegatedIf:
67
+ Enabled: false
68
+
69
+ Style/NumericPredicate:
70
+ EnforcedStyle: comparison
71
+
72
+ Style/RaiseArgs:
73
+ EnforcedStyle: compact
74
+
75
+ Style/RescueStandardError:
76
+ EnforcedStyle: implicit
77
+
78
+ Style/RedundantBegin:
79
+ Enabled: false
80
+
81
+ Style/SymbolArray:
82
+ EnforcedStyle: brackets
83
+
84
+ # Performance
85
+
86
+ Performance/ChainArrayAllocation:
87
+ Enabled: true
88
+
89
+ # Rails
90
+
91
+ Rails/BulkChangeTable:
92
+ Enabled: false
93
+
94
+ Rails/NotNullColumn:
95
+ Enabled: false
96
+
97
+ Rails/ReversibleMigration:
98
+ Enabled: false
99
+
100
+ Rails/SkipsModelValidations:
101
+ Enabled: false
102
+
103
+ Rails/UnknownEnv:
104
+ Environments:
105
+ - development
106
+ - test
107
+ - staging
108
+ - production
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
5
 
@@ -23,8 +25,10 @@ group :development, :test do
23
25
  gem 'faker'
24
26
  gem 'rspec-rails'
25
27
  gem 'brakeman'
26
- gem 'rubocop'
27
- gem 'rubocop-rspec'
28
+ gem 'rubocop', require: false
29
+ gem 'rubocop-rails', require: false
30
+ gem 'rubocop-performance', require: false
31
+ gem 'rubocop-rspec', require: false
28
32
  gem 'webmock'
29
33
  end
30
34
 
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class ApplicationController < EIVO::ApplicationController
2
4
  end
@@ -4,9 +4,9 @@ workers ENV.fetch('WEB_CONCURRENCY') { 0 }
4
4
  threads_count = ENV.fetch('RAILS_MAX_THREADS') { 5 }
5
5
  threads threads_count, threads_count
6
6
 
7
- environment ENV.fetch('RAILS_ENV') { "development" }
7
+ environment ENV.fetch('RAILS_ENV') { 'development' }
8
8
 
9
- if ['production', 'staging'].include?(ENV['RAILS_ENV'])
9
+ if %w[production staging].include?(ENV['RAILS_ENV'])
10
10
  bind 'unix://tmp/sockets/puma.sock'
11
11
  pidfile 'tmp/pids/puma.pid'
12
12
  state_path 'tmp/pids/puma.state'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eivo-rails-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan VUKOVICH-TRIBOUHARET
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-13 00:00:00.000000000 Z
11
+ date: 2019-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: oj
28
+ name: fast_jsonapi
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: fast_jsonapi
56
+ name: oj
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -122,6 +122,34 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop-performance
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
125
153
  description: EIVO Rails API
126
154
  email:
127
155
  - jonathan@eivo.co
@@ -131,6 +159,7 @@ extensions: []
131
159
  extra_rdoc_files: []
132
160
  files:
133
161
  - ".gitignore"
162
+ - ".rubocop.yml"
134
163
  - Gemfile
135
164
  - LICENSE
136
165
  - README.md
@@ -156,6 +185,7 @@ files:
156
185
  - lib/generators/eivo/USAGE
157
186
  - lib/generators/eivo/install_generator.rb
158
187
  - lib/generators/eivo/templates/.env.example
188
+ - lib/generators/eivo/templates/.rubocop.yml
159
189
  - lib/generators/eivo/templates/.ruby-version
160
190
  - lib/generators/eivo/templates/Gemfile
161
191
  - lib/generators/eivo/templates/Procfile
@@ -186,8 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
216
  - !ruby/object:Gem::Version
187
217
  version: '0'
188
218
  requirements: []
189
- rubyforge_project:
190
- rubygems_version: 2.4.5
219
+ rubygems_version: 3.0.3
191
220
  signing_key:
192
221
  specification_version: 4
193
222
  summary: EIVO Rails API