Skip to content

Commit

Permalink
Add Standard instead of Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
himynameisjonas committed Oct 28, 2024
1 parent 3ca5442 commit b91675b
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 84 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/rubocop.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Standard

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
permissions:
checks: write
contents: write
steps:
- name: Standard Ruby
uses: standardrb/standard-ruby-action@v1
36 changes: 0 additions & 36 deletions .rubocop.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

source 'https://rubygems.org'
source "https://rubygems.org"

gemspec
8 changes: 3 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

RuboCop::RakeTask.new(:rubocop)
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "standard/rake"

RSpec::Core::RakeTask.new(:spec)

Expand Down
40 changes: 20 additions & 20 deletions mail-ses.gemspec
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# frozen_string_literal: true

$LOAD_PATH.push File.expand_path('lib', __dir__)
require 'mail/ses/version'
$LOAD_PATH.push File.expand_path("lib", __dir__)
require "mail/ses/version"

Gem::Specification.new do |s|
s.name = 'mail-ses'
s.version = Mail::SES::VERSION
s.licenses = ['MIT']
s.summary = 'Ruby Mail delivery method handler for Amazon SES'
s.description = 'Ruby Mail delivery method handler for Amazon SES'
s.authors = ['Johnny Shields']
s.email = 'info@tablecheck.com'
s.files = Dir.glob('lib/**/*') + %w[CHANGELOG.md LICENSE README.md]
s.homepage = 'https://github.com/tablecheck/mail-ses'
s.required_ruby_version = '>= 2.6.0'
s.name = "mail-ses"
s.version = Mail::SES::VERSION
s.licenses = ["MIT"]
s.summary = "Ruby Mail delivery method handler for Amazon SES"
s.description = "Ruby Mail delivery method handler for Amazon SES"
s.authors = ["Johnny Shields"]
s.email = "info@tablecheck.com"
s.files = Dir.glob("lib/**/*") + %w[CHANGELOG.md LICENSE README.md]
s.homepage = "https://github.com/tablecheck/mail-ses"
s.required_ruby_version = ">= 2.6.0"

s.add_dependency('aws-sdk-sesv2', '>= 1.27')
s.add_dependency('mail', '>= 2.8.1')
s.add_development_dependency('net-smtp')
s.add_development_dependency('nokogiri')
s.add_development_dependency('rake', '>= 1')
s.add_development_dependency('rspec', '>= 3.8')
s.add_development_dependency('rubocop', '~> 1.30.1')
s.add_dependency("aws-sdk-sesv2", ">= 1.27")
s.add_dependency("mail", ">= 2.8.1")
s.add_development_dependency("net-smtp")
s.add_development_dependency("nokogiri")
s.add_development_dependency("rake", ">= 1")
s.add_development_dependency("rspec", ">= 3.8")
s.add_development_dependency("standard", "1.41.1")

s.metadata['rubygems_mfa_required'] = 'true'
s.metadata["rubygems_mfa_required"] = "true"
end

0 comments on commit b91675b

Please sign in to comment.