lalala 4.0.0.dev.46 → 4.0.0.dev.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lalala/utils/intall_template.rb +6 -7
- data/lib/lalala/version.rb +1 -1
- data/script/ci +11 -30
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34fc1e87c660f9e8552d085eaef0011998c25b22
|
4
|
+
data.tar.gz: 88bcc61a4969106b60ee5b825d756309a8820777
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49434b8e34b7f5b06a1cfe36eeab5de4b4dc53551ba5325a389b2b1147ac5a847850afddc998285676629618f6e2477a7808953d08f0166209d41ba11f0c23d5
|
7
|
+
data.tar.gz: a88615c311c5ba20c575311595b19ad335a65c0b74e0e4703c68478de2e8260727aaf545520762f8e4372f1d22fd70e57b4197ac090f17543efc071ecd935163
|
@@ -2,7 +2,8 @@ class AppBuilder < Rails::AppBuilder
|
|
2
2
|
include Thor::Actions
|
3
3
|
include Thor::Shell
|
4
4
|
|
5
|
-
RUBY_VERSION
|
5
|
+
RUBY_VERSION = "2.0.0"
|
6
|
+
LALALA_VERSION = "4.0.0.dev"
|
6
7
|
|
7
8
|
def gemfile
|
8
9
|
create_file 'Gemfile', <<-DOC
|
@@ -10,12 +11,10 @@ source 'https://rubygems.org'
|
|
10
11
|
|
11
12
|
ruby "#{RUBY_VERSION}"
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
gem 'lalala-test', groups: [:test]
|
18
|
-
end
|
14
|
+
gem 'lalala', "~> #{LALALA_VERSION}"
|
15
|
+
gem 'lalala-development', "~> #{LALALA_VERSION}", groups: [:development]
|
16
|
+
gem 'lalala-assets', "~> #{LALALA_VERSION}", groups: [:development, :assets]
|
17
|
+
gem 'lalala-test', "~> #{LALALA_VERSION}", groups: [:test]
|
19
18
|
DOC
|
20
19
|
end
|
21
20
|
|
data/lib/lalala/version.rb
CHANGED
data/script/ci
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
#!/usr/bin/env bash
|
2
2
|
|
3
3
|
set -e
|
4
|
+
set -o pipefail
|
4
5
|
|
5
6
|
yellow='\033[0;33m'
|
6
7
|
green='\033[0;32m'
|
@@ -30,14 +31,10 @@ function cleanup {
|
|
30
31
|
trap cleanup EXIT
|
31
32
|
|
32
33
|
announce "${yellow}" "Create the postgres databases"
|
33
|
-
|
34
|
-
psql -c 'CREATE DATABASE lalala_test' -U postgres
|
35
|
-
} | indent
|
34
|
+
psql -c 'CREATE DATABASE lalala_test' -U postgres | indent
|
36
35
|
|
37
36
|
announce "${yellow}" "Run the tests"
|
38
|
-
|
39
|
-
rake
|
40
|
-
} | indent
|
37
|
+
rake | indent
|
41
38
|
|
42
39
|
# Are we allowed to push gems?
|
43
40
|
if [[ "$TRAVIS_SECURE_ENV_VARS" == "true" && "$TRAVIS_PULL_REQUEST" == "false" ]]
|
@@ -61,24 +58,16 @@ then
|
|
61
58
|
|
62
59
|
|
63
60
|
step "${yellow}" "Building lalala"
|
64
|
-
|
65
|
-
rake lalala:build
|
66
|
-
} | indent
|
61
|
+
rake lalala:build | indent
|
67
62
|
|
68
63
|
step "${yellow}" "Building lalala-assets"
|
69
|
-
|
70
|
-
rake lalala-assets:build
|
71
|
-
} | indent
|
64
|
+
rake lalala-assets:build | indent
|
72
65
|
|
73
66
|
step "${yellow}" "Building lalala-development"
|
74
|
-
|
75
|
-
rake lalala-development:build
|
76
|
-
} | indent
|
67
|
+
rake lalala-development:build | indent
|
77
68
|
|
78
69
|
step "${yellow}" "Building lalala-test"
|
79
|
-
|
80
|
-
rake lalala-test:build
|
81
|
-
} | indent
|
70
|
+
rake lalala-test:build | indent
|
82
71
|
|
83
72
|
|
84
73
|
announce "${yellow}" "Release development gems"
|
@@ -88,24 +77,16 @@ then
|
|
88
77
|
chmod 0600 "$HOME/.gem/credentials"
|
89
78
|
|
90
79
|
step "${yellow}" "Releasing lalala"
|
91
|
-
|
92
|
-
gem push pkg/lalala-[0-9]*.gem
|
93
|
-
} | indent
|
80
|
+
gem push pkg/lalala-[0-9]*.gem | indent
|
94
81
|
|
95
82
|
step "${yellow}" "Releasing lalala-assets"
|
96
|
-
|
97
|
-
gem push pkg/lalala-assets-[0-9]*.gem
|
98
|
-
} | indent
|
83
|
+
gem push pkg/lalala-assets-[0-9]*.gem | indent
|
99
84
|
|
100
85
|
step "${yellow}" "Releasing lalala-development"
|
101
|
-
|
102
|
-
gem push pkg/lalala-development-[0-9]*.gem
|
103
|
-
} | indent
|
86
|
+
gem push pkg/lalala-development-[0-9]*.gem | indent
|
104
87
|
|
105
88
|
step "${yellow}" "Releasing lalala-test"
|
106
|
-
|
107
|
-
gem push pkg/lalala-test-[0-9]*.gem
|
108
|
-
} | indent
|
89
|
+
gem push pkg/lalala-test-[0-9]*.gem | indent
|
109
90
|
|
110
91
|
|
111
92
|
fi
|