ish_models 0.0.33.50 → 0.0.33.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/event.rb +4 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8f4cdd8b63c7603aad6e2845ac1a282733b2838
4
- data.tar.gz: 786b0a678f5d78064de634d1c9b42fd0c1520e38
3
+ metadata.gz: a7d20be996fecd2563a6b86d5ebd78f253b8e8f3
4
+ data.tar.gz: 4c0578efb741abcbf11d58ed65a20e2d5cd6fcac
5
5
  SHA512:
6
- metadata.gz: 9aea7169bce1c11c0f8103284c17b9bdf9a740e2a0089ba2b1f877c135c5e72023f0a88efd2d16de3edce2eefef795e97da1ef9c3643a263135eaec8e8338f87
7
- data.tar.gz: afa3b39ac66e093b4e10ce649827e8f93d2b6fcde13214c3e35487f59bc39b542f28d2e80054cb3d11c6f58f8080599a45a01965f44e912e17e586695f7a98c1
6
+ metadata.gz: bb6c6c31b12ef723dba11c909de33a0bdf8c2cfd14995e1826ac79debb4cc24b9aa49f2ac3f50e55a28dfe5c66428779bea553a7945c5999ceb5915387c76708
7
+ data.tar.gz: 5859e0377c1e81e6629f5f7added400598a8e79193723667b683119ce7e621c09400dc7ab3ad78c5fe4db814c5782f9293be174ed4c275361227aa110e4d91e0
data/lib/event.rb CHANGED
@@ -7,10 +7,10 @@ class Event
7
7
  field :name, :type => String
8
8
  validates :name, :presence => true, :uniqueness => true
9
9
 
10
- field :name_seo, :type => String
11
- validates :name_seo, :presence => true, :uniqueness => true
10
+ field :eventname, :type => String
11
+ validates :eventname, :presence => true, :uniqueness => true
12
12
 
13
- field :descr, :type => String
13
+ field :description, :type => String
14
14
 
15
15
  field :date, :type => DateTime
16
16
  validates :date, :presence => true
@@ -19,3 +19,4 @@ class Event
19
19
  validates :city, :presence => true
20
20
 
21
21
  end
22
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.50
4
+ version: 0.0.33.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox