mongo-proxy 1.0.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82257f694a4c0d087fd02010aa37c2a160ef2cff
4
- data.tar.gz: c7fd83f1ba64daa944a0a55cbe462f5f30c8683f
3
+ metadata.gz: 83472ea1432390b60be935cabe0c63386340f9d1
4
+ data.tar.gz: 89eee1258205ac09019c40de5bfd747306e69dea
5
5
  SHA512:
6
- metadata.gz: ac74381e8f4d526f3a24441fb6a21c7a04eedd4473be89edf2f0aedcfb6e0f1accb5a0c5f1218f7ea39fda50b5eb3263067d9478e3d7bd03144e14d40fd08d7a
7
- data.tar.gz: 6afb35ffac434d0ab07dc444fc0930cec5a2e80814764ce618e1d59988ae4365688d6d20db1f3e4feb40232f211f5aa6966fbb12463d52ef5c6f7184b8ec0941
6
+ metadata.gz: 5d6e4bbf353fa7947a94a2816b4d0f1cd2b88018306f1d734e43aaaef48bccb9e02a9dd19118f10a1afcb2b616de0aabd953e000185c97baca1e5c0f628eccef
7
+ data.tar.gz: 56c3a0891698e92f7f635d088ad0c1b7186e9d1d5da1251bcdd3d82b2f47d8eadeef6d778556a000baed4dbf330b163b33d619e8f20160b6c90a169be60da5ec
data/README.md CHANGED
@@ -28,7 +28,7 @@ This will proxy local client connections to port 29017 to a running MongoDB serv
28
28
  ```
29
29
  > mongo --port 29017
30
30
  MongoDB shell version: 2.6.0
31
- connecting to: 127.0.0.1:27018/test
31
+ connecting to: 127.0.0.1:29017/test
32
32
  Server has startup warnings:
33
33
  Connected to proxy!
34
34
  ```
@@ -27,7 +27,7 @@ END
27
27
  opt :server_host, 'Set the backend hostname which we proxy.', :default => '127.0.0.1', :short => 'H'
28
28
  opt :server_port, 'Set the backend port which we proxy.', :default => 27017, :short => 'P'
29
29
  opt :read_only, 'Prevent any traffic that writes to the database.', :default => false
30
- opt :motd, 'Set a message-of-the-day to display to clients when they connect.', :default => nil
30
+ opt :motd, 'Set a message-of-the-day to display to clients when they connect.', :default => nil, :type => String
31
31
  opt :verbose, 'Print out MongoDB wire traffic.', :default => true
32
32
  opt :debug, 'Print log lines in a more human-readible format.', :default => true
33
33
  end
@@ -10,7 +10,7 @@ require 'timeout'
10
10
  # parsing and filtering capabilities that allow you to enforce a read-only
11
11
  # mode, or use your own arbitrary logic.
12
12
  class MongoProxy
13
- VERSION = '1.0.0'
13
+ VERSION = '1.0.1'
14
14
 
15
15
  def initialize(config = nil)
16
16
  # default config values
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo-proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bakkum