rain 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,9 +1,13 @@
1
1
  #!/usr/bin/env rake
2
+ #
3
+ # Development tasks
4
+
2
5
  begin
3
6
  require 'bundler/setup'
4
7
  rescue LoadError
5
8
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
9
  end
10
+
7
11
  begin
8
12
  require 'rdoc/task'
9
13
  rescue LoadError
@@ -12,6 +16,7 @@ rescue LoadError
12
16
  RDoc::Task = Rake::RDocTask
13
17
  end
14
18
 
19
+ # Documentation
15
20
  RDoc::Task.new(:rdoc) do |rdoc|
16
21
  rdoc.rdoc_dir = 'rdoc'
17
22
  rdoc.title = 'Rain'
@@ -20,9 +25,7 @@ RDoc::Task.new(:rdoc) do |rdoc|
20
25
  rdoc.rdoc_files.include('lib/**/*.rb')
21
26
  end
22
27
 
23
-
24
-
25
-
28
+ # Gem building
26
29
  Bundler::GemHelper.install_tasks
27
30
 
28
31
  require 'rake/testtask'
@@ -35,4 +38,4 @@ Rake::TestTask.new(:test) do |t|
35
38
  end
36
39
 
37
40
 
38
- task :default => :test
41
+ task :default => ['test', 'release']
@@ -0,0 +1,3 @@
1
+ ---
2
+ stage: rel_0.0.1
3
+ production: rel_0.0.1
@@ -1,3 +1,3 @@
1
1
  module Rain
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -4,6 +4,7 @@ development:
4
4
  pool: 5
5
5
  timeout: 5000
6
6
  user: rain
7
+ host: localhost
7
8
 
8
9
  test:
9
10
  adapter: postgresql
@@ -11,6 +12,7 @@ test:
11
12
  pool: 5
12
13
  timeout: 5000
13
14
  user: postgres
15
+ host: localhost
14
16
 
15
17
  production:
16
18
  adapter: postgresql
@@ -18,3 +20,4 @@ production:
18
20
  pool: 5
19
21
  timeout: 5000
20
22
  user: rain
