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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a13b4114c22201264c9bde0633450c9bad26ee70f8ed5acc8f94d7d25f48ea58
4
- data.tar.gz: ee00431eae93b15f67401babadf010c576a7a81b2307c961e6024066380aa717
3
+ metadata.gz: d8880a61459d0f5dec955a97b90f921b374b23476c01913a65986956abcdbe1d
4
+ data.tar.gz: 18e91a08edd239e935d5c2f689b9245d9ce1c974e17b9ab398292d778ffec121
5
5
  SHA512:
6
- metadata.gz: 2c2564c1544fac454b9d1c9ad686a874a3f84ac50be31a2d55531a1a21805447fc09648b28911b16a9b18235b181a7f3c79c384176f96209228197737a47cbae
7
- data.tar.gz: 21cecbf33d42790a81affb72f8b8aba6f8125739e60416594ad97662d0c42804adc61a35c61d4ff42622ab7eb353e07abc06387985627e3442c8c764a5b75694
6
+ metadata.gz: 223c54af48a4cb382f786dbacd996c1c1764e25f5ba98bc02603caa82df32c94d0cbfa316d7765cf1d4763d9bc7d3bfaf9da3e118ed139d0ef375738046e07fc
7
+ data.tar.gz: 0e09f5a45012efbe908daae140e8f2a200254bd523b51f5fa3e62a71acd66be8d69dc278a9298a123787663a6ceda3aad41aa1867d918d0eceae536527b6e729
@@ -1,9 +1,9 @@
1
1
  sudo: true
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3
5
- - 2.4
6
- - 2.5
4
+ - 2.4.5
5
+ - 2.5.3
6
+ - 2.6.0
7
7
  cache:
8
8
  - bundler
9
9
  - apt
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/winebarrel/gratan.svg?branch=master)](https://travis-ci.org/winebarrel/gratan)
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
- - `GRATAN_DB_USER`: database user
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['GRATAN_DB_PASSWORD']
28
+ mysql_options[:database] = ENV['GRATAN_DB_DATABASE'] if ENV['GRATAN_DB_DATABASE']
29
29
 
30
30
  options = {
31
31
  :dry_run => false,
@@ -26,5 +26,4 @@ Gem::Specification.new do |spec|
26
26
  spec.add_development_dependency 'rake', '~> 10.0'
27
27
  spec.add_development_dependency 'rspec', '>= 3.0.0'
28
28
  spec.add_development_dependency 'timecop'
29
- spec.add_development_dependency 'coveralls'
30
29
  end
@@ -1,3 +1,3 @@
1
1
  module Gratan
2
- VERSION = '0.3.1.beta4'
2
+ VERSION = '0.3.1'
3
3
  end
@@ -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.beta4
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: 2018-11-09 00:00:00.000000000 Z
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: 1.3.1
209
+ version: '0'
224
210
  requirements: []
225
211
  rubyforge_project:
226
212
  rubygems_version: 2.7.6