rbs_draper 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/lib/generators/rbs_draper/install_generator.rb +1 -1
- data/lib/rbs_draper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 485968223634d96cd141059a7895c8d2d16bea7aba9414d82510db8f2c5d6466
|
4
|
+
data.tar.gz: 4e31de11d6a585ea5f7fae983671daf3233b16aa6475ea0e26c35546f0691c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caeb6ed8933f96cb3453ad3e41014c418b738b7e79c9a23a3d8e0cbc02df520b2053af1a1f7f6d6129701a1202875a2f3cae518742032a75e202c8c36d7447c3
|
7
|
+
data.tar.gz: c903adf4eaebd70a5f9438c33cda4000b64de63d199a04cc4e65278673abe21ad106b903dab2790b882f7095f86b19f436f33396657f1aefcaf98ddd9017d850
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rbs_draper (1.1.
|
4
|
+
rbs_draper (1.1.1)
|
5
5
|
activesupport
|
6
6
|
draper
|
7
7
|
fileutils
|
@@ -127,7 +127,7 @@ GEM
|
|
127
127
|
diff-lcs (>= 1.2.0, < 2.0)
|
128
128
|
rspec-support (~> 3.12.0)
|
129
129
|
rspec-support (3.12.0)
|
130
|
-
rubocop (1.56.
|
130
|
+
rubocop (1.56.2)
|
131
131
|
base64 (~> 0.1.1)
|
132
132
|
json (~> 2.3)
|
133
133
|
language_server-protocol (>= 3.17.0)
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ If you have decorators having different names from models, you can specify the m
|
|
18
18
|
decorator names to model names in `lib/tasks/rbs_draper.rake`. For example:
|
19
19
|
|
20
20
|
RbsDraper::RakeTask.new do |task|
|
21
|
-
task.mapping = -> { { AdminUserDecorator
|
21
|
+
task.mapping = -> { { AdminUserDecorator => User } }
|
22
22
|
end
|
23
23
|
|
24
24
|
## Usage
|
@@ -13,7 +13,7 @@ module RbsDraper
|
|
13
13
|
# If you have decorators having different names from models, you can specify the mapping from decorator names to model names.
|
14
14
|
# The value should be a lambda that returns a hash to load decorators and models easily.
|
15
15
|
#
|
16
|
-
# task.mapping = -> { { AdminUserDecorator
|
16
|
+
# task.mapping = -> { { AdminUserDecorator => User } }
|
17
17
|
end
|
18
18
|
rescue LoadError
|
19
19
|
# failed to load rbs_draper. Skip to load rbs_draper tasks.
|
data/lib/rbs_draper/version.rb
CHANGED