ish_models 0.0.33.110 → 0.0.33.111

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/lib/photo.rb +3 -4
  3. data/lib/report.rb +2 -3
  4. data/lib/video.rb +2 -2
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01a095922836ca0bbbc32da6e369557cdd07e8e88411d1f0b9bef9950e647553
4
- data.tar.gz: d67e1dff8e0eda5b473fa0561322ff37195eb747946f1ea4b54c8c70e9c4cb9d
3
+ metadata.gz: 267542d2335422e17931afc18354dbd0441e2903084a41ae6bd958841b467bd4
4
+ data.tar.gz: 83edc53811c63c9a69f7eab17a608352af9a4995ee7140fa13afa44909f974a2
5
5
  SHA512:
6
- metadata.gz: a8a82124f8ea77344658dbeccdad2349b31608ed316766914b5d0c6cb16e6ee60fbe4d2c702aba8e8eb14bb39399909620878b21536d9d38e93e3a97725344f8
7
- data.tar.gz: 447a2b4ce3d8f19003ecddbbe30b8b709e19c6b1f9b54d355e935e156d72d4b5d10f3ea654cbfb3646e784fa6898cc32161a2d6593221a5a01056a8aa2101bea
6
+ metadata.gz: 47c4987d9f71b6bfde2a89c9ff437cdb173986e995a10dc3475440bf0c57f3eae89c8a840d8db8dadd17a0308fb64bbe8b86fa95ca3109a3649f8294d7a6a104
7
+ data.tar.gz: 95f143a5619a598c8b63f43a9ef025c3c51f5ed5f84d4206e20ddce87ee878f60d15c8317eac829366296c9d08bcbaec251d17a9ed48f573bd54c192ef4c2c88
data/lib/photo.rb CHANGED
@@ -39,10 +39,9 @@ class Photo
39
39
  :mini => '20x20#',
40
40
  :thumb => "100x100#",
41
41
  :thumb2 => "200x200#",
42
- :s169 => "640x360>",
43
- # :s43 => "640x480>",
44
- # :small => "400x400>",
45
- # :w330 => "330x330>",
42
+ :s169 => "640x360#",
43
+ # :s43 => "640x480#",
44
+ :small => "400x400>",
46
45
  :large => '950x650>',
47
46
  },
48
47
  :storage => :s3,
data/lib/report.rb CHANGED
@@ -41,7 +41,8 @@ class Report
41
41
  validates :username, :presence => true, :allow_nil => false
42
42
  index({ :username => 1 })
43
43
 
44
- field :subhead, :type => String
44
+ field :issue
45
+ field :subhead
45
46
 
46
47
  belongs_to :tag, :optional => true
47
48
  belongs_to :city, :optional => true
@@ -145,6 +146,4 @@ class Report
145
146
  self.venues[0] || nil
146
147
  end
147
148
 
148
- field :issue
149
-
150
149
  end
data/lib/video.rb CHANGED
@@ -40,10 +40,10 @@ class Video
40
40
  doc.city.add_newsitem( doc ) unless doc.city.blank?
41
41
  doc.site.add_newsitem( doc ) unless doc.site.blank?
42
42
  end
43
-
44
43
  end
45
44
 
46
45
  field :issue
46
+ field :subhead
47
47
 
48
48
  has_mongoid_attached_file :video,
49
49
  # styles: { :thumb => { geometry: '192x108', format: 'jpeg' }, },
@@ -72,5 +72,5 @@ class Video
72
72
  set_callback :update, :after do |doc|
73
73
  Site.update_all updated_at: Time.now
74
74
  end
75
-
75
+
76
76
  end
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.110
4
+ version: 0.0.33.111
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox