ecm_courses2 1.1.1 → 1.1.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: b929cc48ab8e2cd631486e7f5f6bfff9ea522cdd
4
- data.tar.gz: 64b0332ee8fc6777e6a5b4a5392156bc4731f93d
3
+ metadata.gz: fba9341f016c7273c043a4c7eb204bc96872bded
4
+ data.tar.gz: 3fca2092291765ca34969dfe1a0593de2b7e1f00
5
5
  SHA512:
6
- metadata.gz: 165259653718e28f2e6d88be68cd87eb3610b0c86f55b6ae85ed4c001fd80636cff14ee22f3aa09c0e5b096bff6507d5ef40205a85cec22e395d1e5fb6abc7d7
7
- data.tar.gz: 9b87601d0f54785b5ae73bedd6624a62aab78e4a1855debf9129d3e3561bf6d3592efe9382eb48f02f63f6cba25bc7fb7f60895d1c651fc3be82db4a1da0b201
6
+ metadata.gz: 8900661aaa13f841f7f47193f0747430e06559868ffaa40c11f4c4475626a2bc04a23064ae1f6a0b6705b1518ca38547ce9f1062b847ac100867bc35d9c842d9
7
+ data.tar.gz: 8d946e4305789cefd273c7f707a272a809dbb3943eb3777a209e45757d0cc8a02d40d673b4d5da3fc2f9d719b5d15181c080b082f6a24c44cb4cc90b177d19ee
@@ -24,6 +24,7 @@ module Ecm::Courses
24
24
  before_validation :calculate_free_seats
25
25
 
26
26
  validates :used_seats, numericality: { greater_than_or_equal_to: 0 }
27
+ validates :free_seats, numericality: { greater_than_or_equal_to: 0 }
27
28
  end
28
29
 
29
30
  def free_seats_percentage
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Courses
3
- VERSION = '1.1.1'.freeze
3
+ VERSION = '1.1.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_courses2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel