lynx 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of lynx might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07ad240edf3b7fc6dcb2c5d1cbab2e5dbfc57d70
4
- data.tar.gz: 053fb2aae52646fac82ec5d57928f5861bf4c054
3
+ metadata.gz: 67f5f66d6e860d5b4507ca96b0389150261aa7a8
4
+ data.tar.gz: 084f1d6ca4667f218a3f1b8c6ff44536beb19f34
5
5
  SHA512:
6
- metadata.gz: 9e634deda6e69aea2d02ffd07c713787979b1b7641f8e7e5da7ff29bcb251d1057ec4e92aa42f6d371161cd26bf4a408a106da88372af8c8ec716be042a56607
7
- data.tar.gz: e08cf96f1de1cc92972d412c44e011927640599c3ad878e5651b2b5d11581429f13494f23bb00250d3f95f3c3436600e7db70f372fec56b3312ceeb04812e8e1
6
+ metadata.gz: b6c9c0c0188d2974d8687e6d0fea4c1ed6d23ad55f1c677fd847cc62f4f87e37a1b5efd290a8dd5f7c606d5a32b90f794c94fa62389283b055df74c46082a28e
7
+ data.tar.gz: cae0c92870352a87ccb5b1a5f553fe8aacd5264f075563b8ea07cdba96c93fe6972b47309628cb91e18d25fee5bd02ec9af3c640ac9d1f1cb96338e56f4ebd0d
@@ -3,5 +3,6 @@ script: "bundle exec rake"
3
3
  rvm:
4
4
  - 1.9.3
5
5
  - 2.0.0
6
- - 2.1.0
7
- - 2.2.0
6
+ - 2.1.8
7
+ - 2.2.5
8
+ - 2.3.1
data/CHANGES.md CHANGED
@@ -1,3 +1,10 @@
1
+ # master (unreleased)
2
+
3
+ # 0.4.0
4
+
5
+ * Added `#option` method to commands for custom options. (panthomakos)
6
+ * Added `#complete_insert` method to dump command for `--complete-insert` `mysqldump` option. (panthomakos)
7
+
1
8
  # 0.3.0
2
9
 
3
10
  * Added `Lynx::popen` pipe. (jakeokt)
@@ -21,6 +21,12 @@ module Lynx
21
21
  @command = []
22
22
  end
23
23
 
24
+ def option(option)
25
+ @command << option
26
+
27
+ self
28
+ end
29
+
24
30
  def authorize
25
31
  @command << "--user=#{config.username}" if config.username
26
32
  @command << "--password=#{config.password}" if config.password
@@ -13,6 +13,7 @@ module Lynx
13
13
  end
14
14
 
15
15
  instruct(:where){ |c,condition| "--where='#{condition}'" }
16
+ instruct(:complete_insert){ '--complete-insert' }
16
17
 
17
18
  def with_database
18
19
  @database = @config.database
@@ -1,3 +1,3 @@
1
1
  module Lynx
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lynx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pan Thomakos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-18 00:00:00.000000000 Z
11
+ date: 2016-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
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: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
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: :development
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
  description: Ruby command line wrapper for MySQL.
@@ -45,8 +45,8 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .gitignore
49
- - .travis.yml
48
+ - ".gitignore"
49
+ - ".travis.yml"
50
50
  - CHANGES.md
51
51
  - Gemfile
52
52
  - LICENSE.txt
@@ -86,17 +86,17 @@ require_paths:
86
86
  - lib
87
87
  required_ruby_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - '>='
89
+ - - ">="
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  requirements: []
98
98
  rubyforge_project:
99
- rubygems_version: 2.0.14
99
+ rubygems_version: 2.4.5.1
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Ruby command line wrapper for MySQL.