infrataster-plugin-mysql 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/infrataster-plugin-mysql.gemspec +2 -2
- data/lib/infrataster-plugin-mysql.rb +1 -1
- data/lib/infrataster/helpers/mysql_resource_helper.rb +12 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5a4288520b4b2b337c312caa515c813380028cb
|
4
|
+
data.tar.gz: a3349cb14b78bb88e4b3eaf74da4e690ec5410a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d282daef434f0011296e06116dc06012d0aca2c7ccb10075bdbbe2153ce0854b903ede1af6498a8aaaf05b404a4220a2937bdf45abaf18e7ad155dd26593eb4
|
7
|
+
data.tar.gz: f989282816c82bf5dfe068f556d34bb58e617b2a8d259fc76452c6032be316b47460f537754ddc546bb900d34955761c61d66787d4d2f2df1f814f927d9e162f
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# infrataster-plugin-mysql
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/infrataster-plugin-mysql.png)](http://badge.fury.io/rb/infrataster-plugin-mysql)
|
2
3
|
|
3
4
|
MySQL plugin for [Infrataster](https://github.com/ryotarai/infrataster)
|
4
5
|
|
@@ -21,7 +22,7 @@ describe server(:db) do
|
|
21
22
|
row = results.find {|r| r['Variable_name'] == 'Uptime' }
|
22
23
|
expect(row['Value'].to_i).to be > 0
|
23
24
|
|
24
|
-
# `results` is
|
25
|
+
# `results` is an instance of `Mysql2::Result`
|
25
26
|
# See: https://github.com/brianmario/mysql2
|
26
27
|
end
|
27
28
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "infrataster-plugin-mysql"
|
4
|
-
spec.version = '0.1.
|
4
|
+
spec.version = '0.1.2'
|
5
5
|
spec.authors = ["Ryota Arai"]
|
6
6
|
spec.email = ["ryota.arai@gmail.com"]
|
7
7
|
spec.summary = %q{MySQL plugin for Infrataster}
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
14
14
|
spec.require_paths = ["lib"]
|
15
15
|
|
16
|
-
spec.add_runtime_dependency "infrataster", "~> 0.
|
16
|
+
spec.add_runtime_dependency "infrataster", "~> 0.2.6"
|
17
17
|
spec.add_runtime_dependency "mysql2"
|
18
18
|
|
19
19
|
spec.add_development_dependency "bundler", "~> 1.6"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infrataster-plugin-mysql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Arai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: infrataster
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.2.6
|
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: 0.
|
26
|
+
version: 0.2.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mysql2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,6 +96,7 @@ files:
|
|
96
96
|
- infrataster-plugin-mysql.gemspec
|
97
97
|
- lib/infrataster-plugin-mysql.rb
|
98
98
|
- lib/infrataster/contexts/mysql_query_context.rb
|
99
|
+
- lib/infrataster/helpers/mysql_resource_helper.rb
|
99
100
|
- lib/infrataster/resources/mysql_query_resource.rb
|
100
101
|
- spec/.gitignore
|
101
102
|
- spec/Vagrantfile
|
@@ -124,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
125
|
version: '0'
|
125
126
|
requirements: []
|
126
127
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.
|
128
|
+
rubygems_version: 2.4.5
|
128
129
|
signing_key:
|
129
130
|
specification_version: 4
|
130
131
|
summary: MySQL plugin for Infrataster
|