mongoid-shell 0.4.6 → 0.5.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -10
- data/LICENSE.md +1 -1
- data/README.md +7 -5
- data/lib/mongoid/shell/commands/base.rb +11 -7
- data/lib/mongoid/shell/commands/mongo.rb +2 -0
- data/lib/mongoid/shell/commands/mongodump.rb +2 -0
- data/lib/mongoid/shell/commands/mongoexport.rb +2 -0
- data/lib/mongoid/shell/commands/mongoimport.rb +2 -0
- data/lib/mongoid/shell/commands/mongorestore.rb +2 -0
- data/lib/mongoid/shell/commands/mongostat.rb +2 -0
- data/lib/mongoid/shell/commands.rb +2 -0
- data/lib/mongoid/shell/errors/base.rb +6 -4
- data/lib/mongoid/shell/errors/missing_primary_node_error.rb +2 -0
- data/lib/mongoid/shell/errors/missing_session_error.rb +2 -0
- data/lib/mongoid/shell/errors/session_not_connected_error.rb +2 -0
- data/lib/mongoid/shell/errors.rb +2 -0
- data/lib/mongoid/shell/properties/authentication_database.rb +6 -1
- data/lib/mongoid/shell/properties/database.rb +2 -0
- data/lib/mongoid/shell/properties/host.rb +5 -0
- data/lib/mongoid/shell/properties/password.rb +6 -8
- data/lib/mongoid/shell/properties/primary.rb +8 -0
- data/lib/mongoid/shell/properties/ssl.rb +3 -0
- data/lib/mongoid/shell/properties/username.rb +6 -8
- data/lib/mongoid/shell/properties.rb +2 -0
- data/lib/mongoid/shell/version.rb +3 -1
- data/lib/mongoid-shell.rb +2 -0
- data/lib/mongoid_shell.rb +2 -0
- metadata +15 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f3fcabc0004e2cacdcac5776ed0d39e594708ec4ec152540b067bd1888dc527
|
|
4
|
+
data.tar.gz: 38d3a660fb2dfc72dada952faa2e46d692d5cfe0bf36588572932c76d51975eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ffbf1bad9524352f98cd3a8bf1d98e544b9c428580442b85b108fa50de25cf4189e081a1639ab886e710fe60200d1c118dd46ee1c8be7eebe8e757d1371ba48
|
|
7
|
+
data.tar.gz: 5b6d190569e9d18542b651658c2b4b8bc58ca836536ac6f54ec6071a5163b19c28b6764fd436f4145c210d989904a0dd3ba7400e099785844593172e79e38135
|
data/CHANGELOG.md
CHANGED
|
@@ -1,34 +1,41 @@
|
|
|
1
|
-
### 0.
|
|
1
|
+
### 0.5.0 (2026/10/14)
|
|
2
|
+
|
|
3
|
+
* [#25](https://github.com/mongoid/mongoid-shell/pull/25): Add SimpleCov and Coveralls reporting in CI and update status badges - [@dblock](https://github.com/dblock).
|
|
4
|
+
* [#24](https://github.com/mongoid/mongoid-shell/pull/24): Test through Ruby 4.0 and MongoDB 8.0 with Mongoid 9, retain legacy coverage, and explicitly bundle OpenStruct - [@dblock](https://github.com/dblock).
|
|
5
|
+
* [#20](https://github.com/mongoid/mongoid-shell/pull/20): Added compatibility with Mongoid 7, 8, 9 - [@dblock](https://github.com/dblock).
|
|
6
|
+
* Migrated CI from Travis CI to GitHub Actions - [@dblock](https://github.com/dblock).
|
|
7
|
+
|
|
8
|
+
### 0.4.6 (2017/12/29)
|
|
2
9
|
|
|
3
10
|
* [#16](https://github.com/mongoid/mongoid-shell/pull/16): Add `--ssl` and `--authenticationDatabase` support to all commands - [@cavvia](https://github.com/cavvia).
|
|
4
11
|
|
|
5
|
-
### 0.4.5 (
|
|
12
|
+
### 0.4.5 (2017/09/07)
|
|
6
13
|
|
|
7
14
|
* [#13](https://github.com/mongoid/mongoid-shell/issues/13): Support masking sensitive values with `to_s(mask_sensitive: true)` - [@dblock](https://github.com/dblock).
|
|
8
15
|
* [#14](https://github.com/mongoid/mongoid-shell/pull/14): Refactored arg definitions into `arg` and `option` - [@dblock](https://github.com/dblock).
|
|
9
16
|
|
|
10
|
-
### 0.4.4 (
|
|
17
|
+
### 0.4.4 (2017/06/04)
|
|
11
18
|
|
|
12
19
|
* [#11](https://github.com/mongoid/mongoid-shell/pull/11): Compatibility with Mongoid 6 - [@jbach](https://github.com/jbach).
|
|
13
20
|
* [#12](https://github.com/mongoid/mongoid-shell/pull/12): Added Danger, PR linter - [@dblock](https://github.com/dblock).
|
|
14
21
|
|
|
15
|
-
### 0.4.3 (
|
|
22
|
+
### 0.4.3 (2016/06/01)
|
|
16
23
|
|
|
17
24
|
* [#9](https://github.com/mongoid/mongoid-shell/pull/9): Remove example and spec alleging that `--collection` can be specified multiple times - [@joeyAghion](https://github.com/joeyAghion).
|
|
18
25
|
|
|
19
|
-
### 0.4.2 (
|
|
26
|
+
### 0.4.2 (2015/02/09)
|
|
20
27
|
|
|
21
28
|
* [#8](https://github.com/mongoid/mongoid-shell/pull/8): Support repeatable parameters; add `excludeCollection` and `excludeCollectionsWithPrefix` to `mongodump` - [@joeyAghion](https://github.com/joeyAghion).
|
|
22
29
|
|
|
23
|
-
### 0.4.1 (10/25
|
|
30
|
+
### 0.4.1 (2015/10/25)
|
|
24
31
|
|
|
25
32
|
* [#7](https://github.com/mongoid/mongoid-shell/pull/7): Added support for `mongoimport` and `mongoexport` - [@hoang1417](https://github.com/hoang1417).
|
|
26
33
|
|
|
27
|
-
### 0.4.0 (10/20
|
|
34
|
+
### 0.4.0 (2015/10/20)
|
|
28
35
|
|
|
29
36
|
* [#6](https://github.com/mongoid/mongoid-shell/pull/6): Compatibility with Mongoid 5.x - [@dblock](https://github.com/dblock).
|
|
30
37
|
|
|
31
|
-
### 0.3.0 (
|
|
38
|
+
### 0.3.0 (2014/07/01)
|
|
32
39
|
|
|
33
40
|
* [#3](https://github.com/mongoid/mongoid-shell/pull/3): Added Mongoid 4.x support - [@pawelniewie](https://github.com/pawelniewie), [@dblock](https://github.com/dblock).
|
|
34
41
|
* [#2](https://github.com/mongoid/mongoid-shell/pull/2): Added support for `--noIndexRestore` to `Mongoid::Shell::Commands::Mongorestore` - [@macreery](https://github.com/macreery).
|
|
@@ -37,7 +44,7 @@
|
|
|
37
44
|
* Added Rubocop, Ruby style linter - [@dblock](https://github.com/dblock).
|
|
38
45
|
* Upgraded to RSpec 3.x expectation syntax - [@dblock](https://github.com/dblock).
|
|
39
46
|
|
|
40
|
-
### 0.2.0 (
|
|
47
|
+
### 0.2.0 (2013/01/29)
|
|
41
48
|
|
|
42
49
|
* Added `Mongoid::Shell::Commands::Mongo` that generates a command line which connects to the session's primary node - [@dblock](https://github.com/dblock).
|
|
43
50
|
* Added `Mongoid::Shell::Commands::Mongostat` that generates a command line for `mongostat` - [@dblock](https://github.com/dblock).
|
|
@@ -47,6 +54,6 @@
|
|
|
47
54
|
* Added support for `--nodb`, `--norc`, `--quiet` and `--ipv6` to `Mongoid::Shell::Commands::Mongo` - [@dblock](https://github.com/dblock).
|
|
48
55
|
* It's now possible to override built-in `db`, `username`, `password`, `host` and `primary` - [@dblock](https://github.com/dblock).
|
|
49
56
|
|
|
50
|
-
### 0.1.0 (
|
|
57
|
+
### 0.1.0 (2013/01/27)
|
|
51
58
|
|
|
52
59
|
* Initial public release with support for `mongodump` - [@dblock](https://github.com/dblock).
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
|
@@ -2,9 +2,11 @@ Mongoid::Shell
|
|
|
2
2
|
==============
|
|
3
3
|
|
|
4
4
|
[](https://badge.fury.io/rb/mongoid-shell)
|
|
5
|
-
[](https://github.com/mongoid/mongoid-shell/actions/workflows/test.yml)
|
|
6
|
+
[](https://github.com/mongoid/mongoid-shell/actions/workflows/rubocop.yml)
|
|
7
|
+
[](https://coveralls.io/github/mongoid/mongoid-shell?branch=master)
|
|
8
|
+
|
|
9
|
+
CI collects SimpleCov coverage on Ruby 3.4 with Mongoid 9 and MongoDB 8.0 and submits one report to Coveralls using GitHub's workflow token. To generate a local report, run `COVERAGE=true MONGOID_VERSION=9 bundle install` followed by `COVERAGE=true MONGOID_VERSION=9 bundle exec rake spec`. Reports are written to `coverage/`.
|
|
8
10
|
|
|
9
11
|
Create mongo command-lines from Mongoid configuration.
|
|
10
12
|
|
|
@@ -56,7 +58,7 @@ To use output in logs, pass the `mask_sensitive` option to `to_s`.
|
|
|
56
58
|
Compatibility
|
|
57
59
|
-------------
|
|
58
60
|
|
|
59
|
-
This gem supports Mongoid 3, 4, 5 and
|
|
61
|
+
This gem supports Mongoid 3, 4, 5, 6, 7, 8 and 9.
|
|
60
62
|
|
|
61
63
|
Supported Commands
|
|
62
64
|
------------------
|
|
@@ -132,4 +134,4 @@ Copyright and License
|
|
|
132
134
|
|
|
133
135
|
MIT License, see [LICENSE](http://github.com/mongoid/mongoid-shell/raw/master/LICENSE.md) for details.
|
|
134
136
|
|
|
135
|
-
(c) 2013-
|
|
137
|
+
(c) 2013-2026 [Daniel Doubrovkine](http://github.com/dblock), [Artsy Inc.](http://artsy.net)
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module Mongoid
|
|
2
4
|
module Shell
|
|
3
5
|
module Commands
|
|
@@ -6,6 +8,7 @@ module Mongoid
|
|
|
6
8
|
|
|
7
9
|
class << self
|
|
8
10
|
attr_accessor :args
|
|
11
|
+
|
|
9
12
|
@args = {}
|
|
10
13
|
|
|
11
14
|
def inherit_args(args)
|
|
@@ -22,12 +25,12 @@ module Mongoid
|
|
|
22
25
|
end
|
|
23
26
|
|
|
24
27
|
def arg(name, options = {})
|
|
25
|
-
attr_accessor name unless
|
|
28
|
+
attr_accessor name unless method_defined?(name)
|
|
26
29
|
args[name] = { property: name }.merge(options)
|
|
27
30
|
end
|
|
28
31
|
|
|
29
32
|
def option(name, options = {})
|
|
30
|
-
attr_accessor name unless
|
|
33
|
+
attr_accessor name unless method_defined?(name)
|
|
31
34
|
args[name] = { key: "--#{name}", property: name }.merge(options)
|
|
32
35
|
end
|
|
33
36
|
end
|
|
@@ -47,11 +50,12 @@ module Mongoid
|
|
|
47
50
|
|
|
48
51
|
def vargs(options = {})
|
|
49
52
|
mask_sensitive = options[:mask_sensitive]
|
|
50
|
-
mask_sensitive = '********' if mask_sensitive
|
|
53
|
+
mask_sensitive = '********' if mask_sensitive.is_a?(TrueClass)
|
|
51
54
|
self.class.args.values.map do |arg|
|
|
52
55
|
key = arg[:key]
|
|
53
56
|
value = send(arg[:property])
|
|
54
57
|
next unless value
|
|
58
|
+
|
|
55
59
|
case value
|
|
56
60
|
when Boolean, TrueClass then key
|
|
57
61
|
when Array then value.map { |v| "#{key} #{v}" }.join(' ')
|
|
@@ -61,7 +65,7 @@ module Mongoid
|
|
|
61
65
|
else
|
|
62
66
|
# TODO: quote other special characters?
|
|
63
67
|
value = value.to_s
|
|
64
|
-
value =
|
|
68
|
+
value = "\"#{value}\"" if value.include? ' '
|
|
65
69
|
end
|
|
66
70
|
key ? "#{key} #{value}" : value
|
|
67
71
|
end
|
|
@@ -74,13 +78,13 @@ module Mongoid
|
|
|
74
78
|
|
|
75
79
|
private
|
|
76
80
|
|
|
77
|
-
if ::Mongoid::Compatibility::Version.
|
|
81
|
+
if ::Mongoid::Compatibility::Version.mongoid5_or_newer?
|
|
78
82
|
def default_client_or_session
|
|
79
|
-
Mongoid.
|
|
83
|
+
Mongoid.default_client
|
|
80
84
|
end
|
|
81
85
|
else
|
|
82
86
|
def default_client_or_session
|
|
83
|
-
Mongoid.
|
|
87
|
+
Mongoid.default_session
|
|
84
88
|
end
|
|
85
89
|
end
|
|
86
90
|
end
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module Mongoid
|
|
2
4
|
module Shell
|
|
3
5
|
module Errors
|
|
@@ -21,13 +23,13 @@ module Mongoid
|
|
|
21
23
|
@resolution = create_resolution(key, attributes)
|
|
22
24
|
|
|
23
25
|
"\nProblem:\n #{@problem}" \
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
"\nSummary:\n #{@summary}" \
|
|
27
|
+
"\nResolution:\n #{@resolution}"
|
|
26
28
|
end
|
|
27
29
|
|
|
28
30
|
private
|
|
29
31
|
|
|
30
|
-
BASE_KEY = 'mongoid.shell.errors.messages'
|
|
32
|
+
BASE_KEY = 'mongoid.shell.errors.messages' # :nodoc:
|
|
31
33
|
|
|
32
34
|
# Given the key of the specific error and the options hash, translate the
|
|
33
35
|
# message.
|
|
@@ -38,7 +40,7 @@ module Mongoid
|
|
|
38
40
|
#
|
|
39
41
|
# Returns a localized error message string.
|
|
40
42
|
def translate(key, options)
|
|
41
|
-
::I18n.translate("#{BASE_KEY}.#{key}",
|
|
43
|
+
::I18n.translate("#{BASE_KEY}.#{key}", locale: :en, **options).strip
|
|
42
44
|
end
|
|
43
45
|
|
|
44
46
|
# Create the problem.
|
data/lib/mongoid/shell/errors.rb
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module Mongoid
|
|
2
4
|
module Shell
|
|
3
5
|
module Properties
|
|
@@ -5,7 +7,10 @@ module Mongoid
|
|
|
5
7
|
attr_accessor :authenticationDatabase
|
|
6
8
|
|
|
7
9
|
def authenticationDatabase
|
|
8
|
-
@authenticationDatabase ||
|
|
10
|
+
@authenticationDatabase || begin
|
|
11
|
+
auth_source = session.options['auth_source']
|
|
12
|
+
auth_source unless auth_source == db
|
|
13
|
+
end
|
|
9
14
|
end
|
|
10
15
|
end
|
|
11
16
|
end
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module Mongoid
|
|
2
4
|
module Shell
|
|
3
5
|
module Properties
|
|
@@ -10,6 +12,7 @@ module Mongoid
|
|
|
10
12
|
@host || begin
|
|
11
13
|
node = session.cluster.nodes.first
|
|
12
14
|
raise Mongoid::Shell::Errors::SessionNotConnectedError unless node
|
|
15
|
+
|
|
13
16
|
node.address == 'localhost:27017' ? nil : node.address
|
|
14
17
|
end
|
|
15
18
|
end
|
|
@@ -18,6 +21,7 @@ module Mongoid
|
|
|
18
21
|
@host || begin
|
|
19
22
|
node = session.cluster.nodes.first
|
|
20
23
|
raise Mongoid::Shell::Errors::SessionNotConnectedError unless node
|
|
24
|
+
|
|
21
25
|
node.address.original == 'localhost:27017' ? nil : node.address.original
|
|
22
26
|
end
|
|
23
27
|
end
|
|
@@ -26,6 +30,7 @@ module Mongoid
|
|
|
26
30
|
@host || begin
|
|
27
31
|
node = session.cluster.servers.first
|
|
28
32
|
raise Mongoid::Shell::Errors::SessionNotConnectedError unless node
|
|
33
|
+
|
|
29
34
|
node.address.to_s == 'localhost:27017' ? nil : node.address.to_s
|
|
30
35
|
end
|
|
31
36
|
end
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module Mongoid
|
|
2
4
|
module Shell
|
|
3
5
|
module Properties
|
|
@@ -8,7 +10,8 @@ module Mongoid
|
|
|
8
10
|
if ::Mongoid::Compatibility::Version.mongoid3?
|
|
9
11
|
def password
|
|
10
12
|
@password || begin
|
|
11
|
-
return nil unless session.context.cluster.auth
|
|
13
|
+
return nil unless session.context.cluster.auth&.first
|
|
14
|
+
|
|
12
15
|
session.context.cluster.auth.first[1][1]
|
|
13
16
|
end
|
|
14
17
|
end
|
|
@@ -18,18 +21,13 @@ module Mongoid
|
|
|
18
21
|
node = session.cluster.nodes.first
|
|
19
22
|
raise Mongoid::Shell::Errors::SessionNotConnectedError unless node
|
|
20
23
|
return nil if !node.credentials.key?(db) || node.credentials[db].empty?
|
|
24
|
+
|
|
21
25
|
node.credentials[db][1]
|
|
22
26
|
end
|
|
23
27
|
end
|
|
24
28
|
else
|
|
25
29
|
def password
|
|
26
|
-
@password ||
|
|
27
|
-
server = session.cluster.servers.first
|
|
28
|
-
raise Mongoid::Shell::Errors::SessionNotConnectedError unless server
|
|
29
|
-
server.context.with_connection do |connection|
|
|
30
|
-
connection.options[:password]
|
|
31
|
-
end
|
|
32
|
-
end
|
|
30
|
+
@password || session.options[:password]
|
|
33
31
|
end
|
|
34
32
|
end
|
|
35
33
|
end
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module Mongoid
|
|
2
4
|
module Shell
|
|
3
5
|
module Properties
|
|
@@ -9,8 +11,10 @@ module Mongoid
|
|
|
9
11
|
def primary
|
|
10
12
|
@primary || begin
|
|
11
13
|
raise Mongoid::Shell::Errors::SessionNotConnectedError unless session.cluster.nodes.any?
|
|
14
|
+
|
|
12
15
|
node = session.cluster.nodes.find(&:primary?)
|
|
13
16
|
raise Mongoid::Shell::Errors::MissingPrimaryNodeError unless node
|
|
17
|
+
|
|
14
18
|
node.address == 'localhost:27017' ? nil : node.address
|
|
15
19
|
end
|
|
16
20
|
end
|
|
@@ -18,8 +22,10 @@ module Mongoid
|
|
|
18
22
|
def primary
|
|
19
23
|
@primary || begin
|
|
20
24
|
raise Mongoid::Shell::Errors::SessionNotConnectedError unless session.cluster.nodes.any?
|
|
25
|
+
|
|
21
26
|
node = session.cluster.nodes.find(&:primary?)
|
|
22
27
|
raise Mongoid::Shell::Errors::MissingPrimaryNodeError unless node
|
|
28
|
+
|
|
23
29
|
node.address.original == 'localhost:27017' ? nil : node.address.original
|
|
24
30
|
end
|
|
25
31
|
end
|
|
@@ -27,8 +33,10 @@ module Mongoid
|
|
|
27
33
|
def primary
|
|
28
34
|
@primary || begin
|
|
29
35
|
raise Mongoid::Shell::Errors::SessionNotConnectedError unless session.cluster.servers.any?
|
|
36
|
+
|
|
30
37
|
node = session.cluster.servers.find { |server| server.primary? || server.standalone? }
|
|
31
38
|
raise Mongoid::Shell::Errors::MissingPrimaryNodeError unless node
|
|
39
|
+
|
|
32
40
|
node.address.to_s == 'localhost:27017' ? nil : node.address.to_s
|
|
33
41
|
end
|
|
34
42
|
end
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module Mongoid
|
|
2
4
|
module Shell
|
|
3
5
|
module Properties
|
|
@@ -8,7 +10,8 @@ module Mongoid
|
|
|
8
10
|
if ::Mongoid::Compatibility::Version.mongoid3?
|
|
9
11
|
def username
|
|
10
12
|
@username || begin
|
|
11
|
-
return nil unless session.context.cluster.auth
|
|
13
|
+
return nil unless session.context.cluster.auth&.first
|
|
14
|
+
|
|
12
15
|
session.context.cluster.auth.first[1][0]
|
|
13
16
|
end
|
|
14
17
|
end
|
|
@@ -18,18 +21,13 @@ module Mongoid
|
|
|
18
21
|
node = session.cluster.nodes.first
|
|
19
22
|
raise Mongoid::Shell::Errors::SessionNotConnectedError unless node
|
|
20
23
|
return nil if !node.credentials.key?(db) || node.credentials[db].empty?
|
|
24
|
+
|
|
21
25
|
node.credentials[db][0]
|
|
22
26
|
end
|
|
23
27
|
end
|
|
24
28
|
else
|
|
25
29
|
def username
|
|
26
|
-
@username ||
|
|
27
|
-
server = session.cluster.servers.first
|
|
28
|
-
raise Mongoid::Shell::Errors::SessionNotConnectedError unless server
|
|
29
|
-
server.context.with_connection do |connection|
|
|
30
|
-
connection.options[:user]
|
|
31
|
-
end
|
|
32
|
-
end
|
|
30
|
+
@username || session.options[:user]
|
|
33
31
|
end
|
|
34
32
|
end
|
|
35
33
|
end
|
data/lib/mongoid-shell.rb
CHANGED
data/lib/mongoid_shell.rb
CHANGED
metadata
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mongoid-shell
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Doubrovkine
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-10-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: i18n
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: '0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
28
|
+
name: mongoid
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
33
|
+
version: 3.0.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
40
|
+
version: 3.0.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: mongoid-compatibility
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
|
-
description:
|
|
55
|
+
description:
|
|
56
56
|
email: dblock@dblock.org
|
|
57
57
|
executables: []
|
|
58
58
|
extensions: []
|
|
@@ -89,8 +89,9 @@ files:
|
|
|
89
89
|
homepage: http://github.com/mongoid/mongoid-shell
|
|
90
90
|
licenses:
|
|
91
91
|
- MIT
|
|
92
|
-
metadata:
|
|
93
|
-
|
|
92
|
+
metadata:
|
|
93
|
+
rubygems_mfa_required: 'true'
|
|
94
|
+
post_install_message:
|
|
94
95
|
rdoc_options: []
|
|
95
96
|
require_paths:
|
|
96
97
|
- lib
|
|
@@ -105,9 +106,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
105
106
|
- !ruby/object:Gem::Version
|
|
106
107
|
version: 1.3.6
|
|
107
108
|
requirements: []
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
signing_key:
|
|
109
|
+
rubygems_version: 3.5.16
|
|
110
|
+
signing_key:
|
|
111
111
|
specification_version: 4
|
|
112
112
|
summary: Derive shell commands from Mongoid configuration options.
|
|
113
113
|
test_files: []
|