blankable 0.1.0 → 0.2.0

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: 973138bcc2944fc57a84523e600cbdeaaf2fcd23
4
- data.tar.gz: b595dc7e5369de981dd0c333562666af2a4b603d
3
+ metadata.gz: 601cdc5a0447c2b71574219f4327bbda6da6abb5
4
+ data.tar.gz: 91a36e6d87f7e058607c53ab5082f6f3f87a9a40
5
5
  SHA512:
6
- metadata.gz: cf5a30f0f06de9d491cdc76ad02ecac57d36bd5942747d749a930fde73324e7e96eed9db2f4e066b8a90b16ac06bf312cf8ac52124e47dc044f322f3db5a9c41
7
- data.tar.gz: c1aabc7675e5f8a9bde8cdbe8ac5d7735d89eeb3b1980070900d14595202ea694f00020e70ba1b86b4313bd5a6804eba35f8987e866b361b079de1c638a9da65
6
+ metadata.gz: fda6341c1838fdb4dad165ed56fa9538e3cc869922e7cc8af52c356592430420493cab6b35bf95768b02aef5d73db46b70ddfc2b0d9d18c4615f3492692943d4
7
+ data.tar.gz: 2ca2c6f8b65315ff95ac451a0d1a8b555cbaccf7b5d390e8c839b88b0be8d5800d7230925f3c8747c6635a3dfb01a25b05b8e09a6d025cd64d2735b8127a79f2
@@ -1,7 +1,9 @@
1
1
 
2
- #### [0.1.0]
2
+ #### [Current]
3
+ * [5ca27e0](../../commit/5ca27e0) - __(Muhammet DİLEK)__ grid partial renamed
3
4
 
4
- ####
5
- * [eb9084d](../../commit/eb9084d) #1 hotfix __(Muhammet DİLEK)__
6
- * [54fb420](../../commit/54fb420) #1 gem created __(Muhammet DİLEK)__
7
- * [cc33ace](../../commit/cc33ace) Initial commit __(Muhammet DİLEK)__
5
+ #### 0.1.0
6
+ * [e78c001](../../commit/e78c001) - __(Muhammet DİLEK)__ bump version 0.1.0
7
+ * [eb9084d](../../commit/eb9084d) - __(Muhammet DİLEK)__ [#1](../../issues/1) hotfix
8
+ * [54fb420](../../commit/54fb420) - __(Muhammet DİLEK)__ [#1](../../issues/1) gem created
9
+ * [cc33ace](../../commit/cc33ace) - __(Muhammet DİLEK)__ Initial commit
@@ -1,3 +1,3 @@
1
1
  module Blankable
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -1,11 +1,7 @@
1
1
  module Blankable
2
2
  module ViewHelper
3
3
  def blankable(contents)
4
- if contents.size == 0
5
- render partial: 'blank'
6
- else
7
- render partial: 'grid'
8
- end
4
+ render partial: contents.size == 0 ? 'blank' : 'list'
9
5
  end
10
6
  end
11
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blankable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muhammet DİLEK
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-09 00:00:00.000000000 Z
11
+ date: 2013-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler