arbre 1.1.1 → 1.2.0.rc1
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 +5 -5
- data/.gitignore +1 -1
- data/.rubocop.yml +15 -0
- data/.travis.yml +12 -2
- data/CHANGELOG.md +25 -2
- data/Gemfile +10 -3
- data/Gemfile.lock +221 -0
- data/README.md +25 -92
- data/Rakefile +4 -1
- data/arbre.gemspec +2 -0
- data/docs/Gemfile +2 -0
- data/docs/_config.yml +7 -0
- data/docs/_includes/footer.html +8 -0
- data/docs/_includes/google-analytics.html +16 -0
- data/docs/_includes/head.html +7 -0
- data/docs/_includes/toc.html +12 -0
- data/docs/_includes/top-menu.html +8 -0
- data/docs/_layouts/default.html +21 -0
- data/docs/index.md +106 -0
- data/docs/stylesheets/main.css +1152 -0
- data/lib/arbre/context.rb +1 -1
- data/lib/arbre/element.rb +12 -2
- data/lib/arbre/element/builder_methods.rb +4 -5
- data/lib/arbre/rails/template_handler.rb +22 -2
- data/lib/arbre/version.rb +1 -1
- data/spec/arbre/integration/html_spec.rb +80 -81
- data/spec/arbre/unit/component_spec.rb +5 -5
- data/spec/changelog_spec.rb +27 -0
- data/spec/rails/integration/rendering_spec.rb +47 -16
- data/spec/rails/rails_spec_helper.rb +1 -5
- data/spec/rails/stub_app/log/.gitignore +1 -1
- data/spec/rails/templates/arbre/page_with_helpers.arb +7 -0
- data/tasks/lint.rake +69 -0
- data/tasks/release.rake +6 -0
- metadata +23 -37
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a26ff9d3e868b1f1c08f77a044351362d4b8239636afcc940b1fcc42b3bd7d00
|
|
4
|
+
data.tar.gz: 90c0f8a6c3ec0a95aae9353ee3b2e2a8bdfc935592b960898b6601ede8ec1fe1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c134d1ac5746e033c65797d6331940548e02dbad9ffdcb72c7e7a5c45b998bac863c3e027a2a4d70ff81be817e389009f0b2a9d41eb12477515732c33a09041
|
|
7
|
+
data.tar.gz: 225425baf0aa11f5a262be40a6bae5b3a6b6bedf131048ee2eaf1884dd1d051e94aee264706e16d13cc5bced136e5ff98725727fe8c3a02bbda7939b49f4f788
|
data/.gitignore
CHANGED
data/.rubocop.yml
ADDED
data/.travis.yml
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
language: ruby
|
|
2
2
|
sudo: false
|
|
3
|
+
before_install:
|
|
4
|
+
- gem update --system 3.0.3
|
|
5
|
+
- gem install bundler:2.0.1
|
|
3
6
|
rvm:
|
|
4
|
-
-
|
|
5
|
-
- 2.
|
|
7
|
+
- 2.3.8
|
|
8
|
+
- 2.4.5
|
|
9
|
+
- 2.5.5
|
|
10
|
+
- 2.6.2
|
|
11
|
+
- jruby-9.1.17.0
|
|
12
|
+
- jruby-9.2.6.0
|
|
13
|
+
branches:
|
|
14
|
+
only:
|
|
15
|
+
- master
|
|
6
16
|
cache: bundler
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Master (unreleased)
|
|
4
|
+
|
|
5
|
+
## 1.2.0.rc1 [☰](https://github.com/activeadmin/arbre/compare/v1.1.1...v1.2.0.rc1)
|
|
6
|
+
|
|
7
|
+
* Fix deprecation warning about single arity template handlers on Rails 6. [#110][] by [@aramvisser][]
|
|
8
|
+
* Fix rendering `link_to` with a block in a arbre template. [#64][] by [@varyonic][]
|
|
9
|
+
* Drop support for EOL'd rubies (under 2.3). [#78][] by [@deivid-rodriguez][]
|
|
10
|
+
|
|
11
|
+
## 1.1.1 [☰](https://github.com/activeadmin/arbre/compare/v1.1.0...v1.1.1)
|
|
12
|
+
|
|
13
|
+
* Use mime-types 2.x for Ruby 1.9 by [@timoschilling][]
|
|
14
|
+
* Verify Ruby 2.3 support. [#59][] by [@dlackty][]
|
|
2
15
|
|
|
3
16
|
## 1.1.0 [☰](https://github.com/activeadmin/arbre/compare/v1.0.3...v1.1.0)
|
|
4
17
|
|
|
@@ -56,12 +69,22 @@ Initial release and extraction from Active Admin
|
|
|
56
69
|
[#39]: https://github.com/activeadmin/arbre/issues/39
|
|
57
70
|
[#40]: https://github.com/activeadmin/arbre/issues/40
|
|
58
71
|
[#49]: https://github.com/activeadmin/arbre/issues/49
|
|
72
|
+
[#59]: https://github.com/activeadmin/arbre/issues/59
|
|
73
|
+
[#64]: https://github.com/activeadmin/arbre/pull/64
|
|
74
|
+
[#78]: https://github.com/activeadmin/arbre/pull/78
|
|
75
|
+
[#110]: https://github.com/activeadmin/arbre/pull/110
|
|
76
|
+
|
|
77
|
+
[@aramvisser]: https://github.com/aramvisser
|
|
59
78
|
[@LTe]: https://github.com/LTe
|
|
60
79
|
[@OscarBarrett]: https://github.com/OscarBarrett
|
|
61
80
|
[@alexesDev]: https://github.com/alexesDev
|
|
81
|
+
[@deivid-rodriguez]: https://github.com/deivid-rodriguez
|
|
82
|
+
[@dlackty]: https://github.com/dlackty
|
|
62
83
|
[@dtaniwaki]: https://github.com/dtaniwaki
|
|
63
84
|
[@gregbell]: https://github.com/gregbell
|
|
64
85
|
[@jpmckinney]: https://github.com/jpmckinney
|
|
65
86
|
[@kaapa]: https://github.com/kaapa
|
|
66
87
|
[@ramontayag]: https://github.com/ramontayag
|
|
67
|
-
[@seanlinsley]: https://github.com/seanlinsley
|
|
88
|
+
[@seanlinsley]: https://github.com/seanlinsley
|
|
89
|
+
[@timoschilling]: https://github.com/timoschilling
|
|
90
|
+
[@varyonic]: https://github.com/varyonic
|
data/Gemfile
CHANGED
|
@@ -2,16 +2,23 @@ source 'http://rubygems.org'
|
|
|
2
2
|
|
|
3
3
|
gemspec
|
|
4
4
|
|
|
5
|
-
gem '
|
|
5
|
+
gem 'rake'
|
|
6
6
|
|
|
7
7
|
group :test do
|
|
8
8
|
gem 'rspec'
|
|
9
|
-
gem 'rack'
|
|
10
9
|
gem 'pry'
|
|
11
10
|
end
|
|
12
11
|
|
|
12
|
+
group :tools do
|
|
13
|
+
gem 'rubocop'
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
group :release do
|
|
17
|
+
gem 'chandler'
|
|
18
|
+
end
|
|
19
|
+
|
|
13
20
|
group :rails do
|
|
14
|
-
gem 'rails'
|
|
21
|
+
gem 'rails', '>= 5.0.0.1' # fixes CVE-2016-6316
|
|
15
22
|
gem 'rspec-rails'
|
|
16
23
|
gem 'combustion'
|
|
17
24
|
gem 'capybara'
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
arbre (1.2.0.rc1)
|
|
5
|
+
activesupport (>= 3.0.0)
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: http://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
actioncable (5.2.2.1)
|
|
11
|
+
actionpack (= 5.2.2.1)
|
|
12
|
+
nio4r (~> 2.0)
|
|
13
|
+
websocket-driver (>= 0.6.1)
|
|
14
|
+
actionmailer (5.2.2.1)
|
|
15
|
+
actionpack (= 5.2.2.1)
|
|
16
|
+
actionview (= 5.2.2.1)
|
|
17
|
+
activejob (= 5.2.2.1)
|
|
18
|
+
mail (~> 2.5, >= 2.5.4)
|
|
19
|
+
rails-dom-testing (~> 2.0)
|
|
20
|
+
actionpack (5.2.2.1)
|
|
21
|
+
actionview (= 5.2.2.1)
|
|
22
|
+
activesupport (= 5.2.2.1)
|
|
23
|
+
rack (~> 2.0)
|
|
24
|
+
rack-test (>= 0.6.3)
|
|
25
|
+
rails-dom-testing (~> 2.0)
|
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
27
|
+
actionview (5.2.2.1)
|
|
28
|
+
activesupport (= 5.2.2.1)
|
|
29
|
+
builder (~> 3.1)
|
|
30
|
+
erubi (~> 1.4)
|
|
31
|
+
rails-dom-testing (~> 2.0)
|
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
33
|
+
activejob (5.2.2.1)
|
|
34
|
+
activesupport (= 5.2.2.1)
|
|
35
|
+
globalid (>= 0.3.6)
|
|
36
|
+
activemodel (5.2.2.1)
|
|
37
|
+
activesupport (= 5.2.2.1)
|
|
38
|
+
activerecord (5.2.2.1)
|
|
39
|
+
activemodel (= 5.2.2.1)
|
|
40
|
+
activesupport (= 5.2.2.1)
|
|
41
|
+
arel (>= 9.0)
|
|
42
|
+
activestorage (5.2.2.1)
|
|
43
|
+
actionpack (= 5.2.2.1)
|
|
44
|
+
activerecord (= 5.2.2.1)
|
|
45
|
+
marcel (~> 0.3.1)
|
|
46
|
+
activesupport (5.2.2.1)
|
|
47
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
48
|
+
i18n (>= 0.7, < 2)
|
|
49
|
+
minitest (~> 5.1)
|
|
50
|
+
tzinfo (~> 1.1)
|
|
51
|
+
addressable (2.5.2)
|
|
52
|
+
public_suffix (>= 2.0.2, < 4.0)
|
|
53
|
+
arel (9.0.0)
|
|
54
|
+
ast (2.4.0)
|
|
55
|
+
builder (3.2.3)
|
|
56
|
+
capybara (3.15.0)
|
|
57
|
+
addressable
|
|
58
|
+
mini_mime (>= 0.1.3)
|
|
59
|
+
nokogiri (~> 1.8)
|
|
60
|
+
rack (>= 1.6.0)
|
|
61
|
+
rack-test (>= 0.6.3)
|
|
62
|
+
regexp_parser (~> 1.2)
|
|
63
|
+
xpath (~> 3.2)
|
|
64
|
+
chandler (0.9.0)
|
|
65
|
+
netrc
|
|
66
|
+
octokit (>= 2.2.0)
|
|
67
|
+
coderay (1.1.2)
|
|
68
|
+
combustion (1.1.0)
|
|
69
|
+
activesupport (>= 3.0.0)
|
|
70
|
+
railties (>= 3.0.0)
|
|
71
|
+
thor (>= 0.14.6)
|
|
72
|
+
concurrent-ruby (1.1.5)
|
|
73
|
+
crass (1.0.4)
|
|
74
|
+
diff-lcs (1.3)
|
|
75
|
+
erubi (1.8.0)
|
|
76
|
+
faraday (0.15.4)
|
|
77
|
+
multipart-post (>= 1.2, < 3)
|
|
78
|
+
ffi (1.9.25-java)
|
|
79
|
+
globalid (0.4.2)
|
|
80
|
+
activesupport (>= 4.2.0)
|
|
81
|
+
i18n (1.6.0)
|
|
82
|
+
concurrent-ruby (~> 1.0)
|
|
83
|
+
jaro_winkler (1.5.2)
|
|
84
|
+
jaro_winkler (1.5.2-java)
|
|
85
|
+
loofah (2.2.3)
|
|
86
|
+
crass (~> 1.0.2)
|
|
87
|
+
nokogiri (>= 1.5.9)
|
|
88
|
+
mail (2.7.1)
|
|
89
|
+
mini_mime (>= 0.1.1)
|
|
90
|
+
marcel (0.3.3)
|
|
91
|
+
mimemagic (~> 0.3.2)
|
|
92
|
+
method_source (0.9.2)
|
|
93
|
+
mimemagic (0.3.3)
|
|
94
|
+
mini_mime (1.0.1)
|
|
95
|
+
mini_portile2 (2.4.0)
|
|
96
|
+
minitest (5.11.3)
|
|
97
|
+
multipart-post (2.0.0)
|
|
98
|
+
netrc (0.11.0)
|
|
99
|
+
nio4r (2.3.1)
|
|
100
|
+
nio4r (2.3.1-java)
|
|
101
|
+
nokogiri (1.10.1)
|
|
102
|
+
mini_portile2 (~> 2.4.0)
|
|
103
|
+
nokogiri (1.10.1-java)
|
|
104
|
+
octokit (4.13.0)
|
|
105
|
+
sawyer (~> 0.8.0, >= 0.5.3)
|
|
106
|
+
parallel (1.13.0)
|
|
107
|
+
parser (2.6.0.0)
|
|
108
|
+
ast (~> 2.4.0)
|
|
109
|
+
powerpack (0.1.2)
|
|
110
|
+
pry (0.12.2)
|
|
111
|
+
coderay (~> 1.1.0)
|
|
112
|
+
method_source (~> 0.9.0)
|
|
113
|
+
pry (0.12.2-java)
|
|
114
|
+
coderay (~> 1.1.0)
|
|
115
|
+
method_source (~> 0.9.0)
|
|
116
|
+
spoon (~> 0.0)
|
|
117
|
+
public_suffix (3.0.3)
|
|
118
|
+
rack (2.0.6)
|
|
119
|
+
rack-test (1.1.0)
|
|
120
|
+
rack (>= 1.0, < 3)
|
|
121
|
+
rails (5.2.2.1)
|
|
122
|
+
actioncable (= 5.2.2.1)
|
|
123
|
+
actionmailer (= 5.2.2.1)
|
|
124
|
+
actionpack (= 5.2.2.1)
|
|
125
|
+
actionview (= 5.2.2.1)
|
|
126
|
+
activejob (= 5.2.2.1)
|
|
127
|
+
activemodel (= 5.2.2.1)
|
|
128
|
+
activerecord (= 5.2.2.1)
|
|
129
|
+
activestorage (= 5.2.2.1)
|
|
130
|
+
activesupport (= 5.2.2.1)
|
|
131
|
+
bundler (>= 1.3.0)
|
|
132
|
+
railties (= 5.2.2.1)
|
|
133
|
+
sprockets-rails (>= 2.0.0)
|
|
134
|
+
rails-dom-testing (2.0.3)
|
|
135
|
+
activesupport (>= 4.2.0)
|
|
136
|
+
nokogiri (>= 1.6)
|
|
137
|
+
rails-html-sanitizer (1.0.4)
|
|
138
|
+
loofah (~> 2.2, >= 2.2.2)
|
|
139
|
+
railties (5.2.2.1)
|
|
140
|
+
actionpack (= 5.2.2.1)
|
|
141
|
+
activesupport (= 5.2.2.1)
|
|
142
|
+
method_source
|
|
143
|
+
rake (>= 0.8.7)
|
|
144
|
+
thor (>= 0.19.0, < 2.0)
|
|
145
|
+
rainbow (3.0.0)
|
|
146
|
+
rake (12.3.2)
|
|
147
|
+
regexp_parser (1.3.0)
|
|
148
|
+
rspec (3.8.0)
|
|
149
|
+
rspec-core (~> 3.8.0)
|
|
150
|
+
rspec-expectations (~> 3.8.0)
|
|
151
|
+
rspec-mocks (~> 3.8.0)
|
|
152
|
+
rspec-core (3.8.0)
|
|
153
|
+
rspec-support (~> 3.8.0)
|
|
154
|
+
rspec-expectations (3.8.2)
|
|
155
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
156
|
+
rspec-support (~> 3.8.0)
|
|
157
|
+
rspec-mocks (3.8.0)
|
|
158
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
159
|
+
rspec-support (~> 3.8.0)
|
|
160
|
+
rspec-rails (3.8.2)
|
|
161
|
+
actionpack (>= 3.0)
|
|
162
|
+
activesupport (>= 3.0)
|
|
163
|
+
railties (>= 3.0)
|
|
164
|
+
rspec-core (~> 3.8.0)
|
|
165
|
+
rspec-expectations (~> 3.8.0)
|
|
166
|
+
rspec-mocks (~> 3.8.0)
|
|
167
|
+
rspec-support (~> 3.8.0)
|
|
168
|
+
rspec-support (3.8.0)
|
|
169
|
+
rubocop (0.64.0)
|
|
170
|
+
jaro_winkler (~> 1.5.1)
|
|
171
|
+
parallel (~> 1.10)
|
|
172
|
+
parser (>= 2.5, != 2.5.1.1)
|
|
173
|
+
powerpack (~> 0.1)
|
|
174
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
175
|
+
ruby-progressbar (~> 1.7)
|
|
176
|
+
unicode-display_width (~> 1.4.0)
|
|
177
|
+
ruby-progressbar (1.10.0)
|
|
178
|
+
sawyer (0.8.1)
|
|
179
|
+
addressable (>= 2.3.5, < 2.6)
|
|
180
|
+
faraday (~> 0.8, < 1.0)
|
|
181
|
+
spoon (0.0.6)
|
|
182
|
+
ffi
|
|
183
|
+
sprockets (3.7.2)
|
|
184
|
+
concurrent-ruby (~> 1.0)
|
|
185
|
+
rack (> 1, < 3)
|
|
186
|
+
sprockets-rails (3.2.1)
|
|
187
|
+
actionpack (>= 4.0)
|
|
188
|
+
activesupport (>= 4.0)
|
|
189
|
+
sprockets (>= 3.0.0)
|
|
190
|
+
thor (0.20.3)
|
|
191
|
+
thread_safe (0.3.6)
|
|
192
|
+
thread_safe (0.3.6-java)
|
|
193
|
+
tzinfo (1.2.5)
|
|
194
|
+
thread_safe (~> 0.1)
|
|
195
|
+
unicode-display_width (1.4.1)
|
|
196
|
+
websocket-driver (0.7.0)
|
|
197
|
+
websocket-extensions (>= 0.1.0)
|
|
198
|
+
websocket-driver (0.7.0-java)
|
|
199
|
+
websocket-extensions (>= 0.1.0)
|
|
200
|
+
websocket-extensions (0.1.3)
|
|
201
|
+
xpath (3.2.0)
|
|
202
|
+
nokogiri (~> 1.8)
|
|
203
|
+
|
|
204
|
+
PLATFORMS
|
|
205
|
+
java
|
|
206
|
+
ruby
|
|
207
|
+
|
|
208
|
+
DEPENDENCIES
|
|
209
|
+
arbre!
|
|
210
|
+
capybara
|
|
211
|
+
chandler
|
|
212
|
+
combustion
|
|
213
|
+
pry
|
|
214
|
+
rails (>= 5.0.0.1)
|
|
215
|
+
rake
|
|
216
|
+
rspec
|
|
217
|
+
rspec-rails
|
|
218
|
+
rubocop
|
|
219
|
+
|
|
220
|
+
BUNDLED WITH
|
|
221
|
+
2.0.1
|
data/README.md
CHANGED
|
@@ -1,110 +1,43 @@
|
|
|
1
1
|
# Arbre - HTML Views in Ruby
|
|
2
2
|
|
|
3
|
-
Arbre makes it easy to generate HTML directly in Ruby. This gem was extracted from [Active Admin](https://github.com/activeadmin/active_admin).
|
|
3
|
+
[Arbre][docs] makes it easy to generate HTML directly in Ruby. This gem was extracted from [Active Admin](https://github.com/activeadmin/active_admin).
|
|
4
4
|
|
|
5
|
-
[![Version
|
|
6
|
-
[![Travis CI]
|
|
5
|
+
[![Version ][rubygems_badge]][rubygems]
|
|
6
|
+
[![Travis CI ][travis_badge]][travis]
|
|
7
|
+
[![Tidelift ][tidelift_badge]][tidelift]
|
|
7
8
|
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
```ruby
|
|
11
|
-
html = Arbre::Context.new do
|
|
12
|
-
h2 "Why is Arbre awesome?"
|
|
13
|
-
|
|
14
|
-
ul do
|
|
15
|
-
li "The DOM is implemented in ruby"
|
|
16
|
-
li "You can create object oriented views"
|
|
17
|
-
li "Templates suck"
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
puts html.to_s # =>
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
```html
|
|
25
|
-
<h2>Why is Arbre awesome?</h2>
|
|
26
|
-
<ul>
|
|
27
|
-
<li>The DOM is implemented in ruby</li>
|
|
28
|
-
<li>You can create object oriented views</li>
|
|
29
|
-
<li>Templates suck</li>
|
|
30
|
-
</ul>
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## The DOM in Ruby
|
|
9
|
+
## Goals
|
|
34
10
|
|
|
35
11
|
The purpose of Arbre is to leave the view as ruby objects as long
|
|
36
12
|
as possible. This allows OO Design to be used to implement the view layer.
|
|
37
13
|
|
|
38
|
-
|
|
39
|
-
html = Arbre::Context.new do
|
|
40
|
-
h2 "Why Arbre is awesome?"
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
html.children.size # => 1
|
|
44
|
-
html.children.first # => #<Arbre::HTML::H2>
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Components
|
|
48
|
-
|
|
49
|
-
The purpose of Arbre is to be able to create shareable and extendable HTML
|
|
50
|
-
components. To do this, you create a subclass of Arbre::Component.
|
|
51
|
-
|
|
52
|
-
For example:
|
|
53
|
-
|
|
54
|
-
```ruby
|
|
55
|
-
class Panel < Arbre::Component
|
|
56
|
-
builder_method :panel
|
|
57
|
-
|
|
58
|
-
def build(title, attributes = {})
|
|
59
|
-
super(attributes)
|
|
14
|
+
## Getting started
|
|
60
15
|
|
|
61
|
-
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
```
|
|
16
|
+
* Check out [the docs][docs].
|
|
65
17
|
|
|
66
|
-
|
|
67
|
-
when using the DSL. The arguments passed into the builder_method will be passed
|
|
68
|
-
into the #build method for you.
|
|
18
|
+
## Need help?
|
|
69
19
|
|
|
70
|
-
|
|
20
|
+
Please use [StackOverflow][stackoverflow] for help requests and how-to questions.
|
|
71
21
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
panel "Hello World", id: "my-panel" do
|
|
75
|
-
span "Inside the panel"
|
|
76
|
-
end
|
|
77
|
-
end
|
|
22
|
+
Please open GitHub issues for bugs and enhancements only, not general help requests.
|
|
23
|
+
Please search previous issues (and Google and StackOverflow) before creating a new issue.
|
|
78
24
|
|
|
79
|
-
|
|
80
|
-
```
|
|
25
|
+
## Want to support us?
|
|
81
26
|
|
|
82
|
-
|
|
83
|
-
<div class='panel' id="my-panel">
|
|
84
|
-
<h3 class='panel-title'>Hello World</h3>
|
|
85
|
-
<span>Inside the panel</span>
|
|
86
|
-
</div>
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### Text Nodes
|
|
27
|
+
Subscribe to [Tidelift][tidelift] to support Arbre and get licensing assurances and timely security notifications.
|
|
90
28
|
|
|
91
|
-
|
|
29
|
+
## Security contact information
|
|
92
30
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
panel "Hello World", id: "my-panel" do
|
|
96
|
-
span "Inside the panel"
|
|
97
|
-
text_node "Plain text"
|
|
98
|
-
end
|
|
99
|
-
end
|
|
31
|
+
Please use the Tidelift security contact to [report a security vulnerability][Tidelift security contact].
|
|
32
|
+
Tidelift will coordinate the fix and disclosure.
|
|
100
33
|
|
|
101
|
-
|
|
102
|
-
|
|
34
|
+
[rubygems_badge]: http://img.shields.io/gem/v/arbre.svg
|
|
35
|
+
[rubygems]: https://rubygems.org/gems/arbre
|
|
36
|
+
[travis_badge]: http://img.shields.io/travis/activeadmin/arbre/master.svg
|
|
37
|
+
[travis]: https://travis-ci.org/activeadmin/arbre
|
|
38
|
+
[tidelift_badge]: https://tidelift.com/badges/github/activeadmin/arbre
|
|
39
|
+
[tidelift]: https://tidelift.com/subscription/pkg/rubygems-arbre?utm_source=rubygems-arbre&utm_medium=readme
|
|
103
40
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
<span>Inside the panel</span>
|
|
108
|
-
Plain text
|
|
109
|
-
</div>
|
|
110
|
-
```
|
|
41
|
+
[docs]: https://activeadmin.github.io/arbre/
|
|
42
|
+
[stackoverflow]: http://stackoverflow.com/questions/tagged/arbre
|
|
43
|
+
[Tidelift security contact]: https://tidelift.com/security
|