stationed 0.5.0 → 0.6.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
  SHA1:
3
- metadata.gz: 733060c6d3cd4844ae711d77c2dd16da04120350
4
- data.tar.gz: 0fca0d5e034005561d405c615d95c5eef12f998e
3
+ metadata.gz: 4c4e215738acbf55b8955f921f4815256b7fafbc
4
+ data.tar.gz: 4fb867dfdd7d030d44deafc7808ec12589c84f24
5
5
  SHA512:
6
- metadata.gz: 58fba6b9f02dddbf43f2a416a274f5e858beb8803ada47d7486e509ca27d5de6534691c987e1d604372fb736c5d1a15febe821ba1be743dfcca000f4796aa0f5
7
- data.tar.gz: cf84b738ea05008af6a972f6cd3ab1a6af97b0d4b941dc7c6b338b6c4db90f4d3e216f7a7e00208b91ea46f2fb145b0565d5453d06881b96f882d54c28865805
6
+ metadata.gz: 480eb2ef9fc8f7624109b155c185da45dcedd7d1e7edfbf2f7b122142639d998844497c0677989e11d3cffdc1f55e7d17cde552e55d505d8270dbeaa4fb56a78
7
+ data.tar.gz: dba2ac7cc6dd3d61d42248e8194659bc09ce84a1448abc6a8ac096e84e036c814807cbf834504dc05e3758f4e848e853f07938ce0f20503b6383d468c77d7f1b
data/HISTORY.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # HISTORY
2
2
 
3
- ## Unreleased
3
+ ## 0.6.0
4
+
5
+ * Support Rails 5 (rrooding)
6
+
7
+ ## 0.5.0
4
8
 
5
9
  * Include default form element and error styles
6
10
 
@@ -1,3 +1,3 @@
1
1
  module Stationed
2
- VERSION = '0.5.0'.freeze
2
+ VERSION = '0.6.0'.freeze
3
3
  end
@@ -14,7 +14,7 @@ Dummy::Application.configure do
14
14
 
15
15
  # Configure static asset server for tests with Cache-Control for performance.
16
16
  config.serve_static_assets = true
17
- config.static_cache_control = "public, max-age=3600"
17
+ config.public_file_server.headers = { "Cache-Control" => "public, max-age=3600" }
18
18
 
19
19
  # Show full error reports and disable caching.
20
20
  config.consider_all_requests_local = true
