rom 5.0.2 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +36 -0
  3. data/LICENSE +1 -1
  4. data/README.md +2 -2
  5. data/lib/rom/version.rb +1 -1
  6. metadata +13 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2b2f3099d0ff6c086669e55946f32d5878dea8c58349a2d522a9b71425fdcac
4
- data.tar.gz: 87475b760eab5d028438c72cadcb992d20b9f1b4fecf86397118adf9e473d89a
3
+ metadata.gz: 21c2e7401b06b0f62ea347287100daa5fab09a661d6d1940c2317666613859a7
4
+ data.tar.gz: 77bead170aca4b45f2cd0622ac4048c512506606cf4208c2f3d3bf16072bc7f1
5
5
  SHA512:
6
- metadata.gz: a0e16927c073364ef66fc4aaba1ddc9d0367d1dc4fbcf29d1752c10ea297a7e6a47c40f2da9264d623bf057ab59a0317d917015207b7656b4c1b643c9346c5f7
7
- data.tar.gz: 4eb8413df185e985d02f961eea7686beb1c30162a0189a32549105e8181bcfe65401f2919e2cd9956694f9ae009a5b19cde2f060bd7ae9882d7da32bcc3d50aa
6
+ metadata.gz: 69048980d87550b1e0db5d83646da54dc95c7955784c5c043110f3e346ebb6643a0dc5737d6ea4a1e923d11eb74e09e29dde61aec66377ffb2f4ee0dada735d0
7
+ data.tar.gz: 006d39307861edf47b397801fe064e44f4a6df2483a1a3440c93f9a43c7527afeee6fa5b45e3e896e70b4a391bb3885ca6022c3c2229e5706a1d92bb62f589f7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,39 @@
1
+ # 5.1.0 2019-07-30
2
+
3
+ ## rom-core
4
+
5
+ ### Added
6
+
7
+ * `ROM::Transformer.map` shortcut for defining transformations (@solnic)
8
+ * `ROM::Transformer` supports instance methods as mapping functions now (@solnic)
9
+ * `ROM::Transformer` configuration can be now inlined ie `relation :users, as: :json_serializer` (@solnic)
10
+
11
+ ### Fixed
12
+
13
+ * Combining same relation multiple times no longer crashes auto-mapping (fixes #547) (@solnic)
14
+ * `ROM::Transformer` works correctly with inheritance (@solnic)
15
+ * `CommandCompiler` supports command options correctly now (@solnic)
16
+
17
+ ### Changed
18
+
19
+ * Plugin API has been generalized to enable arbitrary component plugins (@flash-gordon)
20
+
21
+ ## rom-changeset
22
+
23
+ ### Added
24
+
25
+ * Plugin API :tada: (@solnic)
26
+ * Support for `command_options` in changesets for providing any additional command options (@solnic)
27
+ * Support for `command_plugins` in changesets for enabling command plugins and configuring them (@solnic)
28
+
29
+ ## rom-repository
30
+
31
+ ### Added
32
+
33
+ * Plugin API :tada: (@flash-gordon)
34
+
35
+ [Compare v5.0.2...v5.1.0](https://github.com/rom-rb/rom/compare/v5.0.2...v5.1.0)
36
+
1
37
  # 5.0.2 2019-05-01
2
38
 
3
39
  ## rom
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013-2017 Ruby Object Mapper Team
1
+ Copyright (c) 2013-2019 rom-rb team
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [gem]: https://rubygems.org/gems/rom
2
- [travis]: https://travis-ci.org/rom-rb/rom
2
+ [travis]: https://travis-ci.com/rom-rb/rom
3
3
  [codeclimate]: https://codeclimate.com/github/rom-rb/rom
4
4
  [inchpages]: http://inch-ci.org/github/rom-rb/rom/
5
5
  [chat]: https://rom-rb.zulipchat.com
@@ -7,7 +7,7 @@
7
7
  # rom [![Join the chat at https://rom-rb.zulipchat.com](https://img.shields.io/badge/rom--rb-join%20chat-942283.svg)][chat]
8
8
 
9
9
  [![Gem Version](https://badge.fury.io/rb/rom.svg)][gem]
10
- [![Build Status](https://travis-ci.org/rom-rb/rom.svg?branch=master)][travis]
10
+ [![Build Status](https://travis-ci.com/rom-rb/rom.svg?branch=master)][travis]
11
11
  [![Code Climate](https://codeclimate.com/github/rom-rb/rom/badges/gpa.svg)][codeclimate]
12
12
  [![Test Coverage](https://codeclimate.com/github/rom-rb/rom/badges/coverage.svg)][codeclimate]
13
13
  [![Inline docs](http://inch-ci.org/github/rom-rb/rom.svg?branch=master&style=flat)][inchpages]
data/lib/rom/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ROM
4
- VERSION = '5.0.2'
4
+ VERSION = '5.1.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rom
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.2
4
+ version: 5.1.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: 2019-05-01 00:00:00.000000000 Z
11
+ date: 2019-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rom-core
@@ -16,54 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 5.0.2
19
+ version: '5.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '5.0'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 5.0.2
26
+ version: '5.1'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: rom-repository
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '5.0'
33
+ version: '5.1'
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '5.0'
40
+ version: '5.1'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: rom-changeset
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '5.0'
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: 5.0.1
47
+ version: '5.1'
57
48
  type: :runtime
58
49
  prerelease: false
59
50
  version_requirements: !ruby/object:Gem::Requirement
60
51
  requirements:
61
52
  - - "~>"
62
53
  - !ruby/object:Gem::Version
63
- version: '5.0'
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- version: 5.0.1
54
+ version: '5.1'
67
55
  - !ruby/object:Gem::Dependency
68
56
  name: rake
69
57
  requirement: !ruby/object:Gem::Requirement
@@ -106,7 +94,11 @@ files:
106
94
  homepage: http://rom-rb.org
107
95
  licenses:
108
96
  - MIT
109
- metadata: {}
97
+ metadata:
98
+ source_code_uri: https://github.com/rom-rb/rom
99
+ documentation_uri: https://api.rom-rb.org/rom/
100
+ mailing_list_uri: https://discourse.rom-rb.org/
101
+ bug_tracker_uri: https://github.com/rom-rb/rom/issues
110
102
  post_install_message:
111
103
  rdoc_options: []
112
104
  require_paths: