subj_models 0.3 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aebae088a9b669300454802416c33d287bc59928
4
- data.tar.gz: 2ea75750076c3449fc6433bdfb5353587e566b47
3
+ metadata.gz: 8edbf6581025315022fc5352861be21dc4132a40
4
+ data.tar.gz: f61fe7609d5e9c356e8128b7b740578170b62865
5
5
  SHA512:
6
- metadata.gz: 1a3a970117f250df826e2a0d3337894c6d41312b01881fa9c60ca0c7fda9d1308f53be89a574e4e8075f2ba32ca4ec95c69f9bb64922eccc81b2f27aac1e12ab
7
- data.tar.gz: 091ce5ca4d5be4fe8e4c44c880543e3b967ba81d38d1a62aa9c4d3c5e2658b4b181cd76b193c48a1ada139bfd35a8d2242552e95142fb69aead63e37298072d2
6
+ metadata.gz: df19cc6482d7b4994b9566cc7159900cdab7f7d2ffbcc7a072b39a269a04f6113a22b9c97bf4b488e9a24a816fb0a40a29ec10be2c2bc06d01390f671d835a87
7
+ data.tar.gz: a3960e304cddb5af39c4a08ae0c726a36570b29dd6248be755b7a8dd4c3865a48ef1e743e09eb89627abb1414ba002532d842c66d472ac74f75606f5d834849f
@@ -1,37 +1,37 @@
1
- # module SubjModels
1
+ module SubjModels
2
2
 
3
- # module DocumentFile
3
+ module DocumentFile
4
4
 
5
- # def self.included(including_class)
5
+ def self.included(including_class)
6
6
 
7
- # including_class.class_eval do
7
+ including_class.class_eval do
8
8
 
9
- # include ComprisingExternalId
9
+ include ComprisingExternalId
10
10
 
11
- # has_one :nomenclature_photo
12
- # has_one :nomenclature_file
13
- # has_one :brand_line
14
- # has_one :user
15
- # has_one :manager
16
- # has_one :user_specialization_approval
17
- # has_one :event
11
+ # has_one :nomenclature_photo
12
+ # has_one :nomenclature_file
13
+ # has_one :brand_line
14
+ # has_one :user
15
+ # has_one :manager
16
+ # has_one :user_specialization_approval
17
+ # has_one :event
18
18
 
19
- # has_many :videos
20
- # has_many :brands
19
+ # has_many :videos
20
+ # has_many :brands
21
21
 
22
- # mount_uploader :file_data, PhotoUploader
23
- # mount_uploader :alternative_file_data, PhotoUploader
22
+ mount_uploader :file_data, PhotoUploader
23
+ mount_uploader :alternative_file_data, PhotoUploader
24
24
 
25
- # validates :file_data, presence: true
25
+ validates :file_data, presence: true
26
26
 
27
- # end
27
+ end
28
28
 
29
- # end
29
+ end
30
30
 
31
- # def to_s
32
- # id.to_s
33
- # end
31
+ def to_s
32
+ id.to_s
33
+ end
34
34
 
35
- # end
35
+ end
36
36
 
37
- # end
37
+ end
@@ -1,3 +1,3 @@
1
1
  module SubjModels
2
- VERSION = "0.3"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subj_models
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denys Dvoriashyn