@@ -0,0 +1,15 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(version: 0) do
14
+
15
+ end
@@ -0,0 +1,47 @@
1
+ DEPRECATION WARNING: Passing #original_exception is deprecated and has no effect. Exceptions will automatically capture the original exception. (called from load at /usr/local/var/rbenv/versions/2.4.0/bin/rake:22)
2
+  (10.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
5
+  (0.0ms) begin transaction
6
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-03-01 06:37:56 UTC], ["updated_at", 2017-03-01 06:37:56 UTC]]
7
+  (0.7ms) commit transaction
8
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
+  (8.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
12
+  (0.2ms) SELECT version FROM "schema_migrations"
13
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
14
+  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
15
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
16
+  (0.1ms) begin transaction
17
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-03-01 06:38:02 UTC], ["updated_at", 2017-03-01 06:38:02 UTC]]
18
+  (0.7ms) commit transaction
19
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
20
+  (0.0ms) begin transaction
21
+  (0.0ms) commit transaction
22
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
23
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
24
+  (9.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
25
+  (0.1ms) SELECT version FROM "schema_migrations"
26
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
27
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
28
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
29
+  (0.1ms) begin transaction
30
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-03-01 06:40:38 UTC], ["updated_at", 2017-03-01 06:40:38 UTC]]
31
+  (0.8ms) commit transaction
32
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
33
+  (0.0ms) begin transaction
34
+  (0.0ms) commit transaction
35
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
37
+  (8.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
38
+  (0.1ms) SELECT version FROM "schema_migrations"
39
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
40
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
41
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
42
+  (0.0ms) begin transaction
43
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-03-01 06:44:31 UTC], ["updated_at", 2017-03-01 06:44:31 UTC]]
44
+  (0.8ms) commit transaction
45
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
46
+  (0.0ms) begin transaction
47
+  (0.0ms) commit transaction
@@ -0,0 +1,300 @@
1
+  (0.4ms) begin transaction
2
+  (0.1ms) rollback transaction
3
+  (0.2ms) begin transaction
4
+  (0.1ms) rollback transaction
5
+  (0.0ms) begin transaction
6
+  (0.0ms) rollback transaction
7
+  (0.0ms) begin transaction
8
+  (0.0ms) rollback transaction
9
+  (0.0ms) begin transaction
10
+  (0.0ms) rollback transaction
11
+  (0.0ms) begin transaction
12
+  (0.1ms) rollback transaction
13
+  (0.1ms) begin transaction
14
+  (0.1ms) rollback transaction
15
+  (0.1ms) begin transaction
16
+  (0.0ms) rollback transaction
17
+  (0.0ms) begin transaction
18
+  (0.1ms) rollback transaction
19
+  (0.1ms) begin transaction
20
+  (0.0ms) rollback transaction
21
+  (0.0ms) begin transaction
22
+  (0.0ms) rollback transaction
23
+  (0.0ms) begin transaction
24
+  (0.1ms) rollback transaction
25
+  (0.0ms) begin transaction
26
+  (0.0ms) rollback transaction
27
+  (0.0ms) begin transaction
28
+  (0.0ms) rollback transaction
29
+  (0.0ms) begin transaction
30
+  (0.0ms) rollback transaction
31
+  (0.0ms) begin transaction
32
+  (0.0ms) rollback transaction
33
+  (0.0ms) begin transaction
34
+  (0.0ms) rollback transaction
35
+  (0.1ms) begin transaction
36
+  (0.1ms) rollback transaction
37
+  (0.1ms) begin transaction
38
+  (0.0ms) rollback transaction
39
+  (0.0ms) begin transaction
40
+  (0.0ms) rollback transaction
41
+  (0.0ms) begin transaction
42
+  (0.0ms) rollback transaction
43
+  (0.4ms) begin transaction
44
+  (0.0ms) rollback transaction
45
+  (0.1ms) begin transaction
46
+  (0.0ms) rollback transaction
47
+  (0.1ms) begin transaction
48
+  (0.1ms) rollback transaction
49
+  (0.0ms) begin transaction
50
+  (0.0ms) rollback transaction
51
+  (0.0ms) begin transaction
52
+  (0.0ms) rollback transaction
53
+  (0.0ms) begin transaction
54
+  (0.0ms) rollback transaction
55
+  (0.3ms) begin transaction
56
+  (0.1ms) rollback transaction
57
+  (0.1ms) begin transaction
58
+  (0.0ms) rollback transaction
59
+  (0.0ms) begin transaction
60
+  (0.0ms) rollback transaction
61
+  (0.0ms) begin transaction
62
+  (0.1ms) rollback transaction
63
+  (0.1ms) begin transaction
64
+  (0.1ms) rollback transaction
65
+  (0.0ms) begin transaction
66
+  (0.0ms) rollback transaction
67
+  (0.3ms) begin transaction
68
+  (0.1ms) rollback transaction
69
+  (0.1ms) begin transaction
70
+  (0.0ms) rollback transaction
71
+  (0.1ms) begin transaction
72
+  (0.0ms) rollback transaction
73
+  (0.0ms) begin transaction
74
+  (0.0ms) rollback transaction
75
+  (0.1ms) begin transaction
76
+  (0.0ms) rollback transaction
77
+  (0.0ms) begin transaction
78
+  (0.0ms) rollback transaction
79
+  (0.3ms) begin transaction
80
+  (0.1ms) rollback transaction
81
+  (0.1ms) begin transaction
82
+  (0.0ms) rollback transaction
83
+  (0.0ms) begin transaction
84
+  (0.1ms) rollback transaction
85
+  (0.0ms) begin transaction
86
+  (0.0ms) rollback transaction
87
+  (0.0ms) begin transaction
88
+  (0.2ms) rollback transaction
89
+  (0.1ms) begin transaction
90
+  (0.0ms) rollback transaction
91
+  (0.0ms) begin transaction
92
+  (0.0ms) rollback transaction
93
+  (0.0ms) begin transaction
94
+  (0.1ms) rollback transaction
95
+  (0.0ms) begin transaction
96
+  (0.0ms) rollback transaction
97
+  (0.3ms) begin transaction
98
+  (0.1ms) rollback transaction
99
+  (0.1ms) begin transaction
100
+  (0.0ms) rollback transaction
101
+  (0.1ms) begin transaction
102
+  (0.0ms) rollback transaction
103
+  (0.0ms) begin transaction
104
+  (0.0ms) rollback transaction
105
+  (0.0ms) begin transaction
106
+  (0.1ms) rollback transaction
107
+  (0.1ms) begin transaction
108
+  (0.0ms) rollback transaction
109
+  (0.4ms) begin transaction
110
+  (0.1ms) rollback transaction
111
+  (0.1ms) begin transaction
112
+  (0.1ms) rollback transaction
113
+  (0.1ms) begin transaction
114
+  (0.1ms) rollback transaction
115
+  (0.1ms) begin transaction
116
+  (0.0ms) rollback transaction
117
+  (0.0ms) begin transaction
118
+  (0.1ms) rollback transaction
119
+  (0.0ms) begin transaction
120
+  (0.0ms) rollback transaction
121
+  (0.1ms) begin transaction
122
+  (0.0ms) rollback transaction
123
+  (0.0ms) begin transaction
124
+  (0.0ms) rollback transaction
125
+  (0.1ms) begin transaction
126
+  (0.0ms) rollback transaction
127
+  (0.0ms) begin transaction
128
+  (0.0ms) rollback transaction
129
+  (0.0ms) begin transaction
130
+  (0.0ms) rollback transaction
131
+  (0.0ms) begin transaction
132
+  (0.0ms) rollback transaction
133
+  (0.1ms) begin transaction
134
+  (0.1ms) rollback transaction
135
+  (0.1ms) begin transaction
136
+  (0.0ms) rollback transaction
137
+  (0.0ms) begin transaction
138
+  (0.0ms) rollback transaction
139
+  (0.0ms) begin transaction
140
+  (0.0ms) rollback transaction
141
+  (0.0ms) begin transaction
142
+  (0.0ms) rollback transaction
143
+  (0.1ms) begin transaction
144
+  (0.0ms) rollback transaction
145
+  (0.1ms) begin transaction
146
+  (0.0ms) rollback transaction
147
+  (0.1ms) begin transaction
148
+  (0.0ms) rollback transaction
149
+  (0.0ms) begin transaction
150
+  (0.0ms) rollback transaction
151
+  (0.4ms) begin transaction
152
+  (0.1ms) rollback transaction
153
+  (0.1ms) begin transaction
154
+  (0.1ms) rollback transaction
155
+  (0.1ms) begin transaction
156
+  (0.1ms) rollback transaction
157
+  (0.1ms) begin transaction
158
+  (0.0ms) rollback transaction
159
+  (0.0ms) begin transaction
160
+  (0.1ms) rollback transaction
161
+  (0.1ms) begin transaction
162
+  (0.0ms) rollback transaction
163
+  (0.0ms) begin transaction
164
+  (0.1ms) rollback transaction
165
+  (0.0ms) begin transaction
166
+  (0.1ms) rollback transaction
167
+  (0.0ms) begin transaction
168
+  (0.0ms) rollback transaction
169
+  (0.3ms) begin transaction
170
+  (0.1ms) rollback transaction
171
+  (0.1ms) begin transaction
172
+  (0.0ms) rollback transaction
173
+  (0.0ms) begin transaction
174
+  (0.1ms) rollback transaction
175
+  (0.1ms) begin transaction
176
+  (0.1ms) rollback transaction
177
+  (0.1ms) begin transaction
178
+  (0.1ms) rollback transaction
179
+  (0.0ms) begin transaction
180
+  (0.0ms) rollback transaction
181
+  (0.0ms) begin transaction
182
+  (0.1ms) rollback transaction
183
+  (0.0ms) begin transaction
184
+  (0.0ms) rollback transaction
185
+  (0.0ms) begin transaction
186
+  (0.1ms) rollback transaction
187
+  (0.5ms) begin transaction
188
+  (0.1ms) rollback transaction
189
+  (0.1ms) begin transaction
190
+  (0.1ms) rollback transaction
191
+  (0.1ms) begin transaction
192
+  (0.1ms) rollback transaction
193
+  (0.1ms) begin transaction
194
+  (0.1ms) rollback transaction
195
+  (0.0ms) begin transaction
196
+  (0.0ms) rollback transaction
197
+  (0.0ms) begin transaction
198
+  (0.0ms) rollback transaction
199
+  (0.0ms) begin transaction
200
+  (0.0ms) rollback transaction
201
+  (0.0ms) begin transaction
202
+  (0.0ms) rollback transaction
203
+  (0.0ms) begin transaction
204
+  (0.0ms) rollback transaction
205
+  (0.7ms) begin transaction
206
+  (0.1ms) rollback transaction
207
+  (0.1ms) begin transaction
208
+  (0.0ms) rollback transaction
209
+  (0.1ms) begin transaction
210
+  (0.1ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+  (0.0ms) rollback transaction
213
+  (0.0ms) begin transaction
214
+  (0.1ms) rollback transaction
215
+  (0.0ms) begin transaction
216
+  (0.1ms) rollback transaction
217
+  (0.1ms) begin transaction
218
+  (0.0ms) rollback transaction
219
+  (0.1ms) begin transaction
220
+  (0.1ms) rollback transaction
221
+  (0.0ms) begin transaction
222
+  (0.1ms) rollback transaction
223
+  (0.6ms) begin transaction
224
+  (0.1ms) rollback transaction
225
+  (0.1ms) begin transaction
226
+  (0.1ms) rollback transaction
227
+  (0.1ms) begin transaction
228
+  (0.0ms) rollback transaction
229
+  (0.0ms) begin transaction
230
+  (0.0ms) rollback transaction
231
+  (0.1ms) begin transaction
232
+  (0.4ms) rollback transaction
233
+  (0.1ms) begin transaction
234
+  (0.1ms) rollback transaction
235
+  (0.1ms) begin transaction
236
+  (0.0ms) rollback transaction
237
+  (0.0ms) begin transaction
238
+  (0.1ms) rollback transaction
239
+  (0.1ms) begin transaction
240
+  (0.0ms) rollback transaction
241
+  (0.4ms) begin transaction
242
+  (0.1ms) rollback transaction
243
+  (0.1ms) begin transaction
244
+  (0.0ms) rollback transaction
245
+  (0.1ms) begin transaction
246
+  (0.1ms) rollback transaction
247
+  (0.1ms) begin transaction
248
+  (0.0ms) rollback transaction
249
+  (0.0ms) begin transaction
250
+  (0.0ms) rollback transaction
251
+  (0.1ms) begin transaction
252
+  (0.1ms) rollback transaction
253
+  (0.1ms) begin transaction
254
+  (0.1ms) rollback transaction
255
+  (0.1ms) begin transaction
256
+  (0.1ms) rollback transaction
257
+  (0.1ms) begin transaction
258
+  (0.1ms) rollback transaction
259
+  (0.3ms) begin transaction
260
+  (0.1ms) rollback transaction
261
+  (0.1ms) begin transaction
262
+  (0.1ms) rollback transaction
263
+  (0.0ms) begin transaction
264
+  (0.0ms) rollback transaction
265
+  (0.0ms) begin transaction
266
+  (0.0ms) rollback transaction
267
+  (0.0ms) begin transaction
268
+  (0.1ms) rollback transaction
269
+  (0.0ms) begin transaction
270
+  (0.1ms) rollback transaction
271
+  (0.1ms) begin transaction
272
+  (0.0ms) rollback transaction
273
+  (0.0ms) begin transaction
274
+  (0.1ms) rollback transaction
275
+  (0.1ms) begin transaction
276
+  (0.0ms) rollback transaction
277
+  (0.0ms) begin transaction
278
+  (0.0ms) rollback transaction
279
+  (0.0ms) begin transaction
280
+  (0.0ms) rollback transaction
281
+  (0.0ms) begin transaction
282
+  (0.1ms) rollback transaction
283
+  (0.1ms) begin transaction
284
+  (0.1ms) rollback transaction
285
+  (0.0ms) begin transaction
286
+  (0.0ms) rollback transaction
287
+  (0.0ms) begin transaction
288
+  (0.0ms) rollback transaction
289
+  (0.0ms) begin transaction
290
+  (0.0ms) rollback transaction
291
+  (0.0ms) begin transaction
292
+  (0.0ms) rollback transaction
293
+  (0.0ms) begin transaction
294
+  (0.0ms) rollback transaction
295
+  (0.1ms) begin transaction
296
+  (0.0ms) rollback transaction
297
+  (0.0ms) begin transaction
298
+  (0.0ms) rollback transaction
299
+  (0.0ms) begin transaction
300
+  (0.0ms) rollback transaction
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe CrudLinkHelper do
3
+ RSpec.describe CrudLinkHelper, type: :helper do
4
4
  before do
5
5
  I18n.backend.store_translations(
6
6
  :en,
@@ -68,21 +68,21 @@ describe CrudLinkHelper do
68
68
  it 'allows adding custom options' do
69
69
  allow(helper).to receive(:new_post_path).and_return('/posts/new')
70
70
  expect(helper.link_to_new(Post, title: 'bla')).to eql(
71
- '<a href="/posts/new" title="bla">New Blog post</a>'
71
+ '<a title="bla" href="/posts/new">New Blog post</a>'
72
72
  )
73
73
  end
74
74
 
75
75
  it 'creates a button' do
76
76
  allow(helper).to receive(:new_post_path).and_return('/posts/new')
77
77
  expect(helper.button_to_new(Post)).to eql(
78
- %Q{<form action="/posts/new" class="button_to" method="post"><div><input type="submit" value="New Blog post" /></div></form>}
78
+ %Q{<form class="button_to" method="post" action="/posts/new"><input type="submit" value="New Blog post" /></form>}
79
79
  )
80
80
  end
81
81
 
82
82
  it 'creates a button link' do
83
83
  allow(helper).to receive(:new_post_path).and_return('/posts/new')
84
84
  expect(helper.button_link_to_new(Post, title: 'bla')).to eql(
85
- '<a class="button" href="/posts/new" title="bla">New Blog post</a>'
85
+ '<a title="bla" class="button" href="/posts/new">New Blog post</a>'
86
86
  )
87
87
  end
88
88
  end
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe PageTitleHelper do
3
+ RSpec.describe PageTitleHelper, type: :helper do
4
4
  before do
5
5
  allow(helper).to receive(:controller_name).and_return('controller')
6
6
  allow(helper).to receive(:action_name).and_return('action')
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe PlaceholderHelper do
3
+ RSpec.describe PlaceholderHelper, type: :helper do
4
4
  before do
5
5
  allow(helper).to receive(:controller_name).and_return('products')
6
6
  allow(helper).to receive(:action_name).and_return('index')
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stationed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arjan van der Gaag
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-05 00:00:00.000000000 Z
11
+ date: 2017-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.1'
27
27
  - !ruby/object:Gem::Dependency
@@ -194,6 +194,10 @@ files:
194
194
  - spec/dummy/config/initializers/wrap_parameters.rb
195
195
  - spec/dummy/config/locales/en.yml
196
196
  - spec/dummy/config/routes.rb
197
+ - spec/dummy/db/development.sqlite3
198
+ - spec/dummy/db/schema.rb
199
+ - spec/dummy/db/test.sqlite3
200
+ - spec/dummy/log/development.log
197
201
  - spec/dummy/log/test.log
198
202
  - spec/dummy/public/404.html
199
203
  - spec/dummy/public/422.html
@@ -222,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
226
  version: '0'
223
227
  requirements: []
224
228
  rubyforge_project:
225
- rubygems_version: 2.4.1
229
+ rubygems_version: 2.6.10
226
230
  signing_key:
227
231
  specification_version: 4
228
232
  summary: Rails application and scaffold generator.
@@ -252,6 +256,10 @@ test_files:
252
256
  - spec/dummy/config/locales/en.yml
253
257
  - spec/dummy/config/routes.rb
254
258
  - spec/dummy/config.ru
259
+ - spec/dummy/db/development.sqlite3
260
+ - spec/dummy/db/schema.rb
261
+ - spec/dummy/db/test.sqlite3
262
+ - spec/dummy/log/development.log
255
263
  - spec/dummy/log/test.log
256
264
  - spec/dummy/public/404.html
257
265
  - spec/dummy/public/422.html