active_orm 5.0.6 → 5.1.0

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
- SHA1:
3
- metadata.gz: 1e7e48a7adb8a5bd591be6f7cfca9ee1eb62c49d
4
- data.tar.gz: 0d458b8b6dad540868eb44c4cecb9cb64b7a52c3
2
+ SHA256:
3
+ metadata.gz: 501530588064e6203683e97306c5536e6ce1c651f5aef5d67c8dcd8e7c0f9d09
4
+ data.tar.gz: e3de58907a511b96fa79d2792eb63f672c7470738a26409af7ac073e5080a1e2
5
5
  SHA512:
6
- metadata.gz: 227afd9e28c8771f249cbfaeed8a433be4443bb555710bf8c917a8d71107f22a1a9f95442405b4485805f52c5310ddb58ead4ba7807a4f06922c9bfc443d3e3b
7
- data.tar.gz: f6a51930fcd7a994a3f1e8ce5a4219d9b31013c614f8661d47a9a2564a3c86b1355abbb61069dee79a5684fe7e71876fdfa17c534867ded02a238a9fcc8be4e4
6
+ metadata.gz: 625222520e0265faceae1dae8278ba1ae166a37c6a4c1c641754654446e98db56ffa78b270b6048d76fd4a5361c8cb8beb2b82142159a01b394f59c0306d5de6
7
+ data.tar.gz: 0e2e4506f7b0ac041d58426b8bdfb500356bc959c0f4550f3f0cf56480595b84ef5036c0beef5fba99303321bba44a4332368678b5a2141c70d38dba79cb4f86
@@ -0,0 +1,29 @@
1
+ ---
2
+ detectors:
3
+ Attribute:
4
+ enabled: false
5
+ BooleanParameter:
6
+ enabled: false
7
+ ClassVariable:
8
+ enabled: false
9
+ ControlParameter:
10
+ enabled: false
11
+ DataClump:
12
+ enabled: false
13
+ DuplicateMethodCall:
14
+ exclude:
15
+ - 'Base#metamorph'
16
+ FeatureEnvy:
17
+ enabled: false
18
+ IrresponsibleModule:
19
+ enabled: false
20
+ LongParameterList:
21
+ enabled: false
22
+ NilCheck:
23
+ enabled: false
24
+ RepeatedConditional:
25
+ enabled: false
26
+ TooManyMethods:
27
+ enabled: false
28
+ TooManyStatements:
29
+ max_statements: 10
@@ -22,3 +22,5 @@ Style/ClassVars:
22
22
  Enabled: false
23
23
  Style/Documentation:
24
24
  Enabled: false
25
+ Style/ExpandPathArguments:
26
+ Enabled: false
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # coding: utf-8
4
-
5
3
  lib = File.expand_path('../lib', __FILE__)
6
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7
5
  require 'active_orm/version'
@@ -26,10 +24,10 @@ Gem::Specification.new do |spec|
26
24
 
27
25
  spec.add_development_dependency 'bundler'
28
26
  spec.add_development_dependency 'coveralls'
29
- spec.add_development_dependency 'rake'
30
- spec.add_development_dependency 'rspec'
31
- spec.add_development_dependency 'generator_spec'
32
27
  spec.add_development_dependency 'fasterer'
28
+ spec.add_development_dependency 'generator_spec'
29
+ spec.add_development_dependency 'rake'
33
30
  spec.add_development_dependency 'reek'
31
+ spec.add_development_dependency 'rspec'
34
32
  spec.add_development_dependency 'rubocop'
35
33
  end
@@ -60,6 +60,7 @@ class ActiveOrm::Redis::Base
60
60
 
61
61
  def metatransform(datum)
62
62
  return if datum.empty?
63
+
63
64
  evaluate? ? metamorph(datum) : datum
64
65
  end
65
66
 
@@ -34,3 +34,5 @@ module ActiveOrm
34
34
 
35
35
  end
36
36
  end
37
+
38
+ # rubocop:enable Style/ClassAndModuleChildren
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveOrm
4
- VERSION ||= '5.0.6'
4
+ VERSION ||= '5.1.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_orm
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.6
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-14 00:00:00.000000000 Z
11
+ date: 2018-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rake
56
+ name: fasterer
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rspec
70
+ name: generator_spec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: generator_spec
84
+ name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: fasterer
98
+ name: reek
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: reek
112
+ name: rspec
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -146,7 +146,7 @@ files:
146
146
  - ".DS_Store"
147
147
  - ".fasterer.yml"
148
148
  - ".gitignore"
149
- - ".reek"
149
+ - ".reek.yml"
150
150
  - ".rspec"
151
151
  - ".rubocop.yml"
152
152
  - ".travis.yml"
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
201
  version: '0'
202
202
  requirements: []
203
203
  rubyforge_project:
204
- rubygems_version: 2.6.14
204
+ rubygems_version: 2.7.7
205
205
  signing_key:
206
206
  specification_version: 4
207
207
  summary: Gem for commonly used database ORM.
data/.reek DELETED
@@ -1,28 +0,0 @@
1
- ---
2
- Attribute:
3
- enabled: false
4
- BooleanParameter:
5
- enabled: false
6
- ClassVariable:
7
- enabled: false
8
- ControlParameter:
9
- enabled: false
10
- DataClump:
11
- enabled: false
12
- DuplicateMethodCall:
13
- exclude:
14
- - 'Base#metamorph'
15
- FeatureEnvy:
16
- enabled: false
17
- IrresponsibleModule:
18
- enabled: false
19
- LongParameterList:
20
- enabled: false
21
- NilCheck:
22
- enabled: false
23
- RepeatedConditional:
24
- enabled: false
25
- TooManyMethods:
26
- enabled: false
27
- TooManyStatements:
28
- max_statements: 10