gemika 0.6.1 → 0.7.0

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: 3c7ab1dd1d59d375e354fb1f813fc99a4069c4ca6bdf9809b9dde265dd3a6303
4
- data.tar.gz: 4c939b12f8e97fab3dc3b9167755ad3c75515c336350e2e9b290f242db7306fe
3
+ metadata.gz: f5738e95e2a60c2d8770b3e2c9c1af954fc9907fa08052881f4907ab92ab6486
4
+ data.tar.gz: d7a393eb17698030280a0de6a1f54339c58e7ed0102c622e3bcf41d84d240f3a
5
5
  SHA512:
6
- metadata.gz: bcc629b0f418542484818474228f7c3df7a146bfb00d470f2a46a58fcfb64393d775a57a3b3da7e9bed602c7af17dcc7cac5e84fc3dbdb0cd5dee1471e787bcf
7
- data.tar.gz: 03a1396b343eb55039ed22d62744cef219be934d946dc02a83912c7117a40a0b0e8e049675d87f98286a07ac34b589af6c4db2792a4493dcbc7872e0573a4a4c
6
+ metadata.gz: 89340ce5602cd4b6321f774f99112230954d4eaa7eabdea7e1bb5f8c3441dda4feb5db9d29b1c921a07432c98b601f843e1b813e62ff5a620c0c0f3b8b5c3935
7
+ data.tar.gz: 70999ba66ef99d68eda7b1d5c800343c0c7ad2b1139386509c1d9d43f32847db50334695a1138244b2c67d573bb75470b387f8cbf979c88051bf9b0e346ff6d2
@@ -23,13 +23,7 @@ jobs:
23
23
  fail-fast: false
24
24
  matrix:
25
25
  include:
26
- - ruby: 2.3.8
27
- gemfile: Gemfile.3.2.mysql2
28
- - ruby: 2.3.8
29
- gemfile: Gemfile.4.2.mysql2
30
- - ruby: 2.3.8
31
- gemfile: Gemfile.4.2.mysql2
32
- - ruby: 2.3.8
26
+ - ruby: 2.5.3
33
27
  gemfile: Gemfile.5.2.mysql2
34
28
  env:
35
29
  BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
@@ -41,7 +35,6 @@ jobs:
41
35
  ruby-version: "${{ matrix.ruby }}"
42
36
  - name: Setup database
43
37
  run: |
44
- sudo apt-get install -y mysql-client libmariadbclient-dev
45
38
  mysql -e 'create database IF NOT EXISTS test;' -u root --password=password -P 3306 -h 127.0.0.1
46
39
  - name: Bundle
47
40
  run: |
@@ -64,14 +57,18 @@ jobs:
64
57
  fail-fast: false
65
58
  matrix:
66
59
  include:
67
- - ruby: 2.3.8
68
- gemfile: Gemfile.4.2.pg
69
- - ruby: 2.3.8
60
+ - ruby: 2.5.3
70
61
  gemfile: Gemfile.5.2.pg
71
- - ruby: 2.6.4
62
+ - ruby: 2.6.7
72
63
  gemfile: Gemfile.6.1.pg
73
- - ruby: 3.0.1
64
+ - ruby: 2.7.3
74
65
  gemfile: Gemfile.6.1.pg
66
+ - ruby: 2.7.3
67
+ gemfile: Gemfile.7.0.pg
68
+ - ruby: 3.0.3
69
+ gemfile: Gemfile.6.1.pg
70
+ - ruby: 3.0.3
71
+ gemfile: Gemfile.7.0.pg
75
72
  env:
76
73
  BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
77
74
  steps:
@@ -82,6 +79,7 @@ jobs:
82
79
  ruby-version: "${{ matrix.ruby }}"
83
80
  - name: Setup database
84
81
  run: |
82
+ sudo apt-get update
85
83
  sudo apt-get install -y postgresql-client
86
84
  PGPASSWORD=postgres psql -c 'create database test;' -U postgres -p 5432 -h localhost
87
85
  - name: Bundle
