evrone-ci-build_configuration 0.2.0.pre25 → 0.2.0.pre26
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37300d05658d0e3f0b65a0e23afa7b3f50390663
|
4
|
+
data.tar.gz: a382ade1863b459de60c5f7afab6f2e20382550b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2f42d871576b0e5ce352b0029bd05040ee7aff17e88dabe41c7602a35a98b35e64aceadc8861841f8a5461a3bb037a5a33d8b2c623f891ee59a202a5ac5b324
|
7
|
+
data.tar.gz: 8b5d059f7c468c51e3c2127545c7c89d1f09df0c03f0e71b74ae8aed7a6a5b371908e744a76b6a29c3ea73394562a642fde4d4af2176212ef266b4ebf7beb89c
|
@@ -0,0 +1,14 @@
|
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- "2.0.0"
|
4
|
+
|
5
|
+
env:
|
6
|
+
- DB=postgresql
|
7
|
+
|
8
|
+
before_script:
|
9
|
+
- cp config/samples/secret_token.rb config/initializers/secret_token.rb
|
10
|
+
- cp config/database.travis.yml config/database.yml
|
11
|
+
- bundle exec rake db:setup
|
12
|
+
|
13
|
+
script:
|
14
|
+
- bundle exec rake
|
data/spec/lib/matrix_spec.rb
CHANGED
@@ -52,6 +52,18 @@ describe Evrone::CI::BuildConfiguration::Matrix do
|
|
52
52
|
)}
|
53
53
|
end
|
54
54
|
|
55
|
+
context "with one env and one rvm key" do
|
56
|
+
let(:config) { Evrone::CI::BuildConfiguration.from_file fixture_path("travis_bug_1.yml") }
|
57
|
+
|
58
|
+
it{ should have(1).item }
|
59
|
+
|
60
|
+
context "attributes" do
|
61
|
+
subject { matrix.configurations.map(&:to_matrix_s) }
|
62
|
+
|
63
|
+
it { should eq ["env:DB=postgresql, rvm:2.0.0"] }
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
55
67
|
context "values" do
|
56
68
|
|
57
69
|
it { should have(12).items }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evrone-ci-build_configuration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.
|
4
|
+
version: 0.2.0.pre26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Galinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,6 +86,7 @@ files:
|
|
86
86
|
- lib/evrone/ci/build_configuration/serializable.rb
|
87
87
|
- lib/evrone/ci/build_configuration/version.rb
|
88
88
|
- spec/fixtures/travis.yml
|
89
|
+
- spec/fixtures/travis_bug_1.yml
|
89
90
|
- spec/lib/build_configuration_spec.rb
|
90
91
|
- spec/lib/matrix_spec.rb
|
91
92
|
- spec/spec_helper.rb
|
@@ -116,6 +117,7 @@ specification_version: 4
|
|
116
117
|
summary: summary
|
117
118
|
test_files:
|
118
119
|
- spec/fixtures/travis.yml
|
120
|
+
- spec/fixtures/travis_bug_1.yml
|
119
121
|
- spec/lib/build_configuration_spec.rb
|
120
122
|
- spec/lib/matrix_spec.rb
|
121
123
|
- spec/spec_helper.rb
|