23
+ host: localhost
@@ -0,0 +1,16 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 0) do
15
+
16
+ end
@@ -0,0 +1,16 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
4
+  (2.1ms) SELECT distinct i.relname, d.indisunique, d.indkey, pg_get_indexdef(d.indexrelid), t.oid
5
+ FROM pg_class t
6
+ INNER JOIN pg_index d ON t.oid = d.indrelid
7
+ INNER JOIN pg_class i ON d.indexrelid = i.oid
8
+ WHERE i.relkind = 'i'
9
+ AND d.indisprimary = 'f'
10
+ AND t.relname = 'schema_migrations'
11
+ AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = ANY (current_schemas(false)) )
12
+ ORDER BY i.relname
13
+
14
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15
+ Connecting to database specified by database.yml
16
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
@@ -0,0 +1,270 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+  (0.1ms) BEGIN
5
+  (0.4ms) ROLLBACK
6
+ Connecting to database specified by database.yml
7
+  (0.1ms) BEGIN
8
+  (0.7ms) ROLLBACK
9
+  (0.2ms) BEGIN
10
+  (0.2ms) ROLLBACK
11
+  (0.2ms) BEGIN
12
+  (0.2ms) ROLLBACK
13
+  (0.3ms) BEGIN
14
+  (0.3ms) ROLLBACK
15
+  (0.2ms) BEGIN
16
+  (0.3ms) ROLLBACK
17
+  (0.1ms) BEGIN
18
+  (0.4ms) ROLLBACK
19
+  (0.1ms) BEGIN
20
+  (0.2ms) ROLLBACK
21
+  (0.1ms) BEGIN
22
+  (0.2ms) ROLLBACK
23
+  (0.1ms) BEGIN
24
+  (0.2ms) ROLLBACK
25
+  (0.1ms) BEGIN
26
+  (0.4ms) ROLLBACK
27
+  (0.1ms) BEGIN
28
+  (0.3ms) ROLLBACK
29
+  (0.2ms) BEGIN
30
+  (0.2ms) ROLLBACK
31
+  (0.1ms) BEGIN
32
+  (0.2ms) ROLLBACK
33
+  (0.2ms) BEGIN
34
+  (0.3ms) ROLLBACK
35
+  (0.2ms) BEGIN
36
+  (0.2ms) ROLLBACK
37
+  (0.1ms) BEGIN
38
+  (0.2ms) ROLLBACK
39
+  (0.1ms) BEGIN
40
+  (0.3ms) ROLLBACK
41
+  (0.1ms) BEGIN
42
+  (0.3ms) ROLLBACK
43
+  (0.2ms) BEGIN
44
+  (0.2ms) ROLLBACK
45
+  (0.2ms) BEGIN
46
+  (0.2ms) ROLLBACK
47
+ Connecting to database specified by database.yml
48
+  (0.1ms) BEGIN
49
+  (0.3ms) ROLLBACK
50
+ Connecting to database specified by database.yml
51
+  (0.1ms) BEGIN
52
+  (0.5ms) ROLLBACK
53
+  (0.2ms) BEGIN
54
+  (0.2ms) ROLLBACK
55
+  (0.2ms) BEGIN
56
+  (0.2ms) ROLLBACK
57
+  (0.2ms) BEGIN
58
+  (0.2ms) ROLLBACK
59
+  (0.2ms) BEGIN
60
+  (0.2ms) ROLLBACK
61
+  (0.1ms) BEGIN
62
+  (0.3ms) ROLLBACK
63
+  (0.1ms) BEGIN
64
+  (0.3ms) ROLLBACK
65
+  (0.1ms) BEGIN
66
+  (0.2ms) ROLLBACK
67
+  (0.2ms) BEGIN
68
+  (0.2ms) ROLLBACK
69
+  (0.1ms) BEGIN
70
+  (0.4ms) ROLLBACK
71
+  (0.2ms) BEGIN
72
+  (0.3ms) ROLLBACK
73
+  (0.1ms) BEGIN
74
+  (0.3ms) ROLLBACK
75
+  (0.1ms) BEGIN
76
+  (0.2ms) ROLLBACK
77
+  (0.1ms) BEGIN
78
+  (0.2ms) ROLLBACK
79
+  (0.1ms) BEGIN
80
+  (0.2ms) ROLLBACK
81
+  (0.1ms) BEGIN
82
+  (0.2ms) ROLLBACK
83
+  (0.1ms) BEGIN
84
+  (0.3ms) ROLLBACK
85
+  (0.2ms) BEGIN
86
+  (0.2ms) ROLLBACK
87
+  (0.1ms) BEGIN
88
+  (0.2ms) ROLLBACK
89
+  (0.1ms) BEGIN
90
+  (0.3ms) ROLLBACK
91
+ Connecting to database specified by database.yml
92
+  (0.1ms) BEGIN
93
+  (0.6ms) ROLLBACK
94
+ Connecting to database specified by database.yml
95
+  (0.1ms) BEGIN
96
+  (0.2ms) ROLLBACK
97
+  (0.3ms) BEGIN
98
+  (0.2ms) ROLLBACK
99
+  (0.2ms) BEGIN
100
+  (0.2ms) ROLLBACK
101
+  (0.3ms) BEGIN
102
+  (0.2ms) ROLLBACK
103
+  (0.2ms) BEGIN
104
+  (0.2ms) ROLLBACK
105
+  (0.1ms) BEGIN
106
+  (0.6ms) ROLLBACK
107
+  (0.2ms) BEGIN
108
+  (0.4ms) ROLLBACK
109
+  (0.1ms) BEGIN
110
+  (0.2ms) ROLLBACK
111
+  (0.1ms) BEGIN
112
+  (0.2ms) ROLLBACK
113
+  (0.1ms) BEGIN
114
+  (0.3ms) ROLLBACK
115
+  (0.1ms) BEGIN
116
+  (0.3ms) ROLLBACK
117
+  (0.1ms) BEGIN
118
+  (0.3ms) ROLLBACK
119
+  (0.6ms) BEGIN
120
+  (0.2ms) ROLLBACK
121
+  (0.1ms) BEGIN
122
+  (0.2ms) ROLLBACK
123
+  (0.2ms) BEGIN
124
+  (0.2ms) ROLLBACK
125
+  (0.1ms) BEGIN
126
+  (0.3ms) ROLLBACK
127
+  (0.1ms) BEGIN
128
+  (0.2ms) ROLLBACK
129
+  (0.2ms) BEGIN
130
+  (0.2ms) ROLLBACK
131
+  (0.2ms) BEGIN
132
+  (0.3ms) ROLLBACK
133
+  (0.2ms) BEGIN
134
+  (0.3ms) ROLLBACK
135
+ Connecting to database specified by database.yml
136
+  (0.1ms) BEGIN
137
+  (0.2ms) ROLLBACK
138
+  (0.1ms) BEGIN
139
+  (0.2ms) ROLLBACK
140
+  (0.3ms) BEGIN
141
+  (0.2ms) ROLLBACK
142
+  (0.2ms) BEGIN
143
+  (0.2ms) ROLLBACK
144
+  (0.2ms) BEGIN
145
+  (0.4ms) ROLLBACK
146
+  (0.3ms) BEGIN
147
+  (0.5ms) ROLLBACK
148
+  (0.2ms) BEGIN
149
+  (0.3ms) ROLLBACK
150
+  (0.1ms) BEGIN
151
+  (0.2ms) ROLLBACK
152
+  (0.1ms) BEGIN
153
+  (0.2ms) ROLLBACK
154
+  (0.3ms) BEGIN
155
+  (0.3ms) ROLLBACK
156
+  (0.2ms) BEGIN
157
+  (0.2ms) ROLLBACK
158
+  (0.2ms) BEGIN
159
+  (0.3ms) ROLLBACK
160
+  (0.2ms) BEGIN
161
+  (0.2ms) ROLLBACK
162
+  (0.2ms) BEGIN
163
+  (0.2ms) ROLLBACK
164
+  (0.2ms) BEGIN
165
+  (0.2ms) ROLLBACK
166
+  (0.2ms) BEGIN
167
+  (0.3ms) ROLLBACK
168
+  (0.2ms) BEGIN
169
+  (0.3ms) ROLLBACK
170
+  (0.1ms) BEGIN
171
+  (0.3ms) ROLLBACK
172
+  (0.1ms) BEGIN
173
+  (0.2ms) ROLLBACK
174
+  (0.1ms) BEGIN
175
+  (0.3ms) ROLLBACK
176
+ Connecting to database specified by database.yml
177
+  (0.1ms) BEGIN
178
+  (0.2ms) ROLLBACK
179
+  (0.2ms) BEGIN
180
+  (0.2ms) ROLLBACK
181
+  (0.1ms) BEGIN
182
+  (0.2ms) ROLLBACK
183
+  (0.1ms) BEGIN
184
+  (0.2ms) ROLLBACK
185
+  (0.1ms) BEGIN
186
+  (0.2ms) ROLLBACK
187
+  (0.2ms) BEGIN
188
+  (0.2ms) ROLLBACK
189
+  (0.2ms) BEGIN
190
+  (0.2ms) ROLLBACK
191
+  (0.1ms) BEGIN
192
+  (0.2ms) ROLLBACK
193
+ Connecting to database specified by database.yml
194
+  (0.1ms) BEGIN
195
+  (0.2ms) ROLLBACK
196
+  (0.2ms) BEGIN
197
+  (0.5ms) ROLLBACK
198
+  (0.1ms) BEGIN
199
+  (0.2ms) ROLLBACK
200
+  (0.1ms) BEGIN
201
+  (0.2ms) ROLLBACK
202
+  (0.1ms) BEGIN
203
+  (0.2ms) ROLLBACK
204
+  (0.1ms) BEGIN
205
+  (0.2ms) ROLLBACK
206
+  (0.2ms) BEGIN
207
+  (0.5ms) ROLLBACK
208
+  (0.2ms) BEGIN
209
+  (0.2ms) ROLLBACK
210
+  (0.1ms) BEGIN
211
+  (0.2ms) ROLLBACK
212
+  (0.1ms) BEGIN
213
+  (0.5ms) ROLLBACK
214
+  (0.2ms) BEGIN
215
+  (0.3ms) ROLLBACK
216
+  (0.2ms) BEGIN
217
+  (0.2ms) ROLLBACK
218
+  (0.2ms) BEGIN
219
+  (0.2ms) ROLLBACK
220
+  (0.1ms) BEGIN
221
+  (0.3ms) ROLLBACK
222
+  (0.1ms) BEGIN
223
+  (0.2ms) ROLLBACK
224
+  (0.1ms) BEGIN
225
+  (0.3ms) ROLLBACK
226
+  (0.1ms) BEGIN
227
+  (0.4ms) ROLLBACK
228
+  (0.2ms) BEGIN
229
+  (0.3ms) ROLLBACK
230
+  (0.2ms) BEGIN
231
+  (0.3ms) ROLLBACK
232
+ Connecting to database specified by database.yml
233
+  (0.1ms) BEGIN
234
+  (0.4ms) ROLLBACK
235
+  (0.2ms) BEGIN
236
+  (0.2ms) ROLLBACK
237
+  (0.2ms) BEGIN
238
+  (0.2ms) ROLLBACK
239
+  (0.2ms) BEGIN
240
+  (0.2ms) ROLLBACK
241
+  (0.2ms) BEGIN
242
+  (0.2ms) ROLLBACK
243
+  (0.1ms) BEGIN
244
+  (0.3ms) ROLLBACK
245
+  (0.1ms) BEGIN
246
+  (0.2ms) ROLLBACK
247
+  (0.1ms) BEGIN
248
+  (0.3ms) ROLLBACK
249
+  (0.1ms) BEGIN
250
+  (0.2ms) ROLLBACK
251
+  (0.1ms) BEGIN
252
+  (0.3ms) ROLLBACK
253
+  (0.1ms) BEGIN
254
+  (0.3ms) ROLLBACK
255
+  (0.2ms) BEGIN
256
+  (0.2ms) ROLLBACK
257
+  (0.1ms) BEGIN
258
+  (0.2ms) ROLLBACK
259
+  (0.1ms) BEGIN
260
+  (0.2ms) ROLLBACK
261
+  (0.1ms) BEGIN
262
+  (0.2ms) ROLLBACK
263
+  (0.2ms) BEGIN
264
+  (0.4ms) ROLLBACK
265
+  (0.2ms) BEGIN
266
+  (0.4ms) ROLLBACK
267
+  (0.2ms) BEGIN
268
+  (0.3ms) ROLLBACK
269
+  (0.1ms) BEGIN
270
+  (0.2ms) ROLLBACK
@@ -31,9 +31,6 @@ class Rain::GitToolsTest < ActiveSupport::TestCase
31
31
  should "return false when there are uncommitted changes" do
