ui_bibz 2.0.0.alpha9 → 2.0.0.alpha10
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73f9d08290d752493ee25449548d8cc6c13a1c30
|
4
|
+
data.tar.gz: 5f25f0c03cefb84170338449d7fec59d2bf2f73f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aeec81aac06870dc1e103d7874969c408c373682dfba8dd167424dc9d3525bbf05f1d1377a8aeefed7c5d75c8c954676b5dbeac15b49b872bf16633245ad6aa
|
7
|
+
data.tar.gz: e35fcdb606f939287a1cc2dc47f8228a93878e3700488d9900e391f950061c835358fca4e32a6a15c1ed8a8e7d3cf4127b0dc516ff4bdea6580dbd0e52851150
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ui_bibz (2.0.0.
|
4
|
+
ui_bibz (2.0.0.alpha10)
|
5
5
|
bootstrap (< 4.0.0.alpha3)
|
6
6
|
bundler (>= 1.8.4)
|
7
7
|
font-awesome-sass
|
@@ -52,7 +52,7 @@ GEM
|
|
52
52
|
thread_safe (~> 0.3, >= 0.3.4)
|
53
53
|
tzinfo (~> 1.1)
|
54
54
|
arel (6.0.3)
|
55
|
-
autoprefixer-rails (6.3.6.
|
55
|
+
autoprefixer-rails (6.3.6.2)
|
56
56
|
execjs
|
57
57
|
awesome_print (1.6.1)
|
58
58
|
bootstrap (4.0.0.alpha2)
|
@@ -155,7 +155,7 @@ GEM
|
|
155
155
|
sqlite3 (1.3.11)
|
156
156
|
thor (0.19.1)
|
157
157
|
thread_safe (0.3.5)
|
158
|
-
tilt (2.0.
|
158
|
+
tilt (2.0.5)
|
159
159
|
tzinfo (1.2.2)
|
160
160
|
thread_safe (~> 0.1)
|
161
161
|
will-paginate-i18n (0.1.15)
|
@@ -38,13 +38,13 @@ module UiBibz::Ui::Core
|
|
38
38
|
|
39
39
|
# Render html tag
|
40
40
|
def render
|
41
|
-
|
41
|
+
link_to content, options[:url], html_options
|
42
42
|
end
|
43
43
|
|
44
44
|
private
|
45
45
|
|
46
46
|
def component_html_classes
|
47
|
-
"card-
|
47
|
+
"card-link"
|
48
48
|
end
|
49
49
|
|
50
50
|
end
|
data/lib/ui_bibz/version.rb
CHANGED
data/test/ui/card_test.rb
CHANGED
@@ -95,10 +95,10 @@ class CardTest < ActionView::TestCase
|
|
95
95
|
c.block tap: true do |b|
|
96
96
|
b.title "title"
|
97
97
|
b.text "text"
|
98
|
-
b.link 'link'
|
98
|
+
b.link 'link', url: '#'
|
99
99
|
end
|
100
100
|
end
|
101
|
-
expected = "<div class=\"card\"><div class=\"card-block\"><h4 class=\"card-title\">title</h4><p class=\"card-text\">text</p><a class=\"card-
|
101
|
+
expected = "<div class=\"card\"><div class=\"card-block\"><h4 class=\"card-title\">title</h4><p class=\"card-text\">text</p><a class=\"card-link\" href=\"#\">link</a></div></div>"
|
102
102
|
|
103
103
|
assert_equal expected, actual
|
104
104
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ui_bibz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.alpha10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thooams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|