@@ -96,7 +94,7 @@ jobs:
96
94
  fail-fast: false
97
95
  matrix:
98
96
  include:
99
- - ruby: 2.3.8
97
+ - ruby: 2.5.3
100
98
  gemfile: Gemfile.5.2.sqlite3
101
99
  env:
102
100
  BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.4
1
+ 3.0.3
data/CHANGELOG.md CHANGED
@@ -7,11 +7,22 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
7
7
 
8
8
  ### Breaking changes
9
9
 
10
- -
10
+ - Remove no longer supported ruby versions (2.3.8)
11
11
 
12
12
  ### Compatible changes
13
13
 
14
- -
14
+ - test against ActiveRecord 7.0
15
+
16
+ ## 0.7.0 - 2022-01-19
17
+
18
+ ### Breaking changes
19
+
20
+ - Remove no longer supported ruby versions (2.3.8)
21
+
22
+ ### Compatible changes
23
+
24
+ - test against ActiveRecord 7.0
25
+ - add support for rbenv aliases
15
26
 
16
27
  ## 0.6.1 - 2021-04-20
17
28
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gemika (0.6.1)
4
+ gemika (0.7.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Gemfile.5.2.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gemika (0.6.1)
4
+ gemika (0.7.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gemika (0.6.1)
4
+ gemika (0.7.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Gemfile.6.1.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gemika (0.6.1)
4
+ gemika (0.7.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,11 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Ruby
4
- ruby '>= 1.9.3'
4
+ ruby '>= 2.2'
5
5
 
6
6
  # Runtime dependencies
7
- gem 'activerecord', '~>4.2.1'
8
- gem 'rspec', '~>3.4'
7
+ gem 'activerecord', '~> 7.0.0'
8
+ gem 'rspec', '~>3.5'
9
9
  gem 'pg'
10
10
 
11
11
  # Development dependencies
@@ -15,5 +15,3 @@ gem 'pry'
15
15
 
16
16
  # Gem under test
17
17
  gem 'gemika', :path => '.'
18
-
19
- ruby '>= 1.9.3'
@@ -0,0 +1,64 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ gemika (0.7.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ activemodel (7.0.0)
10
+ activesupport (= 7.0.0)
11
+ activerecord (7.0.0)
12
+ activemodel (= 7.0.0)
13
+ activesupport (= 7.0.0)
14
+ activesupport (7.0.0)
15
+ concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ i18n (>= 1.6, < 2)
17
+ minitest (>= 5.1)
18
+ tzinfo (~> 2.0)
19
+ coderay (1.1.2)
20
+ concurrent-ruby (1.1.9)
21
+ database_cleaner (1.7.0)
22
+ diff-lcs (1.3)
23
+ i18n (1.8.11)
24
+ concurrent-ruby (~> 1.0)
25
+ method_source (0.9.2)
26
+ minitest (5.15.0)
27
+ pg (1.2.3)
28
+ pry (0.12.2)
29
+ coderay (~> 1.1.0)
30
+ method_source (~> 0.9.0)
31
+ rake (12.3.3)
32
+ rspec (3.8.0)
33
+ rspec-core (~> 3.8.0)
34
+ rspec-expectations (~> 3.8.0)
35
+ rspec-mocks (~> 3.8.0)
36
+ rspec-core (3.8.2)
37
+ rspec-support (~> 3.8.0)
38
+ rspec-expectations (3.8.4)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.8.0)
41
+ rspec-mocks (3.8.1)
42
+ diff-lcs (>= 1.2.0, < 2.0)
43
+ rspec-support (~> 3.8.0)
44
+ rspec-support (3.8.2)
45
+ tzinfo (2.0.4)
46
+ concurrent-ruby (~> 1.0)
47
+
48
+ PLATFORMS
49
+ ruby
50
+
51
+ DEPENDENCIES
52
+ activerecord (~> 7.0.0)
53
+ database_cleaner
54
+ gemika!
55
+ pg
56
+ pry
57
+ rake
58
+ rspec (~> 3.5)
59
+
60
+ RUBY VERSION
61
+ ruby 2.2.4p230
62
+
63
+ BUNDLED WITH
64
+ 2.2.15
data/README.md CHANGED
@@ -30,7 +30,7 @@ Gemika currently supports the following dependency versions:
30
30
 
31
31
  - Ruby: 2.3, 2.6, 3.0
32
32
  - RSpec: Versions 1, 2, 3
33
- - ActiveRecord: Versions 3.2, 4.2, 5.2, 6.1
33
+ - ActiveRecord: Versions 3.2, 4.2, 5.2, 6.1, 7.0
34
34
  - Databases: PostgreSQL (with `pg` gem), MySQL or MariaDB (with `mysql2` gem), or sqlite3 (with `sqlite3` gem)
35
35
 
36
36
  Gemika also makes some assumption about your Gem:
data/lib/gemika/matrix.rb CHANGED
@@ -22,6 +22,11 @@ module Gemika
22
22
  #
23
23
  attr_reader :ruby
24
24
 
25
+ ##
26
+ # The actually used Ruby version for the row.
27
+ #
28
+ attr_reader :used_ruby
29
+
25
30
  ##
26
31
  # The path to the gemfile for the row.
27
32
  #
@@ -31,7 +36,9 @@ module Gemika
31
36
  # Returns whether this row can be run with the given Ruby version.
32
37
  #
33
38
  def compatible_with_ruby?(current_ruby = Env.ruby)
34
- ruby == current_ruby
39
+ @used_ruby = aliased_ruby(ruby)
40
+
41
+ @used_ruby == current_ruby
35
42
  end
36
43
 
37
44
  ##
@@ -45,6 +52,53 @@ module Gemika
45
52
  contents.include?('gemika') or raise UnusableGemfile, "Gemfile is missing gemika dependency: #{gemfile}"
46
53
  end
47
54
 
55
+ private
56
+
57
+ ##
58
+ # Checks if the requested ruby version is aliased by rbenv to use another ruby version.
59
+ # Returns the runnable ruby version.
60
+ #
61
+ def aliased_ruby(requested_version)
62
+ ruby_aliases = rbenv_aliases
63
+
64
+ aliased_versions = {}
65
+
66
+ ruby_aliases.split("\n").each do |ruby_alias|
67
+ split_pattern = /\A(.+) => (.+)\z/
68
+ alias_name, aliased_version = ruby_alias.match(split_pattern)&.captures
69
+ aliased_versions[alias_name] = aliased_version
70
+ end
71
+
72
+ find_aliased_ruby(requested_version, aliased_versions)
73
+ end
74
+
75
+ ##
76
+ # Recursively traverses aliases until the requested Ruby version is found.
77
+ # Returns the requested version if no alias can be found for that version.
78
+ #
79
+ def find_aliased_ruby(requested_version, aliased_versions)
80
+ found_version = aliased_versions[requested_version]
81
+
82
+ if found_version == requested_version
83
+ found_version
84
+ elsif found_version
85
+ find_aliased_ruby(found_version, aliased_versions)
86
+ else
87
+ requested_version
88
+ end
89
+ end
90
+
91
+ ##
92
+ # Returns the list of rbenv aliases, if rbenv is installed.
93
+ #
94
+ def rbenv_aliases
95
+ if `which rbenv` != ''
96
+ `rbenv alias --list`
97
+ else
98
+ ''
99
+ end
100
+ end
101
+
48
102
  end
49
103
 
50
104
  COLOR_HEAD = "\e[44;97m"
@@ -64,6 +118,7 @@ module Gemika
64
118
  @compatible_count = 0
65
119
  @all_passed = nil
66
120
  @current_ruby = options.fetch(:current_ruby, RUBY_VERSION)
121
+ @aliased_rubys = {}
67
122
  end
68
123
 
69
124
  ##
@@ -79,6 +134,9 @@ module Gemika
79
134
  gemfile = row.gemfile
80
135
  if row.compatible_with_ruby?(current_ruby)
81
136
  @compatible_count += 1
137
+
138
+ @aliased_rubys[current_ruby] = row.ruby
139
+
82
140
  print_title gemfile
83
141
  gemfile_passed = Env.with_gemfile(gemfile, row, &block)
84
142
  @all_passed &= gemfile_passed
@@ -178,19 +236,27 @@ module Gemika
178
236
  puts
179
237
 
180
238
  if @compatible_count == 0
181
- message = "No gemfiles were compatible with Ruby #{RUBY_VERSION}"
239
+ message = "No gemfiles were compatible with Ruby #{@aliased_rubys[RUBY_VERSION]}"
182
240
  puts tint(message, COLOR_FAILURE)
183
- puts
184
241
  raise UnsupportedRuby, message
185
242
  elsif @all_passed
186
- puts tint("All gemfiles succeeded for Ruby #{RUBY_VERSION}", COLOR_SUCCESS)
187
- puts
243
+ puts tint("All gemfiles succeeded for Ruby #{@aliased_rubys[RUBY_VERSION]}", COLOR_SUCCESS)
188
244
  else
189
245
  message = 'Some gemfiles failed'
190
246
  puts tint(message, COLOR_FAILURE)
191
247
  puts
192
248
  raise MatrixFailed, message
193
249
  end
250
+
251
+ print_aliases
252
+
253
+ puts
254
+ end
255
+
256
+ def print_aliases
257
+ @aliased_rubys.select { |used_version, alias_name| used_version != alias_name }.each do |used_version, alias_name|
258
+ puts tint("Ruby #{alias_name} is an alias for Ruby #{used_version} in this environment.", COLOR_WARNING)
259
+ end
194
260
  end
195
261
 
196
262
  end
@@ -1,3 +1,3 @@
1
1
  module Gemika
2
- VERSION = '0.6.1'
2
+ VERSION = '0.7.0'
3
3
  end
@@ -0,0 +1,62 @@
1
+ require 'spec_helper'
2
+
3
+ describe Gemika::Matrix::Row do
4
+
5
+ let(:subject) { described_class.new(ruby: '3.0.3', gemfile: nil) }
6
+
7
+ describe '#compatible_with_ruby?' do
8
+ context 'when no rbenv alias is present' do
9
+ before { expect(subject).to receive(:rbenv_aliases).and_return('') }
10
+
11
+ context 'when the requested ruby version is the current ruby version' do
12
+ it 'returns true' do
13
+ expect(subject.compatible_with_ruby?('3.0.3')).to eq(true)
14
+ end
15
+ end
16
+
17
+ context 'when the requested ruby version is not the current ruby version' do
18
+ it 'returns false' do
19
+ expect(subject.compatible_with_ruby?('2.5.7')).to eq(false)
20
+ end
21
+ end
22
+ end
23
+
24
+ context 'when an rbenv alias is present' do
25
+ context 'when the current ruby version is an rbenv alias of the requested version' do
26
+ before { expect(subject).to receive(:rbenv_aliases).and_return('3.0.3 => 3.0.1') }
27
+
28
+ it 'returns true and stores that alias in the @used_ruby variable' do
29
+ expect(subject.compatible_with_ruby?('3.0.1')).to eq(true)
30
+ expect(subject.used_ruby).to eq('3.0.1')
31
+ expect(subject.ruby).to eq('3.0.3')
32
+ end
33
+ end
34
+
35
+ context 'when the requested ruby version is not aliased by rbenv' do
36
+ before { expect(subject).to receive(:rbenv_aliases).and_return('3.0.0 => 3.0.1') }
37
+
38
+ it 'returns true when the requested ruby version is the current ruby version' do
39
+ expect(subject.compatible_with_ruby?('3.0.3')).to eq(true)
40
+ expect(subject.used_ruby).to eq('3.0.3')
41
+ expect(subject.ruby).to eq('3.0.3')
42
+ end
43
+
44
+ it 'returns false when the requested ruby version is not the current ruby version' do
45
+ expect(subject.compatible_with_ruby?('3.0.4')).to eq(false)
46
+ expect(subject.used_ruby).to eq('3.0.3')
47
+ expect(subject.ruby).to eq('3.0.3')
48
+ end
49
+ end
50
+ end
51
+
52
+ context 'when multiple rbenv aliases chained result in aliasing the requested ruby version' do
53
+ before { expect(subject).to receive(:rbenv_aliases).and_return("3.0.3 => 3.0.2\n3.0.2 => 3.0.1\n3.0.1 => 3.0.0") }
54
+
55
+ it 'returns true' do
56
+ expect(subject.compatible_with_ruby?('3.0.0')).to eq(true)
57
+ end
58
+ end
59
+
60
+ end
61
+
62
+ end
data/spec/spec_helper.rb CHANGED
@@ -4,7 +4,11 @@ require 'active_record'
4
4
  require 'gemika'
5
5
  require 'pry'
6
6
 
7
- ActiveRecord::Base.default_timezone = :local
7
+ if Gemika::Env.gem?('activerecord', '>= 7.0')
8
+ ActiveRecord.default_timezone = :local
9
+ else
10
+ ActiveRecord::Base.default_timezone = :local
11
+ end
8
12
 
9
13
  Dir["#{File.dirname(__FILE__)}/support/*.rb"].sort.each {|f| require f}
10
14
  Dir["#{File.dirname(__FILE__)}/shared_examples/*.rb"].sort.each {|f| require f}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemika
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-29 00:00:00.000000000 Z
11
+ date: 2022-01-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Helpers for testing Ruby gems
14
14
  email: henning.koch@makandra.de
@@ -22,12 +22,6 @@ files:
22
22
  - ".ruby-version"
23
23
  - ".yardopts"
24
24
  - CHANGELOG.md
25
- - Gemfile.3.2.mysql2
26
- - Gemfile.3.2.mysql2.lock
27
- - Gemfile.4.2.mysql2
28
- - Gemfile.4.2.mysql2.lock
29
- - Gemfile.4.2.pg
30
- - Gemfile.4.2.pg.lock
31
25
  - Gemfile.5.2.mysql2
32
26
  - Gemfile.5.2.mysql2.lock
33
27
  - Gemfile.5.2.pg
@@ -36,6 +30,8 @@ files:
36
30
  - Gemfile.5.2.sqlite3.lock
37
31
  - Gemfile.6.1.pg
38
32
  - Gemfile.6.1.pg.lock
33
+ - Gemfile.7.0.pg
34
+ - Gemfile.7.0.pg.lock
39
35
  - LICENSE
40
36
  - README.md
41
37
  - Rakefile
@@ -75,6 +71,7 @@ files:
75
71
  - spec/fixtures/travis_yml/two_by_two.yml
76
72
  - spec/gemika/database_spec.rb
77
73
  - spec/gemika/env_spec.rb
74
+ - spec/gemika/matrix/row_spec.rb
78
75
  - spec/gemika/matrix_spec.rb
79
76
  - spec/gemika/rspec_spec.rb
80
77
  - spec/spec_helper.rb
@@ -101,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
98
  - !ruby/object:Gem::Version
102
99
  version: '0'
103
100
  requirements: []
104
- rubygems_version: 3.0.3
101
+ rubygems_version: 3.2.32
105
102
  signing_key:
106
103
  specification_version: 4
107
104
  summary: Helpers for testing Ruby gems
data/Gemfile.3.2.mysql2 DELETED
@@ -1,18 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Ruby
4
- ruby '< 2.4'
5
-
6
- # Runtime dependencies
7
- gem 'activerecord', '=3.2.22'
8
- gem 'rspec', '~> 3.4'
9
- gem 'mysql2', git: 'https://github.com/makandra/mysql2', branch: '0.3.x-lts'
10
- gem 'i18n', '=0.6.11' # 0.7 no longer builds for Ruby 1.8.7
11
-
12
- # Development dependencies
13
- gem 'rake', '=10.0.4'
14
- gem 'database_cleaner', '~>1.0.0'
15
- gem 'pry'
16
-
17
- # Gem under test
18
- gem 'gemika', :path => '.'
@@ -1,73 +0,0 @@
1
- GIT
2
- remote: https://github.com/makandra/mysql2
3
- revision: c920d41e43c4722d4c065d2ea9d21494c560bd85
4
- branch: 0.3.x-lts
5
- specs:
6
- mysql2 (0.3.21)
7
-
8
- PATH
9
- remote: .
10
- specs:
11
- gemika (0.6.1)
12
-
13
- GEM
14
- remote: https://rubygems.org/
15
- specs:
16
- activemodel (3.2.22)
17
- activesupport (= 3.2.22)
18
- builder (~> 3.0.0)
19
- activerecord (3.2.22)
20
- activemodel (= 3.2.22)
21
- activesupport (= 3.2.22)
22
- arel (~> 3.0.2)
23
- tzinfo (~> 0.3.29)
24
- activesupport (3.2.22)
25
- i18n (~> 0.6, >= 0.6.4)
26
- multi_json (~> 1.0)
27
- arel (3.0.3)
28
- builder (3.0.4)
29
- coderay (1.1.2)
30
- database_cleaner (1.0.1)
31
- diff-lcs (1.2.5)
32
- i18n (0.6.11)
33
- method_source (0.9.2)
34
- multi_json (1.12.1)
35
- pry (0.9.12.6)
36
- coderay (~> 1.0)
37
- method_source (~> 0.8)
38
- slop (~> 3.4)
39
- rake (10.0.4)
40
- rspec (3.5.0)
41
- rspec-core (~> 3.5.0)
42
- rspec-expectations (~> 3.5.0)
43
- rspec-mocks (~> 3.5.0)
44
- rspec-core (3.5.3)
45
- rspec-support (~> 3.5.0)
46
- rspec-expectations (3.5.0)
47
- diff-lcs (>= 1.2.0, < 2.0)
48
- rspec-support (~> 3.5.0)
49
- rspec-mocks (3.5.0)
50
- diff-lcs (>= 1.2.0, < 2.0)
51
- rspec-support (~> 3.5.0)
52
- rspec-support (3.5.0)
53
- slop (3.6.0)
54
- tzinfo (0.3.51)
55
-
56
- PLATFORMS
57
- ruby
58
-
59
- DEPENDENCIES
60
- activerecord (= 3.2.22)
61
- database_cleaner (~> 1.0.0)
62
- gemika!
63
- i18n (= 0.6.11)
64
- mysql2!
65
- pry
66
- rake (= 10.0.4)
67
- rspec (~> 3.4)
68
-
69
- RUBY VERSION
70
- ruby 1.8.7p375
71
-
72
- BUNDLED WITH
73
- 2.2.15
data/Gemfile.4.2.mysql2 DELETED
@@ -1,17 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Ruby
4
- ruby '>= 1.9.3'
5
-
6
- # Runtime dependencies
7
- gem 'activerecord', '~>4.2.1'
8
- gem 'rspec', '~>3.4'
9
- gem 'mysql2', '~>0.4.10'
10
-
11
- # Development dependencies
12
- gem 'rake'
13
- gem 'database_cleaner'
14
- gem 'pry'
15
-
16
- # Gem under test
17
- gem 'gemika', :path => '.'
@@ -1,69 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- gemika (0.6.1)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- activemodel (4.2.7.1)
10
- activesupport (= 4.2.7.1)
11
- builder (~> 3.1)
12
- activerecord (4.2.7.1)
13
- activemodel (= 4.2.7.1)
14
- activesupport (= 4.2.7.1)
15
- arel (~> 6.0)
16
- activesupport (4.2.7.1)
17
- i18n (~> 0.7)
18
- json (~> 1.7, >= 1.7.7)
19
- minitest (~> 5.1)
20
- thread_safe (~> 0.3, >= 0.3.4)
21
- tzinfo (~> 1.1)
22
- arel (6.0.3)
23
- builder (3.2.2)
24
- coderay (1.1.2)
25
- database_cleaner (1.5.3)
26
- diff-lcs (1.2.5)
27
- i18n (0.7.0)
28
- json (1.8.3)
29
- method_source (0.9.2)
30
- minitest (5.9.0)
31
- mysql2 (0.4.10)
32
- pry (0.12.2)
33
- coderay (~> 1.1.0)
34
- method_source (~> 0.9.0)
35
- rake (11.3.0)
36
- rspec (3.5.0)
37
- rspec-core (~> 3.5.0)
38
- rspec-expectations (~> 3.5.0)
39
- rspec-mocks (~> 3.5.0)
40
- rspec-core (3.5.3)
41
- rspec-support (~> 3.5.0)
42
- rspec-expectations (3.5.0)
43
- diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.5.0)
45
- rspec-mocks (3.5.0)
46
- diff-lcs (>= 1.2.0, < 2.0)
47
- rspec-support (~> 3.5.0)
48
- rspec-support (3.5.0)
49
- thread_safe (0.3.5)
50
- tzinfo (1.2.2)
51
- thread_safe (~> 0.1)
52
-
53
- PLATFORMS
54
- ruby
55
-
56
- DEPENDENCIES
57
- activerecord (~> 4.2.1)
58
- database_cleaner
59
- gemika!
60
- mysql2 (~> 0.4.10)
61
- pry
62
- rake
63
- rspec (~> 3.4)
64
-
65
- RUBY VERSION
66
- ruby 2.2.4p230
67
-
68
- BUNDLED WITH
69
- 2.2.15
data/Gemfile.4.2.pg.lock DELETED
@@ -1,69 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- gemika (0.6.1)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- activemodel (4.2.7.1)
10
- activesupport (= 4.2.7.1)
11
- builder (~> 3.1)
12
- activerecord (4.2.7.1)
13
- activemodel (= 4.2.7.1)
14
- activesupport (= 4.2.7.1)
15
- arel (~> 6.0)
16
- activesupport (4.2.7.1)
17
- i18n (~> 0.7)
18
- json (~> 1.7, >= 1.7.7)
19
- minitest (~> 5.1)
20
- thread_safe (~> 0.3, >= 0.3.4)
21
- tzinfo (~> 1.1)
22
- arel (6.0.3)
23
- builder (3.2.2)
24
- coderay (1.1.2)
25
- database_cleaner (1.5.3)
26
- diff-lcs (1.2.5)
27
- i18n (0.7.0)
28
- json (1.8.3)
29
- method_source (0.9.2)
30
- minitest (5.9.0)
31
- pg (0.19.0)
32
- pry (0.12.2)
33
- coderay (~> 1.1.0)
34
- method_source (~> 0.9.0)
35
- rake (11.3.0)
36
- rspec (3.5.0)
37
- rspec-core (~> 3.5.0)
38
- rspec-expectations (~> 3.5.0)
39
- rspec-mocks (~> 3.5.0)
40
- rspec-core (3.5.3)
41
- rspec-support (~> 3.5.0)
42
- rspec-expectations (3.5.0)
43
- diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.5.0)
45
- rspec-mocks (3.5.0)
46
- diff-lcs (>= 1.2.0, < 2.0)
47
- rspec-support (~> 3.5.0)
48
- rspec-support (3.5.0)
49
- thread_safe (0.3.5)
50
- tzinfo (1.2.2)
51
- thread_safe (~> 0.1)
52
-
53
- PLATFORMS
54
- ruby
55
-
56
- DEPENDENCIES
57
- activerecord (~> 4.2.1)
58
- database_cleaner
59
- gemika!
60
- pg
61
- pry
62
- rake
63
- rspec (~> 3.4)
64
-
65
- RUBY VERSION
66
- ruby 2.3.1p112
67
-
68
- BUNDLED WITH
69
- 2.2.15