From 8ae6d768cc54486eb163b68302dd627ae762a861 Mon Sep 17 00:00:00 2001 From: Igor Fedoronchuk Date: Mon, 13 Apr 2026 00:29:44 +0200 Subject: [PATCH 1/3] Modernize gemspec: require Ruby 3.1+, add activeadmin dependency - Update homepage URL to activeadmin-plugins org - Add required_ruby_version >= 3.1.0 - Add activeadmin >= 3.0, < 4.0 as runtime dependency - Remove outdated bundler ~> 1.7 and rake dev dependencies --- active_admin_theme.gemspec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/active_admin_theme.gemspec b/active_admin_theme.gemspec index 536f7fb..1f98cea 100644 --- a/active_admin_theme.gemspec +++ b/active_admin_theme.gemspec @@ -10,14 +10,15 @@ Gem::Specification.new do |spec| spec.email = ["igor.f@didww.com", "alex.s@didww.com"] spec.summary = %q{Flat design for ActiveAdmin} spec.description = %q{Flat design for activeadmin gem } - spec.homepage = "https://github.com/didww/active_admin_theme" + spec.homepage = "https://github.com/activeadmin-plugins/active_admin_theme" spec.license = "MIT" + spec.required_ruby_version = '>= 3.1.0' + spec.files = `git ls-files -z`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_development_dependency "bundler", "~> 1.7" - spec.add_development_dependency "rake", ">= 12.3.3" + spec.add_dependency "activeadmin", ">= 3.0", "< 4.0" end From 81d05652afc4289eb5fadfd74985c28519796219 Mon Sep 17 00:00:00 2001 From: Igor Fedoronchuk Date: Mon, 13 Apr 2026 00:33:37 +0200 Subject: [PATCH 2/3] Bump version to 2.0.0 --- lib/active_admin_theme/version.rb | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/active_admin_theme/version.rb b/lib/active_admin_theme/version.rb index 6a5a11d..82ef7bf 100644 --- a/lib/active_admin_theme/version.rb +++ b/lib/active_admin_theme/version.rb @@ -1,3 +1,3 @@ module ActiveAdminTheme - VERSION = "1.1.4" + VERSION = "2.0.0" end diff --git a/package.json b/package.json index f921cf2..ce5d19f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@activeadmin-plugins/active_admin_theme", - "version": "1.1.4", + "version": "2.0.0", "description": "Flat design for ActiveAdmin", "main": "src/active_admin_theme.scss", "author": "Igor Fedoronchuk ", From 6e93a8b2b9c4378e6f15ba02483fbc7565229cfd Mon Sep 17 00:00:00 2001 From: Igor Fedoronchuk Date: Mon, 13 Apr 2026 00:38:36 +0200 Subject: [PATCH 3/3] Update README npm version to ^2.0.0 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b4c6a31..6411ab7 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Or add manually to `package.json`: ``` "dependencies": { - "@activeadmin-plugins/active_admin_theme": "1.1.4" + "@activeadmin-plugins/active_admin_theme": "^2.0.0" } ``` and execute: