act_with_bag 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee863cee8f5728512f2dd66883c63f88fdaa29a745562f1e30ca6d7341ee20c0
4
- data.tar.gz: 89ebc3e8719c54ee9f72bb52534107c41ce93378ca47e24c3343acd98d046b27
3
+ metadata.gz: 2fce33afc87ae764805918b9694c1ec23a372ee746b236e76fabd0d6906daf90
4
+ data.tar.gz: 777ccbc50db511f2e5dfce02a0f16e0b6de42869d7802403152d4bd8e440f9fb
5
5
  SHA512:
6
- metadata.gz: eee52b3e83af9c6950653332bdf2e40407b328c63092de5eb64bf23217de0021ca476c7d96484b85b0da10bc6e557fa1a33dd64e57a4291f83d7c36fafca743a
7
- data.tar.gz: 6e9145345032362f05b7c1d252567d1c3ce04e36d793594a6d09e7f20eaf52062ac4da09d6c201e64a11175f842ae419095030daeb54d9bc9b61d7c805bd7d63
6
+ metadata.gz: ca301074e0d52dca70fcb105571e5fe1cf46e71065b010ed429add3742170454cad5b8f2d5ba61d42ab7401deb3c0f3f58483a174dd2d4562ac1027a7c359e1e
7
+ data.tar.gz: 58f99576afbc2ec28b85ac1182cd77f57e4e8e337cda8b0d3094492b1c077cfc9a0aba14bba10892847034c94704a3cba44f881c414283a1b095556d93649054
@@ -8,20 +8,26 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby_version: ["3.0", 3.2]
11
+ ruby_version: [head, "3.4", "3.2"]
12
12
  gemfile:
13
13
  - Gemfile
14
- - gemfiles/Gemfile.rails-6.1
15
- - gemfiles/Gemfile.rails-7.0
14
+ - gemfiles/Gemfile.rails-8.0
15
+ - gemfiles/Gemfile.rails-7.2
16
16
  - gemfiles/Gemfile.rails-7.1
17
17
  runs-on: ubuntu-latest
18
18
 
19
19
  steps:
20
- - uses: actions/checkout@v3
20
+ - uses: actions/checkout@v4
21
21
  - name: Set up Ruby
22
22
  uses: ruby/setup-ruby@v1
23
23
  with:
24
24
  ruby-version: ${{ matrix.ruby_version }}
25
25
  bundler-cache: true
26
+ - name: Bundle install
27
+ run: |
28
+ bundle config set frozen false
29
+ bundle config path /home/runner/bundle
30
+ bundle install
31
+ bundle update
26
32
  - name: Build and test with Rake
27
33
  run: bundle exec rake
data/.gitignore CHANGED
@@ -1,10 +1,13 @@
1
- .bundle/
2
- /coverage/
1
+ # ~/.gitignore included
3
2
 
4
- *.gem
5
- *.log
6
- *.lock
3
+ **/*.lock
7
4
 
8
- **/db/test.sqlite*
9
5
  /test/internal/storage/
10
6
  /test/internal/tmp/
