tramway-event 1.9.27.1 → 1.9.27.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
  SHA256:
3
- metadata.gz: 239e3ac28e3f32df2fa85cb6a245b42d482a353ba98ef1a4229820414f79681c
4
- data.tar.gz: a5b78651c18e57179fa3777002c562b7e34df12e8ce50a7d576472f03cc7dd63
3
+ metadata.gz: eb1e1ca115b97a701d2b64d567917c9d0cc389dcb6d37138576e9629412948e9
4
+ data.tar.gz: 70e4fa964d1690414ecd04e3546ef434a02bd56f9f2af8a284e90196d548a1d3
5
5
  SHA512:
6
- metadata.gz: 2a68fc9b0b98670ea2c4f8afab3e53ea55cc45cf0ccba48085dce06285fd3bfd85a8d1a332c33021ec0bb9e8f3b7a67ca6a561a458725848bc43538ac677a204
7
- data.tar.gz: 916d2f6349c945085ec32d6219f73c04d8080a87778d120572a1262815b2a6a46e4092cab6f5feef87019b8482f3151288558aef3f69098ce58d5fa1a2a8b786
6
+ metadata.gz: 60e63ab6c330eb7cc533485efaed2783cb3870097c60a53eb8f118565bcab172353c9ab7993e5d8bc6f7dd698e71d82956f959ca90b0f0ba2333a9a38e9e6268
7
+ data.tar.gz: 70c3cb5db52cbd8e71830447e3cbd518433c1b61f0165e05362679d4599193f76f64975f943f9f22d7131b26cee78bd1604eb9e019d8a704149a5c59b9048277
data/README.md CHANGED
@@ -27,6 +27,13 @@ rails db:migrate
27
27
 
28
28
  #### 4. Then make `tramway-landing` installation. [How-to](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/README.md#installation)
29
29
 
30
+ Versions table
31
+
32
+ | tramway-event | tramway-landing |
33
+ | ------------- | --------------- |
34
+ | < 1.9.27.1 | 1.x |
35
+ | >= 1.9.27.2 | 2.x |
36
+
30
37
  #### 5. Add events to admin panel
31
38
 
32
39
  *config/initializers/tramway.rb*
@@ -1,7 +1,5 @@
1
1
  - content_for :title do
2
2
  = @event.title
3
- - content_for :head_content do
4
- = javascript_include_tag 'tramway/event/application'
5
3
  - content_for :footer_links do
6
4
  %ul
7
5
  - @events.each do |event|
@@ -11,3 +11,7 @@
11
11
  ::Tramway::Admin.set_notificable_queries new_participants: lambda { |current_user|
12
12
  ::Tramway::Event::Participant.active.where(participation_state: :requested).send "#{current_user.role}_scope", current_user.id
13
13
  }
14
+
15
+ ::Tramway::Landing.head_content = lambda do
16
+ javascript_include_tag 'tramway/event/application'
17
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.9.27.1'
5
+ VERSION = '1.9.27.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-event
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.27.1
4
+ version: 1.9.27.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov