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: d994da13cc8dffb8a53814c5e82c09ce66b926fe
4
- data.tar.gz: d384e0576e36d45b7afe84c66515414706b4c517
3
+ metadata.gz: 73f9d08290d752493ee25449548d8cc6c13a1c30
4
+ data.tar.gz: 5f25f0c03cefb84170338449d7fec59d2bf2f73f
5
5
  SHA512:
6
- metadata.gz: a2df8ff3e804c9bb4d2eefa746ea0c6817e0b89e453113422ad669a47d0a7258852113e2576495c91d8954d08492ff1162f0ce25f769ba8bc497c03732330293
7
- data.tar.gz: 684081a938d52d29690900a6ed21e5a47cf07e95a48a5f3567147a4435c70e241a178617a5e24083f95c6648ffd773278694b024a2b652b0c28fe869f31a883d
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.alpha9)
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.1)
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.4)
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)
@@ -50,7 +50,7 @@
50
50
 
51
51
  .table>tbody>tr
52
52
  td:last-child
53
- height: 45px // Maybe find another way
53
+ height: 47px // Maybe find another way
54
54
  .dropdown-action
55
55
  display: none
56
56
 
@@ -38,13 +38,13 @@ module UiBibz::Ui::Core
38
38
 
39
39
  # Render html tag
40
40
  def render
41
- content_tag :a, content, html_options
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-title"
47
+ "card-link"
48
48
  end
49
49
 
50
50
  end
@@ -1,3 +1,3 @@
1
1
  module UiBibz
2
- VERSION = "2.0.0.alpha9"
2
+ VERSION = "2.0.0.alpha10"
3
3
  end
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-title\">link</a></div></div>"
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.alpha9
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-05-26 00:00:00.000000000 Z
11
+ date: 2016-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler