buoys 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 +4 -4
- data/lib/buoys/version.rb +1 -1
- data/lib/generators/buoys/install_generator.rb +1 -1
- data/lib/generators/buoys/templates/_buoys.html.erb +9 -5
- data/lib/generators/buoys/templates/_buoys.html.haml +8 -5
- data/lib/generators/buoys/templates/_buoys.html.slim +9 -5
- data/test/buoys_generator_test.rb +51 -0
- data/test/buoys_helper_test.rb +1 -0
- data/test/dummy/app/controllers/items_controller.rb +1 -0
- data/test/dummy/config/application.rb +3 -2
- data/test/dummy/config/environments/test.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +492 -0
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fbcaecaeb46ac751aa20c43f34ed8b87e35d556
|
4
|
+
data.tar.gz: 1d71a1a3167b114a0ea0a51d84363768a9715861
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c24acee65cbe92b2761d1424ad74b1ad9ce1875ed960b6435b630080226c955011166bfaa1199dd71a7ee80e76f0399f3f993836e17e134591c5dbe4c2795d26
|
7
|
+
data.tar.gz: 82e710f6eee4a69fce6df38485a40aeb054c34a24cc3de532793384efaf206e79405b1f25c5878e7d5e5b7f5a5c2898d88713cb654f7a3e944b0a0a2f21a7b06
|
data/lib/buoys/version.rb
CHANGED
@@ -10,7 +10,7 @@ module Buoys
|
|
10
10
|
copy_file 'buoys.en.yml', 'config/locales/buoys.en.yml'
|
11
11
|
copy_file 'breadcrumbs.rb', 'config/buoys/breadcrumbs.rb'
|
12
12
|
|
13
|
-
if %(haml slim).include?(template_type = options[:template])
|
13
|
+
if %w(haml slim).include?(template_type = options[:template])
|
14
14
|
copy_file "_buoys.html.#{template_type}", "app/views/breadcrumbs/_buoys.html.#{template_type}"
|
15
15
|
else
|
16
16
|
copy_file '_buoys.html.erb', 'app/views/breadcrumbs/_buoys.html.erb'
|
@@ -1,12 +1,16 @@
|
|
1
1
|
<% if buoys.any? %>
|
2
|
-
<ol class=
|
3
|
-
<% buoys.each do |link| %>
|
4
|
-
<li>
|
2
|
+
<ol itemscope itemtype='http://schema.org/BreadcrumbList' class='breadcrumb'>
|
3
|
+
<% buoys.each.with_index(1) do |link, i| %>
|
4
|
+
<li itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
|
5
5
|
<%# if `link.current?` is true, link.options includes {class: 'current'}. %>
|
6
6
|
<% if link.current? %>
|
7
|
-
<span><%= link.text %></span>
|
7
|
+
<span itemprop='name'><%= link.text %></span>
|
8
|
+
<meta itemprop='position' content='<%= i %>' />
|
8
9
|
<% else %>
|
9
|
-
<%= link_to link.text, link.url, link.options %>
|
10
|
+
<%= link_to link.text, link.url, link.options.merge(itemprop: :item) do %>
|
11
|
+
<span itemprop='name'><%= link.text %></span>
|
12
|
+
<% end %>
|
13
|
+
<meta itemprop='position' content='<%= i %>' />
|
10
14
|
<% end %>
|
11
15
|
</li>
|
12
16
|
<% end %>
|
@@ -1,9 +1,12 @@
|
|
1
1
|
- if buoys.any?
|
2
|
-
%ol.breadcrumb
|
3
|
-
- buoys.each do |link|
|
4
|
-
%li
|
2
|
+
%ol.breadcrumb{itemscope: true, itemtype: 'http://schema.org/BreadcrumbList'}
|
3
|
+
- buoys.each.with_index(1) do |link, i|
|
4
|
+
%li{itemprop: 'itemListElement', itemscope: true, itemtype: 'http://schema.org/ListItem'}
|
5
5
|
- # if `link.current?` is true, link.options includes {class: 'current'}.
|
6
6
|
- if link.current?
|
7
|
-
%span= link.text
|
7
|
+
%span{itemprop: 'name'}= link.text
|
8
|
+
%meta{itemprop: 'position', content: i}
|
8
9
|
- else
|
9
|
-
= link_to link.
|
10
|
+
= link_to link.url, link.options.merge(itemprop: :item) do
|
11
|
+
%span{itemprop: 'name'}= link.text
|
12
|
+
%meta{itemprop: 'position', content: i}
|
@@ -1,10 +1,14 @@
|
|
1
1
|
- if buoys.any?
|
2
|
-
ol.breadcrumb
|
3
|
-
- buoys.each do |link|
|
4
|
-
li
|
2
|
+
ol.breadcrumb itemscope=true itemtype='http://schema.org/BreadcrumbList'
|
3
|
+
- buoys.each.with_index(1) do |link, i|
|
4
|
+
li itemprop='itemListElement' itemscope=true itemtype='http://schema.org/ListItem'
|
5
5
|
- # if `link.current?` is true, link.options includes {class: 'current'}.
|
6
6
|
- if link.current?
|
7
|
-
span
|
7
|
+
span itemprop='name'
|
8
8
|
= link.text
|
9
|
+
meta itemprop='position' content=i
|
9
10
|
- else
|
10
|
-
= link_to link.
|
11
|
+
= link_to link.url, link.options.merge(itemprop: :item) do
|
12
|
+
span itemprop='name'
|
13
|
+
=link.text
|
14
|
+
meta itemprop='position' content=i
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# rubocop:disable Style/RegexpLiteral,Style/PercentLiteralDelimiters
|
2
|
+
require 'test_helper'
|
3
|
+
require 'generators/buoys/install_generator'
|
4
|
+
|
5
|
+
class BuoysGeneratorTest < Rails::Generators::TestCase
|
6
|
+
tests ::Buoys::InstallGenerator
|
7
|
+
destination dest_root = File.expand_path('./generator_root', File.dirname(__FILE__))
|
8
|
+
|
9
|
+
Minitest.after_run do
|
10
|
+
FileUtils.rm_rf(Dir.glob("#{dest_root}/**"))
|
11
|
+
end
|
12
|
+
|
13
|
+
test 'no template option' do
|
14
|
+
run_generator
|
15
|
+
|
16
|
+
assert_file File.expand_path('./app/views/breadcrumbs/_buoys.html.erb', dest_root) do |content|
|
17
|
+
assert_match %r|itemscope itemtype='http://schema.org/BreadcrumbList'|, content
|
18
|
+
assert_match %r|<li itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>|, content
|
19
|
+
assert_match %r|<span itemprop='name'>|, content
|
20
|
+
assert_match %r|<meta itemprop='position' content='<%= i %>' />|, content
|
21
|
+
end
|
22
|
+
assert_file File.expand_path('./config/buoys/breadcrumbs.rb', dest_root)
|
23
|
+
assert_file File.expand_path('./config/locales/buoys.en.yml', dest_root)
|
24
|
+
end
|
25
|
+
|
26
|
+
test 'option --template haml' do
|
27
|
+
run_generator %w(--template haml)
|
28
|
+
|
29
|
+
assert_file File.expand_path('./app/views/breadcrumbs/_buoys.html.haml', dest_root) do |content|
|
30
|
+
assert_match %r|%ol.breadcrumb{itemscope: true, itemtype: 'http://schema.org/BreadcrumbList'}|, content
|
31
|
+
assert_match %r|%li{itemprop: 'itemListElement', itemscope: true, itemtype: 'http://schema.org/ListItem'}|, content
|
32
|
+
assert_match %r|%span{itemprop: 'name'}=|, content
|
33
|
+
assert_match %r|%meta{itemprop: 'position', content: i}|, content
|
34
|
+
end
|
35
|
+
assert_file File.expand_path('./config/buoys/breadcrumbs.rb', dest_root)
|
36
|
+
assert_file File.expand_path('./config/locales/buoys.en.yml', dest_root)
|
37
|
+
end
|
38
|
+
|
39
|
+
test 'option --template slim' do
|
40
|
+
run_generator %w(--template slim)
|
41
|
+
|
42
|
+
assert_file File.expand_path('./app/views/breadcrumbs/_buoys.html.slim', dest_root) do |content|
|
43
|
+
assert_match %r|ol.breadcrumb itemscope=true itemtype='http://schema.org/BreadcrumbList'|, content
|
44
|
+
assert_match %r|li itemprop='itemListElement' itemscope=true itemtype='http://schema.org/ListItem'|, content
|
45
|
+
assert_match %r|span itemprop='name'|, content
|
46
|
+
assert_match %r|meta itemprop='position' content=i|, content
|
47
|
+
end
|
48
|
+
assert_file File.expand_path('./config/buoys/breadcrumbs.rb', dest_root)
|
49
|
+
assert_file File.expand_path('./config/locales/buoys.en.yml', dest_root)
|
50
|
+
end
|
51
|
+
end
|
data/test/buoys_helper_test.rb
CHANGED
@@ -3,7 +3,7 @@ require File.expand_path('../boot', __FILE__)
|
|
3
3
|
require 'rails/all'
|
4
4
|
|
5
5
|
Bundler.require(*Rails.groups)
|
6
|
-
require
|
6
|
+
require 'buoys'
|
7
7
|
|
8
8
|
module Dummy
|
9
9
|
class Application < Rails::Application
|
@@ -21,7 +21,8 @@ module Dummy
|
|
21
21
|
config.i18n.default_locale = :en
|
22
22
|
|
23
23
|
# Do not swallow errors in after_commit/after_rollback callbacks.
|
24
|
-
if Gem::Version.new(Rails.version) >= Gem::Version.new(
|
24
|
+
if Gem::Version.new(Rails.version) >= Gem::Version.new('4.2.0') &&
|
25
|
+
Gem::Version.new(Rails.version) <= Gem::Version.new('5.0.0')
|
25
26
|
config.active_record.raise_in_transactional_callbacks = true
|
26
27
|
end
|
27
28
|
end
|
@@ -15,7 +15,7 @@ Rails.application.configure do
|
|
15
15
|
# Configure static file server for tests with Cache-Control for performance.
|
16
16
|
if Gem::Version.new(Rails.version) >= Gem::Version.new('5.0.0')
|
17
17
|
config.public_file_server.enabled = true
|
18
|
-
config.public_file_server.headers = {
|
18
|
+
config.public_file_server.headers = {'Cache-Control' => 'public, max-age=3600'}
|
19
19
|
else
|
20
20
|
config.serve_static_files = true
|
21
21
|
config.static_cache_control = 'public, max-age=3600'
|
Binary file
|
@@ -0,0 +1,492 @@
|
|
1
|
+
[1m[35m (10.7ms)[0m [1m[35mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2
|
+
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
4
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
5
|
+
[1m[35m (5.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20160602144324')[0m
|
6
|
+
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
7
|
+
[1m[35m (5.1ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20160602144150');
|
8
|
+
|
9
|
+
[0m
|
10
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
11
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
12
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
13
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-16 16:25:53 UTC], ["updated_at", 2016-11-16 16:25:53 UTC]]
|
14
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
15
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
16
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
17
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
18
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
20
|
+
--------------------------------------------------------------------------
|
21
|
+
BuoysHelerTest: test_.buoy_(has_configuration_options_in_link's_arguments)
|
22
|
+
--------------------------------------------------------------------------
|
23
|
+
Rendered breadcrumbs/_buoys.erb (6.0ms)
|
24
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
25
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
26
|
+
---------------------------------------------------
|
27
|
+
BuoysHelerTest: test_.buoy_(use_polymorphic_routes)
|
28
|
+
---------------------------------------------------
|
29
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
30
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test user"], ["created_at", 2016-11-16 16:25:53 UTC], ["updated_at", 2016-11-16 16:25:53 UTC]]
|
31
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
32
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
33
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test item"], ["created_at", 2016-11-16 16:25:53 UTC], ["updated_at", 2016-11-16 16:25:53 UTC]]
|
34
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
35
|
+
Rendered breadcrumbs/_buoys.erb (2.5ms)
|
36
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
37
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
38
|
+
------------------------------------------------------------
|
39
|
+
BuoysHelerTest: test_.buoy_(has_2_`link`s_in_one_buoy_block)
|
40
|
+
------------------------------------------------------------
|
41
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
42
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
43
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
44
|
+
--------------------------------------------
|
45
|
+
BuoysHelerTest: test_.buoy_(not_only_active)
|
46
|
+
--------------------------------------------
|
47
|
+
Rendered breadcrumbs/_buoys.erb (0.4ms)
|
48
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
49
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
50
|
+
-------------------------------------------------------
|
51
|
+
BuoysHelerTest: test_.buoy_(receive_multiple_arguments)
|
52
|
+
-------------------------------------------------------
|
53
|
+
Rendered breadcrumbs/_buoys.erb (0.4ms)
|
54
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
55
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
56
|
+
-----------------------------------------
|
57
|
+
BuoysHelerTest: test_.buoy_(only_current)
|
58
|
+
-----------------------------------------
|
59
|
+
Rendered breadcrumbs/_buoys.erb (0.2ms)
|
60
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
61
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
62
|
+
------------------------------------------
|
63
|
+
BuoysHelerTest: test_.buoys_(no_given_key)
|
64
|
+
------------------------------------------
|
65
|
+
Rendered breadcrumbs/_buoys.erb (0.1ms)
|
66
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
67
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
68
|
+
---------------------------------
|
69
|
+
BuoysLoaderTest: test_.buoy_files
|
70
|
+
---------------------------------
|
71
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
72
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
73
|
+
----------------------------
|
74
|
+
BuoysLoaderTest: test_.buoys
|
75
|
+
----------------------------
|
76
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
77
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
78
|
+
----------------------------------------------------------------------------------
|
79
|
+
BuoysBuoyTest: test_can_interpret_multiple_`link`s_in_one_buoy_block_with_argument
|
80
|
+
----------------------------------------------------------------------------------
|
81
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
82
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
83
|
+
------------------------------------------------
|
84
|
+
BuoysBuoyTest: test_can_use_:symbol_as_link_name
|
85
|
+
------------------------------------------------
|
86
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
87
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
88
|
+
--------------------------------
|
89
|
+
BuoysTest: test_.buoy_file_paths
|
90
|
+
--------------------------------
|
91
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
92
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
93
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
94
|
+
----------------------------------------------------------------------------------
|
95
|
+
BuoysBuoyTest: test_can_interpret_multiple_`link`s_in_one_buoy_block_with_argument
|
96
|
+
----------------------------------------------------------------------------------
|
97
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
98
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
99
|
+
------------------------------------------------
|
100
|
+
BuoysBuoyTest: test_can_use_:symbol_as_link_name
|
101
|
+
------------------------------------------------
|
102
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
103
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
104
|
+
---------------------------------
|
105
|
+
BuoysLoaderTest: test_.buoy_files
|
106
|
+
---------------------------------
|
107
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
108
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
109
|
+
----------------------------
|
110
|
+
BuoysLoaderTest: test_.buoys
|
111
|
+
----------------------------
|
112
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
113
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
114
|
+
--------------------------------
|
115
|
+
BuoysTest: test_.buoy_file_paths
|
116
|
+
--------------------------------
|
117
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
118
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
119
|
+
--------------------------------------------
|
120
|
+
BuoysHelerTest: test_.buoy_(not_only_active)
|
121
|
+
--------------------------------------------
|
122
|
+
Rendered breadcrumbs/_buoys.erb (3.4ms)
|
123
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
124
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
125
|
+
--------------------------------------------------------------------------
|
126
|
+
BuoysHelerTest: test_.buoy_(has_configuration_options_in_link's_arguments)
|
127
|
+
--------------------------------------------------------------------------
|
128
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
129
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
130
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
131
|
+
-----------------------------------------
|
132
|
+
BuoysHelerTest: test_.buoy_(only_current)
|
133
|
+
-----------------------------------------
|
134
|
+
Rendered breadcrumbs/_buoys.erb (0.2ms)
|
135
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
136
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
137
|
+
---------------------------------------------------
|
138
|
+
BuoysHelerTest: test_.buoy_(use_polymorphic_routes)
|
139
|
+
---------------------------------------------------
|
140
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
141
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test user"], ["created_at", 2016-11-16 16:31:01 UTC], ["updated_at", 2016-11-16 16:31:01 UTC]]
|
142
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
143
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
144
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test item"], ["created_at", 2016-11-16 16:31:01 UTC], ["updated_at", 2016-11-16 16:31:01 UTC]]
|
145
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
146
|
+
Rendered breadcrumbs/_buoys.erb (1.6ms)
|
147
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
148
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
149
|
+
------------------------------------------
|
150
|
+
BuoysHelerTest: test_.buoys_(no_given_key)
|
151
|
+
------------------------------------------
|
152
|
+
Rendered breadcrumbs/_buoys.erb (0.0ms)
|
153
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
154
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
155
|
+
------------------------------------------------------------
|
156
|
+
BuoysHelerTest: test_.buoy_(has_2_`link`s_in_one_buoy_block)
|
157
|
+
------------------------------------------------------------
|
158
|
+
Rendered breadcrumbs/_buoys.erb (0.5ms)
|
159
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
160
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
161
|
+
-------------------------------------------------------
|
162
|
+
BuoysHelerTest: test_.buoy_(receive_multiple_arguments)
|
163
|
+
-------------------------------------------------------
|
164
|
+
Rendered breadcrumbs/_buoys.erb (0.4ms)
|
165
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
166
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
167
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
168
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
169
|
+
----------------------------
|
170
|
+
BuoysLoaderTest: test_.buoys
|
171
|
+
----------------------------
|
172
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
174
|
+
---------------------------------
|
175
|
+
BuoysLoaderTest: test_.buoy_files
|
176
|
+
---------------------------------
|
177
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
178
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
179
|
+
----------------------------------------------------------------------------------
|
180
|
+
BuoysBuoyTest: test_can_interpret_multiple_`link`s_in_one_buoy_block_with_argument
|
181
|
+
----------------------------------------------------------------------------------
|
182
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
183
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
184
|
+
------------------------------------------------
|
185
|
+
BuoysBuoyTest: test_can_use_:symbol_as_link_name
|
186
|
+
------------------------------------------------
|
187
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
188
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
189
|
+
--------------------------------
|
190
|
+
BuoysTest: test_.buoy_file_paths
|
191
|
+
--------------------------------
|
192
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
193
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
194
|
+
-----------------------------------------
|
195
|
+
BuoysHelerTest: test_.buoy_(only_current)
|
196
|
+
-----------------------------------------
|
197
|
+
Rendered breadcrumbs/_buoys.erb (3.1ms)
|
198
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
199
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
200
|
+
------------------------------------------------------------
|
201
|
+
BuoysHelerTest: test_.buoy_(has_2_`link`s_in_one_buoy_block)
|
202
|
+
------------------------------------------------------------
|
203
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
204
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
205
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
206
|
+
-------------------------------------------------------
|
207
|
+
BuoysHelerTest: test_.buoy_(receive_multiple_arguments)
|
208
|
+
-------------------------------------------------------
|
209
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
210
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
211
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
212
|
+
---------------------------------------------------
|
213
|
+
BuoysHelerTest: test_.buoy_(use_polymorphic_routes)
|
214
|
+
---------------------------------------------------
|
215
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
216
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test user"], ["created_at", 2016-11-16 16:42:10 UTC], ["updated_at", 2016-11-16 16:42:10 UTC]]
|
217
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
218
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
219
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test item"], ["created_at", 2016-11-16 16:42:10 UTC], ["updated_at", 2016-11-16 16:42:10 UTC]]
|
220
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
221
|
+
Rendered breadcrumbs/_buoys.erb (1.6ms)
|
222
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
223
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
224
|
+
------------------------------------------
|
225
|
+
BuoysHelerTest: test_.buoys_(no_given_key)
|
226
|
+
------------------------------------------
|
227
|
+
Rendered breadcrumbs/_buoys.erb (0.0ms)
|
228
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
229
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
230
|
+
--------------------------------------------------------------------------
|
231
|
+
BuoysHelerTest: test_.buoy_(has_configuration_options_in_link's_arguments)
|
232
|
+
--------------------------------------------------------------------------
|
233
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
234
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
235
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
236
|
+
--------------------------------------------
|
237
|
+
BuoysHelerTest: test_.buoy_(not_only_active)
|
238
|
+
--------------------------------------------
|
239
|
+
Rendered breadcrumbs/_buoys.erb (0.8ms)
|
240
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
241
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
242
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
243
|
+
-----------------------------------------
|
244
|
+
BuoysHelerTest: test_.buoy_(only_current)
|
245
|
+
-----------------------------------------
|
246
|
+
Rendered breadcrumbs/_buoys.erb (5.6ms)
|
247
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
248
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
249
|
+
-------------------------------------------------------
|
250
|
+
BuoysHelerTest: test_.buoy_(receive_multiple_arguments)
|
251
|
+
-------------------------------------------------------
|
252
|
+
Rendered breadcrumbs/_buoys.erb (0.4ms)
|
253
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
254
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
255
|
+
---------------------------------------------------
|
256
|
+
BuoysHelerTest: test_.buoy_(use_polymorphic_routes)
|
257
|
+
---------------------------------------------------
|
258
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
259
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test user"], ["created_at", 2016-11-16 16:42:46 UTC], ["updated_at", 2016-11-16 16:42:46 UTC]]
|
260
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
261
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
262
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test item"], ["created_at", 2016-11-16 16:42:46 UTC], ["updated_at", 2016-11-16 16:42:46 UTC]]
|
263
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
264
|
+
Rendered breadcrumbs/_buoys.erb (2.1ms)
|
265
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
266
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
267
|
+
------------------------------------------------------------
|
268
|
+
BuoysHelerTest: test_.buoy_(has_2_`link`s_in_one_buoy_block)
|
269
|
+
------------------------------------------------------------
|
270
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
271
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
272
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
273
|
+
--------------------------------------------
|
274
|
+
BuoysHelerTest: test_.buoy_(not_only_active)
|
275
|
+
--------------------------------------------
|
276
|
+
Rendered breadcrumbs/_buoys.erb (0.4ms)
|
277
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
278
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
279
|
+
--------------------------------------------------------------------------
|
280
|
+
BuoysHelerTest: test_.buoy_(has_configuration_options_in_link's_arguments)
|
281
|
+
--------------------------------------------------------------------------
|
282
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
283
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
284
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
285
|
+
------------------------------------------
|
286
|
+
BuoysHelerTest: test_.buoys_(no_given_key)
|
287
|
+
------------------------------------------
|
288
|
+
Rendered breadcrumbs/_buoys.erb (0.0ms)
|
289
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
290
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
291
|
+
--------------------------------
|
292
|
+
BuoysTest: test_.buoy_file_paths
|
293
|
+
--------------------------------
|
294
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
295
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
296
|
+
----------------------------------------------------------------------------------
|
297
|
+
BuoysBuoyTest: test_can_interpret_multiple_`link`s_in_one_buoy_block_with_argument
|
298
|
+
----------------------------------------------------------------------------------
|
299
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
300
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
301
|
+
------------------------------------------------
|
302
|
+
BuoysBuoyTest: test_can_use_:symbol_as_link_name
|
303
|
+
------------------------------------------------
|
304
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
305
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
306
|
+
---------------------------------
|
307
|
+
BuoysLoaderTest: test_.buoy_files
|
308
|
+
---------------------------------
|
309
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
310
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
311
|
+
----------------------------
|
312
|
+
BuoysLoaderTest: test_.buoys
|
313
|
+
----------------------------
|
314
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
315
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
316
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
317
|
+
----------------------------------------------------------------------------------
|
318
|
+
BuoysBuoyTest: test_can_interpret_multiple_`link`s_in_one_buoy_block_with_argument
|
319
|
+
----------------------------------------------------------------------------------
|
320
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
321
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
322
|
+
------------------------------------------------
|
323
|
+
BuoysBuoyTest: test_can_use_:symbol_as_link_name
|
324
|
+
------------------------------------------------
|
325
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
326
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
327
|
+
---------------------------------
|
328
|
+
BuoysLoaderTest: test_.buoy_files
|
329
|
+
---------------------------------
|
330
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
331
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
332
|
+
----------------------------
|
333
|
+
BuoysLoaderTest: test_.buoys
|
334
|
+
----------------------------
|
335
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
336
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
337
|
+
-------------------------------------------
|
338
|
+
BuoysGeneratorTest: test_no_template_option
|
339
|
+
-------------------------------------------
|
340
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
341
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
342
|
+
-----------------------------------------------
|
343
|
+
BuoysGeneratorTest: test_option_--template_slim
|
344
|
+
-----------------------------------------------
|
345
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
346
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
347
|
+
-----------------------------------------------
|
348
|
+
BuoysGeneratorTest: test_option_--template_haml
|
349
|
+
-----------------------------------------------
|
350
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
351
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
352
|
+
------------------------------------------
|
353
|
+
BuoysHelerTest: test_.buoys_(no_given_key)
|
354
|
+
------------------------------------------
|
355
|
+
Rendered breadcrumbs/_buoys.erb (1.1ms)
|
356
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
357
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
358
|
+
------------------------------------------------------------
|
359
|
+
BuoysHelerTest: test_.buoy_(has_2_`link`s_in_one_buoy_block)
|
360
|
+
------------------------------------------------------------
|
361
|
+
Rendered breadcrumbs/_buoys.erb (2.2ms)
|
362
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
363
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
364
|
+
--------------------------------------------
|
365
|
+
BuoysHelerTest: test_.buoy_(not_only_active)
|
366
|
+
--------------------------------------------
|
367
|
+
Rendered breadcrumbs/_buoys.erb (0.5ms)
|
368
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
369
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
370
|
+
---------------------------------------------------
|
371
|
+
BuoysHelerTest: test_.buoy_(use_polymorphic_routes)
|
372
|
+
---------------------------------------------------
|
373
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
374
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test user"], ["created_at", 2016-12-31 16:10:52 UTC], ["updated_at", 2016-12-31 16:10:52 UTC]]
|
375
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
376
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
377
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test item"], ["created_at", 2016-12-31 16:10:52 UTC], ["updated_at", 2016-12-31 16:10:52 UTC]]
|
378
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
379
|
+
Rendered breadcrumbs/_buoys.erb (1.6ms)
|
380
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
381
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
382
|
+
-------------------------------------------------------
|
383
|
+
BuoysHelerTest: test_.buoy_(receive_multiple_arguments)
|
384
|
+
-------------------------------------------------------
|
385
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
386
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
387
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
388
|
+
-----------------------------------------
|
389
|
+
BuoysHelerTest: test_.buoy_(only_current)
|
390
|
+
-----------------------------------------
|
391
|
+
Rendered breadcrumbs/_buoys.erb (0.2ms)
|
392
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
393
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
394
|
+
--------------------------------------------------------------------------
|
395
|
+
BuoysHelerTest: test_.buoy_(has_configuration_options_in_link's_arguments)
|
396
|
+
--------------------------------------------------------------------------
|
397
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
398
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
399
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
400
|
+
--------------------------------
|
401
|
+
BuoysTest: test_.buoy_file_paths
|
402
|
+
--------------------------------
|
403
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
404
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
405
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
406
|
+
---------------------------------
|
407
|
+
BuoysLoaderTest: test_.buoy_files
|
408
|
+
---------------------------------
|
409
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
410
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
411
|
+
----------------------------
|
412
|
+
BuoysLoaderTest: test_.buoys
|
413
|
+
----------------------------
|
414
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
415
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
416
|
+
-----------------------------------------------
|
417
|
+
BuoysGeneratorTest: test_option_--template_slim
|
418
|
+
-----------------------------------------------
|
419
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
420
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
421
|
+
-------------------------------------------
|
422
|
+
BuoysGeneratorTest: test_no_template_option
|
423
|
+
-------------------------------------------
|
424
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
425
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
426
|
+
-----------------------------------------------
|
427
|
+
BuoysGeneratorTest: test_option_--template_haml
|
428
|
+
-----------------------------------------------
|
429
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
430
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
431
|
+
----------------------------------------------------------------------------------
|
432
|
+
BuoysBuoyTest: test_can_interpret_multiple_`link`s_in_one_buoy_block_with_argument
|
433
|
+
----------------------------------------------------------------------------------
|
434
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
435
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
436
|
+
------------------------------------------------
|
437
|
+
BuoysBuoyTest: test_can_use_:symbol_as_link_name
|
438
|
+
------------------------------------------------
|
439
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
440
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
441
|
+
--------------------------------
|
442
|
+
BuoysTest: test_.buoy_file_paths
|
443
|
+
--------------------------------
|
444
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
445
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
446
|
+
------------------------------------------
|
447
|
+
BuoysHelerTest: test_.buoys_(no_given_key)
|
448
|
+
------------------------------------------
|
449
|
+
Rendered breadcrumbs/_buoys.erb (0.9ms)
|
450
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
451
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
452
|
+
--------------------------------------------------------------------------
|
453
|
+
BuoysHelerTest: test_.buoy_(has_configuration_options_in_link's_arguments)
|
454
|
+
--------------------------------------------------------------------------
|
455
|
+
Rendered breadcrumbs/_buoys.erb (2.1ms)
|
456
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
457
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
458
|
+
---------------------------------------------------
|
459
|
+
BuoysHelerTest: test_.buoy_(use_polymorphic_routes)
|
460
|
+
---------------------------------------------------
|
461
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
462
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test user"], ["created_at", 2016-12-31 16:13:25 UTC], ["updated_at", 2016-12-31 16:13:25 UTC]]
|
463
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
464
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
465
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "test item"], ["created_at", 2016-12-31 16:13:25 UTC], ["updated_at", 2016-12-31 16:13:25 UTC]]
|
466
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
467
|
+
Rendered breadcrumbs/_buoys.erb (2.6ms)
|
468
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
469
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
470
|
+
-----------------------------------------
|
471
|
+
BuoysHelerTest: test_.buoy_(only_current)
|
472
|
+
-----------------------------------------
|
473
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
474
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
475
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
476
|
+
-------------------------------------------------------
|
477
|
+
BuoysHelerTest: test_.buoy_(receive_multiple_arguments)
|
478
|
+
-------------------------------------------------------
|
479
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
480
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
481
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
482
|
+
--------------------------------------------
|
483
|
+
BuoysHelerTest: test_.buoy_(not_only_active)
|
484
|
+
--------------------------------------------
|
485
|
+
Rendered breadcrumbs/_buoys.erb (0.4ms)
|
486
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
487
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
488
|
+
------------------------------------------------------------
|
489
|
+
BuoysHelerTest: test_.buoy_(has_2_`link`s_in_one_buoy_block)
|
490
|
+
------------------------------------------------------------
|
491
|
+
Rendered breadcrumbs/_buoys.erb (0.3ms)
|
492
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buoys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- muryoimpl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -92,6 +92,7 @@ files:
|
|
92
92
|
- lib/generators/buoys/templates/breadcrumbs.rb
|
93
93
|
- lib/generators/buoys/templates/buoys.en.yml
|
94
94
|
- test/buoys_buoy_test.rb
|
95
|
+
- test/buoys_generator_test.rb
|
95
96
|
- test/buoys_helper_test.rb
|
96
97
|
- test/buoys_loader_test.rb
|
97
98
|
- test/buoys_test.rb
|
@@ -134,6 +135,8 @@ files:
|
|
134
135
|
- test/dummy/db/migrate/20160602144150_create_items.rb
|
135
136
|
- test/dummy/db/migrate/20160602144324_create_users.rb
|
136
137
|
- test/dummy/db/schema.rb
|
138
|
+
- test/dummy/db/test.sqlite3
|
139
|
+
- test/dummy/log/test.log
|
137
140
|
- test/dummy/public/404.html
|
138
141
|
- test/dummy/public/422.html
|
139
142
|
- test/dummy/public/500.html
|
@@ -159,11 +162,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
162
|
version: '0'
|
160
163
|
requirements: []
|
161
164
|
rubyforge_project:
|
162
|
-
rubygems_version: 2.
|
165
|
+
rubygems_version: 2.6.8
|
163
166
|
signing_key:
|
164
167
|
specification_version: 4
|
165
168
|
summary: A Ruby on Rails breadcrumbs plugin.
|
166
169
|
test_files:
|
170
|
+
- test/buoys_generator_test.rb
|
167
171
|
- test/buoys_buoy_test.rb
|
168
172
|
- test/buoys_test.rb
|
169
173
|
- test/buoys_loader_test.rb
|
@@ -184,12 +188,14 @@ test_files:
|
|
184
188
|
- test/dummy/bin/bundle
|
185
189
|
- test/dummy/db/migrate/20160602144324_create_users.rb
|
186
190
|
- test/dummy/db/migrate/20160602144150_create_items.rb
|
191
|
+
- test/dummy/db/test.sqlite3
|
187
192
|
- test/dummy/db/schema.rb
|
188
193
|
- test/dummy/public/422.html
|
189
194
|
- test/dummy/public/404.html
|
190
195
|
- test/dummy/public/500.html
|
191
196
|
- test/dummy/public/favicon.ico
|
192
197
|
- test/dummy/Rakefile
|
198
|
+
- test/dummy/log/test.log
|
193
199
|
- test/dummy/config/database.yml
|
194
200
|
- test/dummy/config/initializers/assets.rb
|
195
201
|
- test/dummy/config/initializers/cookies_serializer.rb
|