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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d16e99afe847994fe48880c1cfce0f6bb23bcab4
4
- data.tar.gz: 49fcd3de0099b3aa1d51594d560c6d0d0459dd46
3
+ metadata.gz: be1469bb924707d9e696d97db2ba7531add4797f
4
+ data.tar.gz: 4910cd5dcfe4c3d6fc0cd9a9a1d780286378f866
5
5
  SHA512:
6
- metadata.gz: 16e1ad68e5bed2c3d169d379eefd8fec5111696b1c9fc7c843a3a27274b55874e7b8c559d4d214b52baa596a595115d95b5ae6db66496e979dd97ecbb91b2370
7
- data.tar.gz: 262bb71f8959c9a362826ce5d23861df633f891a5a16f2c1dcbcd530d6dd4c174ce06ad687a1ab04dd98dbebcaba833abfa3596ad88cee6c100ec046de41bdd9
6
+ metadata.gz: a8647ee1765344e582aca4c6b3c3c6706a4b62c89f9a6de4152d32b0c1fb774efade696db30e86f40af617747a94707ce1f12e86896a0b3042f498cc57cd0fbf
7
+ data.tar.gz: be49d9154b2f2647c6a500b9f8121e8b9e4fa50488ceb0b11176ce5f8f7815e0de6c901c8120b54974f0210f1802d4efcf35e51d84292473e13831e39ea6fe29
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -3,20 +3,20 @@
3
3
  %tr{ id: feature.name + '_ability'}
4
4
  %th= feature.title
5
5
  %td
6
- - case feature.setting_type
7
- - when 'boolean'
8
- - if can? :use, feature.name.to_sym
9
- = icon 'ok'
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
- = 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)
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.8 ruby lib
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.8"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paid_up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren