effective_style_guide 1.3.1 → 1.3.2

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: ed8b6b15c1ad339baefa4d5818a88641c22362ef
4
- data.tar.gz: d492f3ecf88672ec214e5d409f5a6b8082d60282
3
+ metadata.gz: 94b427cdcef51cc3acbb8c90554099c1f13bed06
4
+ data.tar.gz: 91fc691397bf610178360b8573c7c509743d4d77
5
5
  SHA512:
6
- metadata.gz: 27828b559d150fe093eec90d73462f872f7a7e4cb3bdc8176affec521e6a4aa55030c4704d7a755c5c5999b381ee6e1f8ae0d3ca12790efca30643a5c85d4774
7
- data.tar.gz: a5220884be67dbec004d28f9a192803e661ccd15a257fa6692f78ec02962d11a6f0e76b037fb11224beebf9d03d9ac9a520e4d10cdd9c9d0121e06a3db80b2fa
6
+ metadata.gz: f3534db8756db30a321bebe3f8c0c99dbbff5634bcf82d14323eb284a43fbd2598a0d1355cc1e7310a55ec8d6b420c889f238a6031131c95628c6808a83464cd
7
+ data.tar.gz: 5225ad02977bdc909790abafd1c88c75df761b4b93048cc1e4390689f5314602411da34143b0eb2ce2b69b389fa75f9a66e7ba3c99c7994bda3233884a06883a
data/README.md CHANGED
@@ -37,7 +37,7 @@ You must include the Twitter Bootstrap3 Javascript and CSS assets on your own.
37
37
 
38
38
  ## Usage
39
39
 
40
- Visit /styleguide to test how the bootstrap3 components look with your site's design (css theme).
40
+ Visit `/styleguide` to test how the bootstrap3 components look with your site's design (css theme).
41
41
 
42
42
 
43
43
  ### Add Custom Components
@@ -2,12 +2,14 @@ if defined?(EffectiveDatatables)
2
2
  module Effective
3
3
  module Datatables
4
4
  class StyleGuide < Effective::Datatable
5
- array_column :id, :width => '10%'
6
- array_column :material, :filter => {:type => :select, :values => ['Stainless Steel', 'Copper', 'Cast Iron', 'Composite']}
7
- array_column :bowl, :filter => {:type => :select, :values => ['Single Bowl', 'Double Bowl', 'Triple Bowl']}
8
- array_column :name
9
- array_column :actions, :filter => false, :sortable => false do
10
- [link_to('View', '#'), link_to('Edit', '#')].join('&nbsp;-&nbsp;').html_safe
5
+ datatable do
6
+ array_column :id, :width => '10%'
7
+ array_column :material, :filter => {:type => :select, :values => ['Stainless Steel', 'Copper', 'Cast Iron', 'Composite']}
8
+ array_column :bowl, :filter => {:type => :select, :values => ['Single Bowl', 'Double Bowl', 'Triple Bowl']}
9
+ array_column :name
10
+ array_column :actions, :filter => false, :sortable => false do
11
+ [link_to('View', '#'), link_to('Edit', '#')].join('&nbsp;-&nbsp;').html_safe
12
+ end
11
13
  end
12
14
 
13
15
  def collection
@@ -1,3 +1,3 @@
1
1
  module EffectiveStyleGuide
2
- VERSION = '1.3.1'.freeze
2
+ VERSION = '1.3.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_style_guide
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-01 00:00:00.000000000 Z
11
+ date: 2015-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails