wbase 0.3.10 → 0.3.11

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: e7c775aa43323a1b22449c943877202145e578f3
4
- data.tar.gz: c78d58f16c5d8dbd3df83746259b5a61c03e82c1
3
+ metadata.gz: 0d81d2e805a4a4c5b09f9525cc6eeed6f7645c00
4
+ data.tar.gz: 5a4564de48fb410295438855ecca3dc9795dddc0
5
5
  SHA512:
6
- metadata.gz: ca3b3b93f2d21fd7e06dc2d356002e3ba1a854d4a31d7c804ec55c918dd48e79837963987eaf3ddb382dd32bc6b726d5ce632805c34bd50cf2b98b0c495c1180
7
- data.tar.gz: be417374cc01d576c595fbcfafc4cc352ff13333c5471b0da0d790d1b13c0aa8b02cfa8efbbce5837d62d6cfa0408679108bf5302a7e92329e5f2012c7472d9f
6
+ metadata.gz: 80d20f256e97dec917b4885d8a570533798b620f3a2c1709f9102ce79b4566f101be00439a16b9bd3afa55a08390fad1cc3821d5c9af68e4fdfec3067c02ac71
7
+ data.tar.gz: e21506603215731215d72c52ad4b66bb8231b05cf8b51743bb96a922142e36f0de64d53c45cb3164920b1999324f36f7dc75b70e60f3d716bf41b23749ecf14f
@@ -1,4 +1,5 @@
1
1
  //= require wbase/admin/jquery.min
2
+ //= require jquery_ujs
2
3
  //= require wbase/admin/bootstrap.min
3
4
  //= require wbase/admin/detect
4
5
  //= require wbase/admin/fastclick
@@ -31,6 +31,10 @@ module Wbase
31
31
  where("interval LIKE '%yearly%'")
32
32
  end
33
33
 
34
+ def display_name
35
+ "#{ price }/#{ interval }"
36
+ end
37
+
34
38
  def monthly?
35
39
  interval.include?('month')
36
40
  end
data/lib/wbase/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Wbase
2
- VERSION = "0.3.10"
2
+ VERSION = "0.3.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - CJ Avilla
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-09 00:00:00.000000000 Z
11
+ date: 2017-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails