rom-model 0.4.0 → 0.5.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
2
  SHA1:
3
- metadata.gz: 765238594ecde223ac2afd2c4adc46aca70e099a
4
- data.tar.gz: 711b164396efe410c5f94d3d27eb11aeb902acae
3
+ metadata.gz: 87bd7a4a128cbc67271ce18e1c2cd5a23bb26959
4
+ data.tar.gz: f016b855181958624de419879ba56e0d2f48168c
5
5
  SHA512:
6
- metadata.gz: 4472abaa1330505d99ea0b1cfb3267d382c167982a3da4399535485e35090bd67aae9079190ff2601f2f541b6cc903759df41dad8d9259e184dfd48c97e7d0ee
7
- data.tar.gz: 682eb7d07b936c24ef759a101936fac4d0b1b8294cec4db37da177a82f05edc3d346031d55b75ea9b687fbceeed6abadbd615771d2b2ff80babd67db7af07050
6
+ metadata.gz: f2169bd67eed59d42928fe1a3d4edfd51b22d64458ccfb74770a9c85f64275c8bba569e1aeefb3a9b6006f39772b2ebe993a8a386d52d0cbb1bce8d26431aea4
7
+ data.tar.gz: 97f4af55ae8190d2f788af0d7287a81bc8b4162ea2544652fef6123f5621860e8361a3161ea6aaed65ca9747ba37f62e2f6ba93be7a22e6d5c2df29669db10db
@@ -1,3 +1,9 @@
1
+ # 0.5.0 2017-01-30
2
+
3
+ ## Internal
4
+
5
+ * [`rom-support`](https://github.com/rom-rb/rom-support) dependency was replaced with [`dry-core`](https://github.com/dry-rb/dry-core) (flash-gordon)
6
+
1
7
  # 0.4.0 2016-08-08
2
8
 
3
9
  ## Changed
data/Gemfile CHANGED
@@ -4,7 +4,8 @@ gemspec
4
4
 
5
5
  group :test do
6
6
  gem 'rspec'
7
- gem 'rom-sql', '~> 0.8'
7
+ gem 'rom', github: 'rom-rb/rom', branch: 'master'
8
+ gem 'rom-sql', github: 'rom-rb/rom-sql', branch: 'master'
8
9
  gem 'pg', platforms: [:mri, :rbx]
9
10
  gem 'pg_jruby', platforms: :jruby
10
11
  gem 'codeclimate-test-reporter', require: nil, platform: :rbx
@@ -1,11 +1,10 @@
1
1
  require 'dry-equalizer'
2
2
  require 'charlatan'
3
+ require 'dry/core/class_attributes'
3
4
 
4
- require 'rom/support/constants'
5
5
  require 'rom/constants'
6
6
 
7
7
  require 'rom/model/validator/uniqueness_validator'
8
- require 'rom/support/class_macros'
9
8
 
10
9
  require 'rom/pipeline'
11
10
 
@@ -52,7 +51,7 @@ module ROM
52
51
  def self.included(base)
53
52
  base.class_eval do
54
53
  extend ClassMethods
55
- extend ROM::ClassMacros
54
+ extend Dry::Core::ClassAttributes
56
55
 
57
56
  include ActiveModel::Validations
58
57
  include Dry::Equalizer(:attributes, :errors)
@@ -1,5 +1,5 @@
1
1
  module ROM
2
2
  module Model
3
- VERSION = '0.4.0'.freeze
3
+ VERSION = '0.5.0'.freeze
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.add_runtime_dependency 'dry-equalizer', '~> 0.2'
21
- spec.add_runtime_dependency 'rom-support', '~> 2.0'
21
+ spec.add_runtime_dependency 'dry-core', '~> 0.2', '>= 0.2.3'
22
22
  spec.add_runtime_dependency 'charlatan', '~> 0.1'
23
23
  spec.add_runtime_dependency 'virtus', '~> 1.0', '>= 1.0.5'
24
24
  spec.add_runtime_dependency 'activemodel', '>= 3.0', "< 6.0"
@@ -26,5 +26,5 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_development_dependency "bundler"
28
28
  spec.add_development_dependency "rake"
29
- spec.add_development_dependency "rubocop", "~> 0.28.0"
29
+ spec.add_development_dependency "rubocop", "~> 0.47.1"
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rom-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-08 00:00:00.000000000 Z
11
+ date: 2017-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-equalizer
@@ -25,19 +25,25 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rom-support
28
+ name: dry-core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.0'
33
+ version: '0.2'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 0.2.3
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
41
  - - "~>"
39
42
  - !ruby/object:Gem::Version
40
- version: '2.0'
43
+ version: '0.2'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 0.2.3
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: charlatan
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -140,14 +146,14 @@ dependencies:
140
146
  requirements:
141
147
  - - "~>"
142
148
  - !ruby/object:Gem::Version
143
- version: 0.28.0
149
+ version: 0.47.1
144
150
  type: :development
145
151
  prerelease: false
146
152
  version_requirements: !ruby/object:Gem::Requirement
147
153
  requirements:
148
154
  - - "~>"
149
155
  - !ruby/object:Gem::Version
150
- version: 0.28.0
156
+ version: 0.47.1
151
157
  description:
152
158
  email:
153
159
  - piotr.solnica@gmail.com