origin 2.3.0 → 2.3.1
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.
- checksums.yaml +5 -13
- data/lib/origin/options.rb +16 -0
- data/lib/origin/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NjkzMGFhNjEzOTdiYjA4NjFiZGM0MWJhNWIxZmVkZTk5NjQzNjMxNQ==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 567e192049d5480e7bf63e8a2fe44b5e43597ca5
|
4
|
+
data.tar.gz: 9637a2ad5c3cba6154c11e5a26f9f4c228c2344b
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
MmE3MTEzODEwNzc4MzQxNmNjYzljMDQwZjJmZjQ1NzU5YTgxMzA2YmNiODBm
|
11
|
-
NDBiYTliZDAzZGU3NmU1OTU0Y2JlOTllMDE5NTMwMzMzNzZjMzY=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YzVjNTg2NzFhMTQyMDNjYmMzYmIzYmZhZmY4MTk3NTFkYTdiOTRiZjljMTlj
|
14
|
-
NzkzNTU1NmY0M2QwZjU4NTQ5YWQ3ZGQ1OTExYzVlYzg1ZDM2YTNkMjJiYzVj
|
15
|
-
ZmIzMTQ2ZDEzMDJjZDE0MTNlYjE0MTU4YzNiYzQ1MjU3Zjg1NTY=
|
6
|
+
metadata.gz: e01e15cfa9f161cc598cee91ff8dba69041cd60cf69a256cdfde9a548bdae95c104205f3dc6040a59fd511b0ce91588ebd9e557a28328fb6fbecb6945dbd19ce
|
7
|
+
data.tar.gz: d721f38fe57a60ea0b60cbfe5f37d034ccc5ed4910da986a7da7f930201d4fb4654cd1157c176605b160d7b3ef7ba90b4dea3238ef3be3f8abb8c7b335d349c2
|
data/lib/origin/options.rb
CHANGED
@@ -86,6 +86,22 @@ module Origin
|
|
86
86
|
pipeline
|
87
87
|
end
|
88
88
|
|
89
|
+
# Perform a deep copy of the options.
|
90
|
+
#
|
91
|
+
# @example Perform a deep copy.
|
92
|
+
# options.__deep_copy__
|
93
|
+
#
|
94
|
+
# @return [ Options ] The copied options.
|
95
|
+
#
|
96
|
+
# @since 2.3.1
|
97
|
+
def __deep_copy__
|
98
|
+
self.class.new(aliases, serializers) do |copy|
|
99
|
+
each_pair do |key, value|
|
100
|
+
copy.merge!(key => value.__deep_copy__)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
89
105
|
private
|
90
106
|
|
91
107
|
# Evolve a single key selection with various types of values.
|
data/lib/origin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Durran Jordan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Origin is a simple DSL for generating MongoDB selectors and options
|
14
14
|
email:
|
@@ -61,17 +61,17 @@ require_paths:
|
|
61
61
|
- lib
|
62
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- -
|
64
|
+
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: 1.3.6
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project: origin
|
74
|
-
rubygems_version: 2.4.
|
74
|
+
rubygems_version: 2.4.5.1
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Simple DSL for MongoDB query generation
|