gratan 0.3.1.beta4 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/README.md +2 -3
- data/bin/gratan +1 -1
- data/gratan.gemspec +0 -1
- data/lib/gratan/version.rb +1 -1
- data/spec/spec_helper.rb +0 -10
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8880a61459d0f5dec955a97b90f921b374b23476c01913a65986956abcdbe1d
|
4
|
+
data.tar.gz: 18e91a08edd239e935d5c2f689b9245d9ce1c974e17b9ab398292d778ffec121
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 223c54af48a4cb382f786dbacd996c1c1764e25f5ba98bc02603caa82df32c94d0cbfa316d7765cf1d4763d9bc7d3bfaf9da3e118ed139d0ef375738046e07fc
|
7
|
+
data.tar.gz: 0e09f5a45012efbe908daae140e8f2a200254bd523b51f5fa3e62a71acd66be8d69dc278a9298a123787663a6ceda3aad41aa1867d918d0eceae536527b6e729
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -5,8 +5,7 @@ Gratan is a tool to manage MySQL permissions.
|
|
5
5
|
It defines the state of MySQL permissions using Ruby DSL, and updates permissions according to DSL.
|
6
6
|
|
7
7
|
[![Gem Version](https://badge.fury.io/rb/gratan.svg)](http://badge.fury.io/rb/gratan)
|
8
|
-
[![Build Status](https://travis-ci.org/
|
9
|
-
[![Coverage Status](https://coveralls.io/repos/winebarrel/gratan/badge.svg?branch=master)](https://coveralls.io/r/winebarrel/gratan?branch=master)
|
8
|
+
[![Build Status](https://travis-ci.org/codenize-tools/gratan.svg?branch=master)](https://travis-ci.org/codenize-tools/gratan)
|
10
9
|
|
11
10
|
## Notice
|
12
11
|
|
@@ -80,7 +79,7 @@ A default connection to a database can be established by setting the following e
|
|
80
79
|
- `GRATAN_DB_PORT`: database port
|
81
80
|
- `GRATAN_DB_SOCKET`: database socket
|
82
81
|
- `GRATAN_DB_DATABASE`: database database name
|
83
|
-
- `
|
82
|
+
- `GRATAN_DB_USERNAME`: database user
|
84
83
|
- `GRATAN_DB_PASSWORD`: database password
|
85
84
|
|
86
85
|
## Grantfile example
|
data/bin/gratan
CHANGED
@@ -25,7 +25,7 @@ mysql_options = {
|
|
25
25
|
|
26
26
|
mysql_options[:socket] = ENV['GRATAN_DB_SOCKET'] if ENV['GRATAN_DB_SOCKET']
|
27
27
|
mysql_options[:password] = ENV['GRATAN_DB_PASSWORD'] if ENV['GRATAN_DB_PASSWORD']
|
28
|
-
mysql_options[:database] = ENV['GRATAN_DB_DATABASE'] if ENV['
|
28
|
+
mysql_options[:database] = ENV['GRATAN_DB_DATABASE'] if ENV['GRATAN_DB_DATABASE']
|
29
29
|
|
30
30
|
options = {
|
31
31
|
:dry_run => false,
|
data/gratan.gemspec
CHANGED
data/lib/gratan/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,15 +1,5 @@
|
|
1
1
|
$: << File.expand_path('..', __FILE__)
|
2
2
|
|
3
|
-
if ENV['TRAVIS']
|
4
|
-
require 'simplecov'
|
5
|
-
require 'coveralls'
|
6
|
-
|
7
|
-
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
8
|
-
SimpleCov.start do
|
9
|
-
add_filter "spec/"
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
3
|
require 'gratan'
|
14
4
|
require 'tempfile'
|
15
5
|
require 'timecop'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gratan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.1
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mysql2
|
@@ -122,20 +122,6 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: coveralls
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
125
|
description: Gratan is a tool to manage MySQL permissions using Ruby DSL.
|
140
126
|
email:
|
141
127
|
- sgwr_dts@yahoo.co.jp
|
@@ -218,9 +204,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
218
204
|
version: '0'
|
219
205
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
206
|
requirements:
|
221
|
-
- - "
|
207
|
+
- - ">="
|
222
208
|
- !ruby/object:Gem::Version
|
223
|
-
version:
|
209
|
+
version: '0'
|
224
210
|
requirements: []
|
225
211
|
rubyforge_project:
|
226
212
|
rubygems_version: 2.7.6
|