Skip to content

Commit

Permalink
Drop jeweler for gem building/publishing (#357)
Browse files Browse the repository at this point in the history
It seems abandoned; going to try just using bundler's commands.
  • Loading branch information
JasonBarnabe committed Mar 1, 2024
1 parent 9456edd commit b93616c
Show file tree
Hide file tree
Showing 17 changed files with 1,080 additions and 208 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
- 3.1
- 3.2
- 3.3

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/ruby_${{ matrix.ruby-version }}.gemfile
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
16 changes: 16 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This only exists to specify an earlier version of nokogiri that is installable with Ruby 2.7.
appraise "ruby-2.7" do
gem "nokogiri", "<1.16.0"
end

appraise "ruby-3.0" do
end

appraise "ruby-3.1" do
end

appraise "ruby-3.2" do
end

appraise "ruby-3.3" do
end
13 changes: 1 addition & 12 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
source 'https://rubygems.org'

group :development do
gem "rspec", ">= 2.8.0"
gem 'rspec-rails'
gem "jeweler", git: 'https://github.com/technicalpickles/jeweler', ref: '2ab86309fc2494ba2a4e9c86c514742cd4f681c2'
gem 'i18n-spec', "~> 0.6.0"
gem 'localeapp'
gem 'railties'
gem 'activemodel'
gem 'omniauth-twitter'
end

gem 'devise', '>= 4.9.0'
gemspec
56 changes: 10 additions & 46 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
GIT
remote: https://github.com/technicalpickles/jeweler
revision: 2ab86309fc2494ba2a4e9c86c514742cd4f681c2
ref: 2ab86309fc2494ba2a4e9c86c514742cd4f681c2
PATH
remote: .
specs:
jeweler (2.3.9)
builder
bundler
git (>= 1.2.5)
github_api (~> 0.16.0)
highline (>= 1.6.15)
nokogiri (>= 1.5.10)
psych
rake
rdoc
semver2
devise-i18n (1.12.0)
devise (>= 4.9.0)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -46,16 +35,17 @@ GEM
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.4.0)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
base64 (0.2.0)
bcrypt (3.1.20)
bigdecimal (3.1.6)
builder (3.2.4)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
crass (1.0.6)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
devise (4.9.3)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
Expand All @@ -67,20 +57,8 @@ GEM
drb (2.2.0)
ruby2_keywords
erubi (1.12.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
git (1.11.0)
rchardet (~> 1.8)
github_api (0.16.0)
addressable (~> 2.4.0)
descendants_tracker (~> 0.0.4)
faraday (~> 0.8, < 0.10)
hashie (>= 3.4)
mime-types (>= 1.16, < 3.0)
oauth2 (~> 1.0)
gli (2.21.1)
hashie (5.0.0)
highline (3.0.1)
http-accept (1.7.0)
http-cookie (1.0.5)
domain_name (~> 0.5)
Expand All @@ -95,8 +73,6 @@ GEM
iso (0.4.0)
i18n
json (2.7.1)
jwt (2.8.1)
base64
localeapp (3.3.0)
gli
i18n (>= 0.7, < 2)
Expand All @@ -108,9 +84,6 @@ GEM
mime-types (2.99.3)
mini_portile2 (2.8.5)
minitest (5.22.2)
multi_json (1.15.0)
multi_xml (0.6.0)
multipart-post (2.4.0)
mutex_m (0.2.0)
netrc (0.11.0)
nokogiri (1.16.2)
Expand All @@ -122,12 +95,6 @@ GEM
version_gem (~> 1.1)
oauth-tty (1.0.5)
version_gem (~> 1.1, >= 1.1.1)
oauth2 (1.4.8)
faraday (>= 0.8, < 3.0)
jwt (>= 1.0, < 3.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
omniauth (2.1.2)
hashie (>= 3.4.6)
rack (>= 2.2.3)
Expand Down Expand Up @@ -169,7 +136,6 @@ GEM
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rake (13.1.0)
rchardet (1.8.0)
rdoc (6.6.2)
psych (>= 4.0.0)
reline (0.4.3)
Expand Down Expand Up @@ -204,13 +170,11 @@ GEM
rspec-support (~> 3.12)
rspec-support (3.13.1)
ruby2_keywords (0.0.5)
semver2 (3.4.2)
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
stringio (3.1.0)
thor (1.3.1)
thread_safe (0.3.6)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
version_gem (1.1.3)
Expand All @@ -224,9 +188,9 @@ PLATFORMS

DEPENDENCIES
activemodel
devise (>= 4.9.0)
appraisal
devise-i18n!
i18n-spec (~> 0.6.0)
jeweler!
localeapp
omniauth-twitter
railties
Expand Down
15 changes: 1 addition & 14 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,7 @@ rescue Bundler::BundlerError => e
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "devise-i18n"
gem.homepage = "https://github.com/tigrish/devise-i18n"
gem.license = "MIT"
gem.summary = %Q{Translations for the devise gem}
gem.description = %Q{Translations for the devise gem}
gem.email = "chris@tigrish.com"
gem.authors = ["Christopher Dell", "mcasimir", "Jason Barnabe"]
gem.files = Dir['rails/locales/*.yml', 'VERSION', 'lib/**/*.rb', 'lib/generators/devise/templates/**/*', 'app/**/*']
# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new
require "bundler/gem_tasks"

require 'rspec/core'
require 'rspec/core/rake_task'
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

149 changes: 15 additions & 134 deletions devise-i18n.gemspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
# stub: devise-i18n 1.12.0 ruby lib

Gem::Specification.new do |s|
s.name = "devise-i18n".freeze
s.version = "1.12.0"
s.version = '1.12.0'

s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
s.required_ruby_version = ">= 2.7.0"
s.require_paths = ["lib".freeze]
s.authors = ["Christopher Dell".freeze, "mcasimir".freeze, "Jason Barnabe".freeze]
s.date = "2023-10-04"
Expand All @@ -18,136 +12,23 @@ Gem::Specification.new do |s|
"LICENSE.txt",
"README.md"
]
s.files = [
"VERSION",
"app/views/devise/confirmations/new.html.erb",
"app/views/devise/mailer/confirmation_instructions.html.erb",
"app/views/devise/mailer/email_changed.html.erb",
"app/views/devise/mailer/password_change.html.erb",
"app/views/devise/mailer/reset_password_instructions.html.erb",
"app/views/devise/mailer/unlock_instructions.html.erb",
"app/views/devise/passwords/edit.html.erb",
"app/views/devise/passwords/new.html.erb",
"app/views/devise/registrations/edit.html.erb",
"app/views/devise/registrations/new.html.erb",
"app/views/devise/sessions/new.html.erb",
"app/views/devise/shared/_error_messages.html.erb",
"app/views/devise/shared/_links.html.erb",
"app/views/devise/unlocks/new.html.erb",
"lib/devise-i18n.rb",
"lib/devise-i18n/railtie.rb",
"lib/devise-i18n/view_helpers.rb",
"lib/generators/devise/i18n/locale_generator.rb",
"lib/generators/devise/i18n/views_generator.rb",
"lib/generators/devise/templates/simple_form_for/confirmations/new.html.erb",
"lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb",
"lib/generators/devise/templates/simple_form_for/passwords/new.html.erb",
"lib/generators/devise/templates/simple_form_for/registrations/edit.html.erb",
"lib/generators/devise/templates/simple_form_for/registrations/new.html.erb",
"lib/generators/devise/templates/simple_form_for/sessions/new.html.erb",
"lib/generators/devise/templates/simple_form_for/unlocks/new.html.erb",
"rails/locales/af.yml",
"rails/locales/ar.yml",
"rails/locales/az.yml",
"rails/locales/be.yml",
"rails/locales/bg.yml",
"rails/locales/bn.yml",
"rails/locales/bs.yml",
"rails/locales/ca.yml",
"rails/locales/cs.yml",
"rails/locales/da.yml",
"rails/locales/de-CH.yml",
"rails/locales/de.yml",
"rails/locales/el.yml",
"rails/locales/en-GB.yml",
"rails/locales/en.yml",
"rails/locales/eo.yml",
"rails/locales/es-CL.yml",
"rails/locales/es-CO.yml",
"rails/locales/es-MX.yml",
"rails/locales/es.yml",
"rails/locales/et.yml",
"rails/locales/fa.yml",
"rails/locales/fi.yml",
"rails/locales/fr-CA.yml",
"rails/locales/fr.yml",
"rails/locales/ha.yml",
"rails/locales/he.yml",
"rails/locales/hi.yml",
"rails/locales/hr.yml",
"rails/locales/hu.yml",
"rails/locales/id.yml",
"rails/locales/ig.yml",
"rails/locales/is.yml",
"rails/locales/it.yml",
"rails/locales/ja.yml",
"rails/locales/ka.yml",
"rails/locales/km.yml",
"rails/locales/ko.yml",
"rails/locales/lo-LA.yml",
"rails/locales/lt.yml",
"rails/locales/lv.yml",
"rails/locales/mk.yml",
"rails/locales/ms.yml",
"rails/locales/nb.yml",
"rails/locales/nl.yml",
"rails/locales/nn-NO.yml",
"rails/locales/no.yml",
"rails/locales/pap-AW.yml",
"rails/locales/pap-CW.yml",
"rails/locales/pl.yml",
"rails/locales/pt-BR.yml",
"rails/locales/pt.yml",
"rails/locales/ro.yml",
"rails/locales/ru.yml",
"rails/locales/si.yml",
"rails/locales/sk.yml",
"rails/locales/sl.yml",
"rails/locales/sq.yml",
"rails/locales/sr-RS.yml",
"rails/locales/sr.yml",
"rails/locales/sv.yml",
"rails/locales/th.yml",
"rails/locales/tl.yml",
"rails/locales/tr.yml",
"rails/locales/uk.yml",
"rails/locales/ur.yml",
"rails/locales/vi.yml",
"rails/locales/yo.yml",
"rails/locales/zh-CN.yml",
"rails/locales/zh-HK.yml",
"rails/locales/zh-TW.yml",
"rails/locales/zh-YUE.yml"
]
s.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z app lib rails LICENSE.txt README.md VERSION`.split("\x0")
end

s.homepage = "https://github.com/tigrish/devise-i18n".freeze
s.licenses = ["MIT".freeze]
s.rubygems_version = "3.1.6".freeze
s.summary = "Translations for the devise gem".freeze

if s.respond_to? :specification_version then
s.specification_version = 4
end

if s.respond_to? :add_runtime_dependency then
s.add_runtime_dependency(%q<devise>.freeze, [">= 4.9.0"])
s.add_development_dependency(%q<rspec>.freeze, [">= 2.8.0"])
s.add_development_dependency(%q<rspec-rails>.freeze, [">= 0"])
s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
s.add_development_dependency(%q<i18n-spec>.freeze, ["~> 0.6.0"])
s.add_development_dependency(%q<localeapp>.freeze, [">= 0"])
s.add_development_dependency(%q<railties>.freeze, [">= 0"])
s.add_development_dependency(%q<activemodel>.freeze, [">= 0"])
s.add_development_dependency(%q<omniauth-twitter>.freeze, [">= 0"])
else
s.add_dependency(%q<devise>.freeze, [">= 4.9.0"])
s.add_dependency(%q<rspec>.freeze, [">= 2.8.0"])
s.add_dependency(%q<rspec-rails>.freeze, [">= 0"])
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
s.add_dependency(%q<i18n-spec>.freeze, ["~> 0.6.0"])
s.add_dependency(%q<localeapp>.freeze, [">= 0"])
s.add_dependency(%q<railties>.freeze, [">= 0"])
s.add_dependency(%q<activemodel>.freeze, [">= 0"])
s.add_dependency(%q<omniauth-twitter>.freeze, [">= 0"])
end
s.add_runtime_dependency(%q<devise>.freeze, [">= 4.9.0"])
s.add_development_dependency(%q<rspec>.freeze, [">= 2.8.0"])
s.add_development_dependency(%q<rspec-rails>.freeze, [">= 0"])
s.add_development_dependency(%q<i18n-spec>.freeze, ["~> 0.6.0"])
s.add_development_dependency(%q<localeapp>.freeze, [">= 0"])
s.add_development_dependency(%q<railties>.freeze, [">= 0"])
s.add_development_dependency(%q<activemodel>.freeze, [">= 0"])
s.add_development_dependency(%q<omniauth-twitter>.freeze, [">= 0"])
s.add_development_dependency(%q<appraisal>.freeze, [">= 0"])
end

7 changes: 7 additions & 0 deletions gemfiles/ruby_2.7.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "nokogiri", "<1.16.0"

gemspec path: "../"

0 comments on commit b93616c

Please sign in to comment.