Skip to content

Commit

Permalink
Merge 12b6ec9 into 612e3fb
Browse files Browse the repository at this point in the history
  • Loading branch information
alfa-jpn committed Jun 11, 2019
2 parents 612e3fb + 12b6ec9 commit c14c8c0
Show file tree
Hide file tree
Showing 7 changed files with 110 additions and 7 deletions.
26 changes: 26 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Temporary files.
*.gem
*.rbc
.bundle
.config
.yardoc
InstalledFiles

# Temporary directories.
pkg/
tmp/
temp/
vendor/bundle/

# Test result files.
spec/reports
test/tmp
test/version_tmp
coverage/
.rspec_status

# Document files.
rdoc
_yardoc
doc
lib/bundler/man
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
.bundle
.config
.yardoc
Gemfile.lock
InstalledFiles

# Temporary directories.
Expand Down
3 changes: 0 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,3 @@ Metrics/LineLength:

Metrics/MethodLength:
Max: 25

Performance/TimesMap:
Enabled: false
80 changes: 80 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
PATH
remote: .
specs:
mysql2-aurora (0.5.2.1)
mysql2 (~> 0.5.2)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.0)
coderay (1.1.2)
coveralls (0.8.23)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
term-ansicolor (~> 1.3)
thor (>= 0.19.4, < 2.0)
tins (~> 1.6)
diff-lcs (1.3)
docile (1.3.1)
jaro_winkler (1.5.2)
json (2.2.0)
method_source (0.9.2)
mysql2 (0.5.2)
parallel (1.17.0)
parser (2.6.3.0)
ast (~> 2.4.0)
pry (0.12.2)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
rainbow (3.0.0)
rake (10.5.0)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.0)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.4)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.2)
rubocop (0.71.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.6)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
ruby-progressbar (1.10.1)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
term-ansicolor (1.7.1)
tins (~> 1.0)
thor (0.20.3)
tins (1.20.3)
unicode-display_width (1.6.0)
yard (0.9.19)

PLATFORMS
ruby

DEPENDENCIES
bundler (>= 1.16)
coveralls (~> 0.8)
mysql2-aurora!
pry (~> 0.12)
rake (~> 10.0)
rspec (~> 3.0)
rubocop (~> 0.62)
simplecov (~> 0.16)
yard (~> 0.9)

BUNDLED WITH
1.17.2
2 changes: 1 addition & 1 deletion lib/mysql2/aurora/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module Aurora
# Major Version: Support `mysql2` major version.
# Minor Version: Support `mysql2` minor version.
# Tiny Version: Mysql2::Aurora version.
VERSION = '0.5.2'.freeze
VERSION = '0.5.2.1'.freeze
end
end
5 changes: 3 additions & 2 deletions spec/mysql2/aurora_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
end

it 'Valid version' do
expect(subject.split('.').size).to eq(3)
expect(subject.split('.').size).to be >= 3
expect(subject.split('.')[0]).to eq(Mysql2::VERSION.split('.')[0])
expect(subject.split('.')[1]).to eq(Mysql2::VERSION.split('.')[1])
expect(subject.split('.')[2]).to match(/^\d+$/)
expect(subject.split('.')[2]).to eq(Mysql2::VERSION.split('.')[2])
expect(subject.split('.')[3]).to match(/^(\d+|)$/)
end
end

Expand Down
Empty file added vendor/.keep
Empty file.

0 comments on commit c14c8c0

Please sign in to comment.