32
32
  assert %x(echo "test" >> LICENSE.md), "LICENSE.md was not edited"
33
33
  refute no_changes_pending?, "LICENSE.md is still clean"
34
- end
35
-
36
- should "return true when the directory is clean" do
37
34
  assert %x(git checkout HEAD LICENSE.md), "LICENSE.md not reset to HEAD state"
38
35
  assert no_changes_pending?, "LICENSE.md is still dirty. Make sure you commit everything else!"
39
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -185,6 +185,7 @@ executables:
185
185
  extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
+ - config/versions.yml
188
189
  - lib/generators/rain/install/install_generator.rb
189
190
  - lib/generators/rain/install/templates/versions.yml
190
191
  - lib/generators/rain/install/USAGE
@@ -222,6 +223,9 @@ files:
222
223
  - test/dummy/config/routes.rb
223
224
  - test/dummy/config/versions.yml
224
225
  - test/dummy/config.ru
226
+ - test/dummy/db/schema.rb
227
+ - test/dummy/log/development.log
228
+ - test/dummy/log/test.log
225
229
  - test/dummy/public/404.html
226
230
  - test/dummy/public/422.html
227
231
  - test/dummy/public/500.html
@@ -250,7 +254,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
250
254
  version: '0'
251
255
  segments:
252
256
  - 0
253
- hash: -3597529336768301449
257
+ hash: 3223441883021637366
254
258
  required_rubygems_version: !ruby/object:Gem::Requirement
255
259
  none: false
256
260
  requirements:
@@ -259,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
263
  version: '0'
260
264
  segments:
261
265
  - 0
262
- hash: -3597529336768301449
266
+ hash: 3223441883021637366
263
267
  requirements: []
264
268
  rubyforge_project:
265
269
  rubygems_version: 1.8.24
@@ -289,6 +293,9 @@ test_files:
289
293
  - test/dummy/config/routes.rb
290
294
  - test/dummy/config/versions.yml
291
295
  - test/dummy/config.ru
296
+ - test/dummy/db/schema.rb
297
+ - test/dummy/log/development.log
298
+ - test/dummy/log/test.log
292
299
  - test/dummy/public/404.html
293
300
  - test/dummy/public/422.html
294
301
  - test/dummy/public/500.html