act_with_bag 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +15 -14
- data/.gitignore +4 -0
- data/.ruby-gemset +1 -1
- data/Appraisals +4 -1
- data/README.md +2 -3
- data/act_with_bag.gemspec +1 -3
- data/gemfiles/rails_6.1.gemfile +2 -2
- data/gemfiles/{rails_6.0.gemfile → rails_7.0.gemfile} +3 -4
- data/gemfiles/rails_7.1.gemfile +14 -0
- data/lib/act_with_bag/version.rb +2 -1
- data/lib/act_with_bag.rb +5 -0
- data/test/internal/app/models/application_record.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17a9af8503db5d084ade7fe944161376b15f00425c59e2a329ba974e13618c1f
|
4
|
+
data.tar.gz: d02c7d5937cd1a3568165a951fe45580c46557f32421a698fa697dfad0e933d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a26a90082c19ddf7317bc37b4e79fe673a781fb04acbaabe06b761433e5a429e3acf635ca94dfd3724369e30d4f2698f4a8852bf27ce8bfdad7ba56b4aa9f853
|
7
|
+
data.tar.gz: 908c5d0231989d24be70fcd4c9fe231af6b80f5e0ed6883afd4b897c946402b7f54990ae969e48b22e43b76a66ceb125e8ad27ebf151f80393607f3003eb3e9d
|
data/.github/workflows/rake.yml
CHANGED
@@ -8,19 +8,20 @@ jobs:
|
|
8
8
|
strategy:
|
9
9
|
fail-fast: false
|
10
10
|
matrix:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
ruby_version: ["3.0", 3.2]
|
12
|
+
gemfile:
|
13
|
+
- Gemfile
|
14
|
+
- gemfiles/Gemfile.rails-6.1
|
15
|
+
- gemfiles/Gemfile.rails-7.0
|
16
|
+
- gemfiles/Gemfile.rails-7.1
|
17
|
+
runs-on: ubuntu-latest
|
15
18
|
|
16
19
|
steps:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
bundle
|
25
|
-
bundle update
|
26
|
-
- run: ${{ matrix.test_command }}
|
20
|
+
- uses: actions/checkout@v3
|
21
|
+
- name: Set up Ruby
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby_version }}
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Build and test with Rake
|
27
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/.ruby-gemset
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rails-7.
|
1
|
+
rails-7.1
|
data/Appraisals
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# ActWithBag
|
2
2
|
|
3
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)
|
4
5
|
|
5
6
|
Bag helps when fields in a Rails database table are not yet settled down
|
6
7
|
or when many fields without business logic are required.
|
@@ -115,6 +116,4 @@ In controller:
|
|
115
116
|
## Miscellaneous
|
116
117
|
|
117
118
|
Copyright (c) 2009-2023 Dittmar Krall (www.matiq.com),
|
118
|
-
released under the MIT license
|
119
|
-
|
120
|
-
* https://opensource.org/licenses/MIT
|
119
|
+
released under the [MIT license](https://opensource.org/licenses/MIT).
|
data/act_with_bag.gemspec
CHANGED
@@ -9,12 +9,10 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.description = "Add a bag to a Rails model"
|
10
10
|
s.authors = ["Dittmar Krall"]
|
11
11
|
s.email = ["dittmar.krall@matiq.com"]
|
12
|
-
s.homepage = "
|
12
|
+
s.homepage = "https://github.com/matique/act_with_bag"
|
13
13
|
s.license = "MIT"
|
14
14
|
s.platform = Gem::Platform::RUBY
|
15
15
|
|
16
|
-
s.metadata["source_code_uri"] = "https://github.com/matique/act_with_bag"
|
17
|
-
|
18
16
|
s.files = `git ls-files -z`.split("\x0")
|
19
17
|
s.require_paths = ["lib"]
|
20
18
|
|
data/gemfiles/rails_6.1.gemfile
CHANGED
@@ -2,14 +2,13 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "rails", "~>
|
6
|
-
gem "dryer-config", "~> 6.0"
|
5
|
+
gem "rails", "~> 7.0"
|
7
6
|
|
8
7
|
group :test do
|
9
8
|
gem "observr"
|
10
|
-
gem "standard", require: false
|
11
|
-
gem "simplecov", require: false
|
12
9
|
gem "ricecream"
|
10
|
+
gem "simplecov", require: false
|
11
|
+
gem "standard", require: false
|
13
12
|
end
|
14
13
|
|
15
14
|
gemspec path: "../"
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "rails", "~> 7.1"
|
6
|
+
|
7
|
+
group :test do
|
8
|
+
gem "observr"
|
9
|
+
gem "ricecream"
|
10
|
+
gem "simplecov", require: false
|
11
|
+
gem "standard", require: false
|
12
|
+
end
|
13
|
+
|
14
|
+
gemspec path: "../"
|
data/lib/act_with_bag/version.rb
CHANGED
data/lib/act_with_bag.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: act_with_bag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dittmar Krall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -111,8 +111,9 @@ files:
|
|
111
111
|
- README.md
|
112
112
|
- Rakefile
|
113
113
|
- act_with_bag.gemspec
|
114
|
-
- gemfiles/rails_6.0.gemfile
|
115
114
|
- gemfiles/rails_6.1.gemfile
|
115
|
+
- gemfiles/rails_7.0.gemfile
|
116
|
+
- gemfiles/rails_7.1.gemfile
|
116
117
|
- lib/act_with_bag.rb
|
117
118
|
- lib/act_with_bag/version.rb
|
118
119
|
- test/accessor_test.rb
|
@@ -129,11 +130,10 @@ files:
|
|
129
130
|
- test/string_test.rb
|
130
131
|
- test/test_helper.rb
|
131
132
|
- test/type_test.rb
|
132
|
-
homepage:
|
133
|
+
homepage: https://github.com/matique/act_with_bag
|
133
134
|
licenses:
|
134
135
|
- MIT
|
135
|
-
metadata:
|
136
|
-
source_code_uri: https://github.com/matique/act_with_bag
|
136
|
+
metadata: {}
|
137
137
|
post_install_message:
|
138
138
|
rdoc_options: []
|
139
139
|
require_paths:
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
- !ruby/object:Gem::Version
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
|
-
rubygems_version: 3.4.
|
152
|
+
rubygems_version: 3.4.20
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: act_with_bag (baggies) gem
|