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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4264323a47d34195f99e7e52dfed772f191d1c1b6ff2b67aea3ae8bebcc2c207
4
- data.tar.gz: 884b7eb9869e61ab465d63ac2f5878226491bbd40b7612a6bf9dae071d1a16c2
3
+ metadata.gz: 485968223634d96cd141059a7895c8d2d16bea7aba9414d82510db8f2c5d6466
4
+ data.tar.gz: 4e31de11d6a585ea5f7fae983671daf3233b16aa6475ea0e26c35546f0691c9a
5
5
  SHA512:
6
- metadata.gz: b4489ad1ad8ae877970dfae0d89ae95466aa5796cedb4fa0b9af95be5fed7fc0096b6ca0266c0d1e0ef660ed80394865c19f44f7f74f338919d52a99af60e4ac
7
- data.tar.gz: 9130a8eaa678d68be89334e8927c06f9d18a6356fb85cbf3fcd237eace146a3a4326a3b07792978f833988fd555542af307b486d1caf99c022c91a709ed7491e
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.0)
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.1)
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: User } }
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: User } }
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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RbsDraper
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbs_draper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takeshi KOMIYA