7
+
8
+ .watchr
9
+
10
+ **/log/
11
+ **/tmp/
12
+ **/db/*.sqlite3*
13
+ **/db/*.sqlite3-*
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.1
1
+ rails-8.0
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.3.0
1
+ ruby-3.4.4
data/Appraisals CHANGED
@@ -1,16 +1,24 @@
1
- appraise "rails-7.1" do
2
- gem "rails", "~> 7.1"
1
+ appraise "rails-8.0" do
2
+ gem "rails", "~> 8.0"
3
3
  end
4
4
 
5
- appraise "rails-7.0" do
6
- gem "rails", "~> 7.0"
5
+ appraise "rails-7.2" do
6
+ gem "rails", "~> 7.2"
7
7
  end
8
8
 
9
- appraise "rails-6.1" do
10
- gem "rails", "~> 6.1"
11
- gem "dryer-config", "~> 6.0"
9
+ appraise "rails-7.1" do
10
+ gem "rails", "~> 7.1"
12
11
  end
13
12
 
13
+ # appraise "rails-7.0" do
14
+ # gem "rails", "~> 7.0"
15
+ # end
16
+ #
17
+ # appraise "rails-6.1" do
18
+ # gem "rails", "~> 6.1"
19
+ # gem "dryer-config", "~> 6.0"
20
+ # end
21
+ #
14
22
  # appraise "rails-6.0" do
15
23
  # gem "rails", "~> 6.0"
16
24
  # gem "dryer-config", "~> 6.0"
data/Gemfile CHANGED
@@ -4,8 +4,9 @@ gemspec
4
4
  gem "rails"
5
5
 
6
6
  group :test do
7
- gem "observr"
7
+ gem "cuco"
8
8
  gem "ricecream"
9
+ gem "sqlite3"
9
10
  gem "simplecov", require: false
10
11
  gem "standard", require: false
11
12
  end
data/MIT-LICENSE CHANGED
@@ -1,6 +1,4 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2010-2023 Dittmar Krall (www.matiq.com)
1
+ Copyright (c) 2010-2025 Dittmar Krall (www.matiq.com)
4
2
 
5
3
  Permission is hereby granted, free of charge, to any person obtaining
6
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # ActWithBag
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/act_with_bag.png)](http://badge.fury.io/rb/act_with_bag)
4
- [![GEM Downloads](https://img.shields.io/gem/dt/act_with_bag?color=168AFE&logo=ruby&logoColor=FE1616)](https://rubygems.org/gems/act_with_bag)
3
+ [![Gem Version](https://img.shields.io/gem/v/act_with_bag?color=168AFE&logo=rubygems&logoColor=FE1616)](https://rubygems.org/gems/act_with_bag)
4
+ [![Downloads](https://img.shields.io/gem/dt/act_with_bag?color=168AFE&logo=rubygems&logoColor=FE1616)](https://rubygems.org/gems/act_with_bag)
5
+ [![GitHub Build](https://img.shields.io/github/actions/workflow/status/matique/act_with_bag/rake.yml?logo=github)](https://github.com/matique/act_with_bag/actions/workflows/rake.yml)
6
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-168AFE.svg)](https://github.com/standardrb/standard)
7
+ [![MIT License](https://img.shields.io/badge/license-MIT-168AFE.svg)](http://choosealicense.com/licenses/mit/)
5
8
 
6
9
  Bag helps when fields in a Rails database table are not yet settled down
7
10
  or when many fields without business logic are required.
@@ -113,7 +116,8 @@ In controller:
113
116
 
114
117
  bundle exec rake
115
118
 
119
+
116
120
  ## Miscellaneous
117
121
 
118
- Copyright (c) 2009-2024 Dittmar Krall (www.matiq.com),
122
+ Copyright (c) 2009-2025 Dittmar Krall (www.matiq.com),
119
123
  released under the [MIT license](https://opensource.org/licenses/MIT).
data/act_with_bag.gemspec CHANGED
@@ -15,6 +15,7 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.files = `git ls-files -z`.split("\x0")
17
17
  s.require_paths = ["lib"]
18
+ s.required_ruby_version = "~> 3"
18
19
 
19
20
  s.add_development_dependency "bundler"
20
21
  s.add_development_dependency "rake"
@@ -22,5 +23,4 @@ Gem::Specification.new do |s|
22
23
  s.add_development_dependency "combustion"
23
24
 
24
25
  s.add_development_dependency "minitest"
25
- s.add_development_dependency "sqlite3"
26
26
  end
@@ -5,8 +5,9 @@ source "https://rubygems.org"
5
5
  gem "rails", "~> 7.1"
6
6
 
7
7
  group :test do
8
- gem "observr"
8
+ gem "cuco"
9
9
  gem "ricecream"
10
+ gem "sqlite3"
10
11
  gem "simplecov", require: false
11
12
  gem "standard", require: false
12
13
  end
@@ -2,11 +2,12 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 7.0"
5
+ gem "rails", "~> 7.2"
6
6
 
7
7
  group :test do
8
- gem "observr"
8
+ gem "cuco"
9
9
  gem "ricecream"
10
+ gem "sqlite3"
10
11
  gem "simplecov", require: false
11
12
  gem "standard", require: false
12
13
  end
@@ -2,12 +2,12 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 6.1"
6
- gem "dryer-config", "~> 6.0"
5
+ gem "rails", "~> 8.0"
7
6
 
8
7
  group :test do
9
- gem "observr"
8
+ gem "cuco"
10
9
  gem "ricecream"
10
+ gem "sqlite3"
11
11
  gem "simplecov", require: false
12
12
  gem "standard", require: false
13
13
  end
@@ -1,5 +1,7 @@
1
1
  module ActWithBag
2
- VERSION = "1.1.4" # 2024-02-13
2
+ VERSION = "1.1.6" # 2025-06-17
3
+ # VERSION = "1.1.5" # 2024-10-19
4
+ # VERSION = "1.1.4" # 2024-02-13
3
5
  # VERSION = "1.1.3" # 2023-12-10
4
6
  # VERSION = "1.1.2" # 2023-04-22
5
7
  # VERSION = "1.1.1" # 2022-12-11
data/test/test_helper.rb CHANGED
@@ -14,4 +14,3 @@ end
14
14
  require "rails/test_help"
15
15
  require "minitest/autorun"
16
16
  require "minitest/benchmark"
17
- # require 'capybara/rails'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: act_with_bag
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-02-13 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: bundler
@@ -80,20 +79,6 @@ dependencies:
80
79
  - - ">="
81
80
  - !ruby/object:Gem::Version
82
81
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: sqlite3
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
82
  description: Add a bag to a Rails model
98
83
  email:
99
84
  - dittmar.krall@matiq.com
@@ -111,9 +96,9 @@ files:
111
96
  - README.md
112
97
  - Rakefile
113
98
  - act_with_bag.gemspec
114
- - gemfiles/rails_6.1.gemfile
115
- - gemfiles/rails_7.0.gemfile
116
99
  - gemfiles/rails_7.1.gemfile
100
+ - gemfiles/rails_7.2.gemfile
101
+ - gemfiles/rails_8.0.gemfile
117
102
  - lib/act_with_bag.rb
118
103
  - lib/act_with_bag/version.rb
119
104
  - test/accessor_test.rb
@@ -134,23 +119,21 @@ homepage: https://github.com/matique/act_with_bag
134
119
  licenses:
135
120
  - MIT
136
121
  metadata: {}
137
- post_install_message:
138
122
  rdoc_options: []
139
123
  require_paths:
140
124
  - lib
141
125
  required_ruby_version: !ruby/object:Gem::Requirement
142
126
  requirements:
143
- - - ">="
127
+ - - "~>"
144
128
  - !ruby/object:Gem::Version
145
- version: '0'
129
+ version: '3'
146
130
  required_rubygems_version: !ruby/object:Gem::Requirement
147
131
  requirements:
148
132
  - - ">="
149
133
  - !ruby/object:Gem::Version
150
134
  version: '0'
151
135
  requirements: []
152
- rubygems_version: 3.5.6
153
- signing_key:
136
+ rubygems_version: 3.6.7
154
137
  specification_version: 4
155
138
  summary: act_with_bag (baggies) gem
156
139
  test_files: []