mongoid-shell 0.4.2 → 0.4.3

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: f779020213e6c178fe2dec0cbb030d209d2c5b47
4
- data.tar.gz: 46bd9d546b657ad4188123f8c5727206858afe18
3
+ metadata.gz: d887432b9233aaa4510a98f1631ca56b7a466cf7
4
+ data.tar.gz: ea103a0606457f484259e86086b405ed28a28933
5
5
  SHA512:
6
- metadata.gz: 21e8d86a04a5006b89b8c4eee444ae17b0b3cd69d5cdf7b1b31a7f36ca6909b8ecdb408f29ae4d38fee00135aa25fc8764dcb071abff0f0b5d101ea69e4d6c5b
7
- data.tar.gz: 2fb0094bb3496331d8969fe8d9bf99adbfb2399f62a51e060b095c85385cd11c07a51c1a5e3381c403edf922c9242cacb097a469dc3a7d47408e64b06d248966
6
+ metadata.gz: 686e4a170c33c96aa19e97046efac84fa9ca7ca48b6b19c25f3d4058ac61835a2ffeed93742ff1e480651a5337367d372c37b69fb207381ce10b9c4a51f359c1
7
+ data.tar.gz: 5809448c083a0decfa5cb92c7bfaa8c49ae9642654f8a486fc9244a121721b440767ee635bc4c48a23e48182f2a84a3996fcab827cb243516390d00d30310d2e
@@ -1,7 +1,12 @@
1
+ 0.4.3 (6/1/2016)
2
+ ================
3
+
4
+ * [#9](https://github.com/dblock/mongoid-shell/pull/9) - Remove example and spec alleging that `--collection` can be specified multiple times - [@joeyAghion](https://github.com/joeyAghion).
5
+
1
6
  0.4.2 (2/9/2015)
2
7
  ================
3
8
 
4
- * [#8](https://github.com/dblock/mongoid-shell/pull/7) - Support repeatable parameters; add `excludeCollection` and `excludeCollectionsWithPrefix` to `mongodump` - [@joeyAghion](https://github.com/joeyAghion).
9
+ * [#8](https://github.com/dblock/mongoid-shell/pull/8) - Support repeatable parameters; add `excludeCollection` and `excludeCollectionsWithPrefix` to `mongodump` - [@joeyAghion](https://github.com/joeyAghion).
5
10
 
6
11
  0.4.1 (10/25/2015)
7
12
  ==================
data/README.md CHANGED
@@ -39,8 +39,8 @@ system mongodump.to_s # mongodump --db another_database --out /tmp/db_backup
39
39
  To specify parameters multiple times, set them to arrays.
40
40
 
41
41
  ``` ruby
42
- mongodump = Mongoid::Shell::Commands::Mongodump.new(collection: %w(users products))
43
- system mongodump.to_s # mongodump --collection users --collection products
42
+ mongodump = Mongoid::Shell::Commands::Mongodump.new(excludeCollection: %w(users products))
43
+ system mongodump.to_s # mongodump --excludeCollection users --excludeCollection products
44
44
  ```
45
45
 
46
46
 
@@ -67,7 +67,7 @@ Supports `--username`, `--password`, `--eval`, `--nodb`, `--norc`, `--quiet` and
67
67
  Mongodump is a utility for creating a binary export of the contents of a database.
68
68
 
69
69
  ``` ruby
70
- mongodump = Mongoid::Shell::Commands::Mongodump.new({ collection: 'test' })
70
+ mongodump = Mongoid::Shell::Commands::Mongodump.new(collection: 'test')
71
71
  mongodump.to_s # mongodump --db test --collection test
72
72
  ```
73
73
 
@@ -78,7 +78,7 @@ The `Mongoid::Shell::Commands::Mongodump` class supports `--db`, `--host`, `--us
78
78
  The mongorestore tool imports content from binary database dump, created by mongodump into a specific database.
79
79
 
80
80
  ``` ruby
81
- mongorestore = Mongoid::Shell::Commands::Mongorestore.new({ collection: 'test', restore: '/tmp/db_backup' })
81
+ mongorestore = Mongoid::Shell::Commands::Mongorestore.new(collection: 'test', restore: '/tmp/db_backup')
82
82
  mongorestore.to_s # mongorestore --db test --collection test /tmp/db_backup
83
83
  ```
84
84
 
@@ -89,11 +89,11 @@ The `Mongoid::Shell::Commands::Mongorestore` class supports `--db`, `--host`, `-
89
89
  The mongoexport tool produces a JSON or CSV export of data stored in a MongoDB instance.
90
90
 
91
91
  ``` ruby
92
- mongoexport = Mongoid::Shell::Commands::Mongoexport.new({ collection: 'traffic', out: 'traffic.json' })
92
+ mongoexport = Mongoid::Shell::Commands::Mongoexport.new(collection: 'traffic', out: 'traffic.json')
93
93
  mongoexport.to_s # mongoexport --db test --collection traffic --out traffic.json
94
94
  ```
95
95
 
96
- The `Mongoid::Shell::Commands::Mongoexport` class supports '--verbose', '--quiet', '--version', '--port', '--ipv6', '--ssl', '--sslCAFile', '--sslPEMKeyFile', '--sslPEMKeyPassword', '--sslCRLFile', '--sslAllowInvalidCertificates', '--sslAllowInvalidHostnames', '--sslFIPSMode', '--authenticationDatabase', '--authenticationMechanism', '--gssapiServiceName', '--gssapiHostName', '--collection', '--fields', '--fieldFile', '--query', '--csv', '--type', '--out', '--jsonArray', '--pretty', '--slaveOk', '--forceTableScan', '--skip', '--limit', '--sort', '--directoryperdb', '--journal', '--dbpath'.
96
+ The `Mongoid::Shell::Commands::Mongoexport` class supports `--verbose`, `--quiet`, `--version`, `--port`, `--ipv6`, `--ssl`, `--sslCAFile`, `--sslPEMKeyFile`, `--sslPEMKeyPassword`, `--sslCRLFile`, `--sslAllowInvalidCertificates`, `--sslAllowInvalidHostnames`, `--sslFIPSMode`, `--authenticationDatabase`, `--authenticationMechanism`, `--gssapiServiceName`, `--gssapiHostName`, `--collection`, `--fields`, `--fieldFile`, `--query`, `--csv`, `--type`, `--out`, `--jsonArray`, `--pretty`, `--slaveOk`, `--forceTableScan`, `--skip`, `--limit`, `--sort`, `--directoryperdb`, `--journal`, `--dbpath`.
97
97
 
98
98
  ### Mongoimport
99
99
 
@@ -101,11 +101,11 @@ The mongoimport tool imports content from an Extended JSON, CSV, or TSV export c
101
101
 
102
102
 
103
103
  ``` ruby
104
- mongoimport = Mongoid::Shell::Commands::Mongoimport.new({ collection: 'contacts', file: 'contacts.json' })
104
+ mongoimport = Mongoid::Shell::Commands::Mongoimport.new(collection: 'contacts', file: 'contacts.json')
105
105
  mongoimport.to_s # mongoimport --db test --collection contacts --file contacts.json
106
106
  ```
107
107
 
108
- The `Mongoid::Shell::Commands::Mongoimport` class supports '--verbose', '--quiet', '--version', '--host', '--username', '--password', '--port', '--ipv6', '--ssl', '--sslCAFile', '--sslPEMKeyFile', '--sslPEMKeyPassword', '--sslCRLFile', '--sslAllowInvalidCertificates', '--sslAllowInvalidHostnames', '--sslFIPSMode', '--authenticationDatabase', '--authenticationMechanism', '--gssapiServiceName', '--gssapiHostName', '--db', '--collection', '--fields', '--directoryperdb', '--journal', '--dbpath', '--fieldFile', '--ignoreBlanks', '--type', '--file', '--drop', '--headerline', '--upsert', '--upsertFields', '--stopOnError', '--jsonArray', '--maintainInsertionOrder', '--numInsertionWorkers', '--writeConcern'
108
+ The `Mongoid::Shell::Commands::Mongoimport` class supports `--verbose`, `--quiet`, `--version`, `--host`, `--username`, `--password`, `--port`, `--ipv6`, `--ssl`, `--sslCAFile`, `--sslPEMKeyFile`, `--sslPEMKeyPassword`, `--sslCRLFile`, `--sslAllowInvalidCertificates`, `--sslAllowInvalidHostnames`, `--sslFIPSMode`, `--authenticationDatabase`, `--authenticationMechanism`, `--gssapiServiceName`, `--gssapiHostName`, `--db`, `--collection`, `--fields`, `--directoryperdb`, `--journal`, `--dbpath`, `--fieldFile`, `--ignoreBlanks`, `--type`, `--file`, `--drop`, `--headerline`, `--upsert`, `--upsertFields`, `--stopOnError`, `--jsonArray`, `--maintainInsertionOrder`, `--numInsertionWorkers`, `--writeConcern`.
109
109
 
110
110
  ### Mongostat
111
111
 
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Shell
3
- VERSION = '0.4.2'
3
+ VERSION = '0.4.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-shell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Doubrovkine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-09 00:00:00.000000000 Z
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.0.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
26
  version: 3.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: i18n
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '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
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mongoid-compatibility
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description:
@@ -94,17 +94,17 @@ require_paths:
94
94
  - lib
95
95
  required_ruby_version: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - '>='
97
+ - - ">="
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: 1.3.6
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.4.5
107
+ rubygems_version: 2.6.4
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Derive shell commands from Mongoid configuration options.