paid_up 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/views/paid_up/features/_abilities_table.html.haml +16 -16
- data/paid_up.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be1469bb924707d9e696d97db2ba7531add4797f
|
4
|
+
data.tar.gz: 4910cd5dcfe4c3d6fc0cd9a9a1d780286378f866
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8647ee1765344e582aca4c6b3c3c6706a4b62c89f9a6de4152d32b0c1fb774efade696db30e86f40af617747a94707ce1f12e86896a0b3042f498cc57cd0fbf
|
7
|
+
data.tar.gz: be49d9154b2f2647c6a500b9f8121e8b9e4fa50488ceb0b11176ce5f8f7815e0de6c901c8120b54974f0210f1802d4efcf35e51d84292473e13831e39ea6fe29
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.9
|
@@ -3,20 +3,20 @@
|
|
3
3
|
%tr{ id: feature.name + '_ability'}
|
4
4
|
%th= feature.title
|
5
5
|
%td
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
- case feature.setting_type
|
7
|
+
- when 'boolean'
|
8
|
+
- if can? :use, feature.name.to_sym
|
9
|
+
= icon 'ok'
|
10
|
+
- else
|
11
|
+
= icon 'remove'
|
12
|
+
- when 'table_rows'
|
13
|
+
- if can? :own, feature.feature_model
|
14
|
+
= icon 'ok'
|
15
|
+
- else
|
16
|
+
= icon 'remove'
|
17
|
+
- if current_user.table_rows_unlimited?(feature.name)
|
18
|
+
= :unlimited.l
|
19
|
+
- else
|
20
|
+
= :x_of_y_remaining.l x: current_user.table_rows_remaining(feature.name), y: current_user.table_rows_allowed(feature.name)
|
10
21
|
- else
|
11
|
-
=
|
12
|
-
- when 'table_rows'
|
13
|
-
- if can? :own, feature.feature_model
|
14
|
-
= icon 'ok'
|
15
|
-
- else
|
16
|
-
= icon 'remove'
|
17
|
-
- if current_user.table_rows_unlimited?(feature.name)
|
18
|
-
= :unlimited.l
|
19
|
-
- else
|
20
|
-
= :x_of_y_remaining.l x: current_user.table_rows_remaining(feature.name), y: current_user.table_rows_allowed(feature.name)
|
21
|
-
- else
|
22
|
-
= :error.l
|
22
|
+
= :error.l
|
data/paid_up.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: paid_up 0.1.
|
5
|
+
# stub: paid_up 0.1.9 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "paid_up"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.9"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|