eivid 1.1.0 → 1.1.1

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
  SHA256:
3
- metadata.gz: e1abba7ac763f6e2406fa273b7d7e945a34a41af4ca60ffd8b17c1832d8c0541
4
- data.tar.gz: 429afe91f85be846405a12868e8ef6faccf188c62014b5a1e6fdad8f07c8c353
3
+ metadata.gz: 9246a571186c117fe8a8cedba5908a275eaa74b0bea191fd69f557431a18201a
4
+ data.tar.gz: 860c7a305e0909d59b093cd33fb063542edf0a49632f7c1db83889681a6029a4
5
5
  SHA512:
6
- metadata.gz: cee95248e9bb3578baa7ed4ff90f9ee2d0f6df01018e4625094528c795e5ba33c25edc59ce488af8b565a223152ac45393c122b43169148edb95eb698fabc925
7
- data.tar.gz: b00e818a801b2077eb461bdfe8feeb92b0c61687e4744e50180b7398f5b2158d1a76e7823e76b5ce758d6a976b169cb760cc380212b3cf66e5afd016c9cf891f
6
+ metadata.gz: ff72ebf02f8a5f89bb2ffa3ac1e92f7001900588fbbf54fe3764dd2a680003c06776a2100f68952ae4f2515b2213a5b8bbdc423dc01b2f28e9f241cca3bf839c
7
+ data.tar.gz: a62b3655af2be692f16f71fb3bb029000cefff28575eb2f480f900037d11a41924a7dfab8d737a91714b1b345e5a29aa260c09a7a1aceabed1c9bcf6063493b3
data/lib/eivid/engine.rb CHANGED
@@ -7,27 +7,23 @@ module Eivid
7
7
 
8
8
  end
9
9
 
10
- class << self
10
+ mattr_accessor :owner_model, :infer_external_owner_id, :notify_front_enabled, :notify_method_on_upload,
11
+ :notify_method_on_video_available, :notify_method_on_versions_available
11
12
 
12
- mattr_accessor :owner_model, :infer_external_owner_id, :notify_front_enabled, :notify_method_on_upload,
13
- :notify_method_on_video_available, :notify_method_on_versions_available
14
-
15
- #sets video owner in the main app
16
- self.owner_model = nil
17
-
18
- # sets how to extract the owner_id in controller actions
19
- self.infer_external_owner_id = "params['external_owner_id'].to_i"
20
-
21
- # sets front end notifiers
22
- self.notify_front_enabled = false
23
- self.notify_method_on_upload = nil
24
- self.notify_method_on_video_available = nil
25
- self.notify_method_on_versions_available = nil
13
+ #sets video owner in the main app
14
+ self.owner_model = nil
15
+
16
+ # sets how to extract the owner_id in controller actions
17
+ self.infer_external_owner_id = "params['external_owner_id'].to_i"
26
18
 
27
- def set_mattr_accessors(&block)
28
- yield self
29
- end
19
+ # sets front end notifiers
20
+ self.notify_front_enabled = false
21
+ self.notify_method_on_upload = nil
22
+ self.notify_method_on_video_available = nil
23
+ self.notify_method_on_versions_available = nil
30
24
 
25
+ def self.set_mattr_accessors(&block)
26
+ yield self
31
27
  end
32
28
 
33
29
  end
data/lib/eivid/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eivid
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eivid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jurriaan Schrofer