active_mappers 1.4.5 → 1.4.6

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: 74222f3c7d4f7ba70429c27aefde7a52c5fb34c811f904ed6608e22c4687df80
4
- data.tar.gz: 97c3d7bc5d23f0b73f59ffe9e9edb4f32c4fbb5007ae1d9767c0625f1cb52563
3
+ metadata.gz: ac980b374337decc27f455542605a5aaf6da146ec1a3b96547e69f9287061b44
4
+ data.tar.gz: 1df7c23ac090efebb1498bc6ecc8d9944a282edf03179fae71a88c5204c08102
5
5
  SHA512:
6
- metadata.gz: 10575096699c2016d0e0fae9e4eb815daa01e5c6b607441acb11b482538c941fc3680b50270c9c549e023774e2e2d266682da59628085fd1b187082df0c63440
7
- data.tar.gz: c4c854c19f6e51fef45fde92c7b178aef063718d98fce57a7fb856626621a612a448ba9fa84eafecdd6ecb7506def98e5009078a7279666d774dcdb37b1d792f
6
+ metadata.gz: 40d83c52a139b9f76e7eda851cc071f4435b3a7c8d35a294e632d45a92471c34753b72c5ac0d5b0e600646ad7cce468a7f56ffbca0b39ab8f410a28fea9c1a8e
7
+ data.tar.gz: 6aadec0ca9cf96a877df5e534b1be7870cee3417d2332d23410b8bb0e223af1224b6b85a0b4b5f11c319525c8f643f020e1dd98680acfaf7ad861ce622050947
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'active_mappers'
3
- s.version = '1.4.5'
4
- s.date = '2020-08-27'
3
+ s.version = '1.4.6'
4
+ s.date = '2020-11-10'
5
5
  s.summary = 'Slick, fast view layer for you Rails API.'
6
6
  s.description = 'Fast, simple, declarative way to design your API\'s view layer'
7
7
  s.authors = ['Michaël Villeneuve']
@@ -18,14 +18,14 @@ module ActiveMappers
18
18
 
19
19
  def self.resource_class_to_mapper(resource_class_name, class_from)
20
20
  resource_class_name[0..1] = '' if resource_class_name.start_with?('::')
21
-
21
+
22
22
  "#{base_namespace(class_from)}::#{resource_class_name}Mapper".constantize
23
23
  rescue NameError
24
24
  raise "undefined mapper: '#{base_namespace(class_from)}::#{resource_class_name}Mapper'"
25
25
  end
26
26
 
27
27
  def initialize(name)
28
- @name = name
28
+ @name = name.dup
29
29
  end
30
30
 
31
31
  def remove_ignored_namespace
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_mappers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michaël Villeneuve
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-27 00:00:00.000000000 Z
11
+ date: 2020-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -101,7 +101,7 @@ homepage: https://github.com/fidme/active_mappers
101
101
  licenses:
102
102
  - MIT
103
103
  metadata: {}
104
- post_install_message:
104
+ post_install_message:
105
105
  rdoc_options: []
106
106
  require_paths:
107
107
  - lib
@@ -116,8 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
- rubygems_version: 3.0.3
120
- signing_key:
119
+ rubygems_version: 3.1.2
120
+ signing_key:
121
121
  specification_version: 4
122
122
  summary: Slick, fast view layer for you Rails API.
123
123
  test_files: []