bullet_train-themes 1.19.2 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4de84403140b3fe6ab22833d6db278852c940af9021602d6a177ea5699419328
|
4
|
+
data.tar.gz: c0420537cafc00b177b8c824200ec8809d04d9c6c069a455fe0ee4d2d9859a7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51a8c9737bb3173f0e602791c823c347b267e8a51488092badff6f71d0df29789faf7af4107ce431af713bb754852b10fdcaada158c9a6289f691b61f4ca14ee
|
7
|
+
data.tar.gz: 6a63be11c49b65f977bfae8cf686dbcdf5d61b6e77b703a9c6ec61c5c32b4c39206ebc0eb05326e8abbc1d5ab2e9bf7a250f2c8ab7ef22b8a456f01be08c3954
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<% object ||= current_attributes_object %>
|
2
|
+
<% strategy ||= current_attributes_strategy || :none %>
|
3
|
+
<% source ||= nil %>
|
4
|
+
<% url ||= nil %>
|
5
|
+
<%
|
6
|
+
snippet_class ||= ""
|
7
|
+
snippet_class += " text-[0.75rem] text-slate-600 dark:text-slate-400 line-clamp-1"
|
8
|
+
%>
|
9
|
+
|
10
|
+
<% if object.public_send(attribute).present? %>
|
11
|
+
<%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %>
|
12
|
+
<code class="<%= snippet_class %>"><pre><%= object.send(source || attribute) %></pre></code>
|
13
|
+
<% end %>
|
14
|
+
<% end %>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: standard
|
@@ -99,6 +99,7 @@ files:
|
|
99
99
|
- app/views/themes/base/attributes/_block.html.erb
|
100
100
|
- app/views/themes/base/attributes/_boolean.html.erb
|
101
101
|
- app/views/themes/base/attributes/_code.html.erb
|
102
|
+
- app/views/themes/base/attributes/_code_snippet.html.erb
|
102
103
|
- app/views/themes/base/attributes/_date.html.erb
|
103
104
|
- app/views/themes/base/attributes/_date_and_time.html.erb
|
104
105
|
- app/views/themes/base/attributes/_days_ago.html.erb
|
@@ -149,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
150
|
- !ruby/object:Gem::Version
|
150
151
|
version: '0'
|
151
152
|
requirements: []
|
152
|
-
rubygems_version: 3.6.
|
153
|
+
rubygems_version: 3.6.7
|
153
154
|
specification_version: 4
|
154
155
|
summary: Bullet Train Themes
|
155
156
|
test_files: []
|