tramway-event 1.9.19.3 → 1.9.19.4

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
  SHA256:
3
- metadata.gz: 9fd848d4774d69285cfa3c357b36834c18954c2b799e9e671184eaf833716f4f
4
- data.tar.gz: 43275c678bf421112bafea09343a92ef4002815f962387fc72bc25da3750b8dc
3
+ metadata.gz: 0b3c37884cc6992e4cca9072dfd5291721362248e7a35b28fcf02f5ad772c03a
4
+ data.tar.gz: f952f2148927880132074e906e70d0fbf4e985b592eb86e2b71ca0739c044405
5
5
  SHA512:
6
- metadata.gz: 23f2a8c610c491f4bce5f1cd75e9cd9f7de29073d8bff369470003f9b54693b8ed0af2392eeb044bcad05fc4136e90555471a3b9fbd4b36e018a58d3c0446367
7
- data.tar.gz: d3bef7ce5d1d5b5baedd3631152f7f8bea340a25bc9ca258924d58c76d791a516dc4c25b39d823a1750605d104f726469019c1e8de2c938d03058d09f06648dc
6
+ metadata.gz: '09d330427bdf29586ef2f2f5ee9b711cd60d59fc0e3d9c53d39da8ccd2a6a3ff0aa8cc4e447282746defaf615233524ff78b5a93984fadd8c32545dad7f7e22f'
7
+ data.tar.gz: 20e4458f19b15581bf1e473a7e4752683d38f371dd4777b4a251de0e62af859cd01437613a0fd1d9f4d4d8764540c0624646ccaf8fcb3005111b4fb3c460c9dc
data/README.md CHANGED
@@ -9,16 +9,30 @@ Add this line to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
11
  gem 'tramway-event'
12
+ gem 'carrierwave'
13
+ gem 'more_html_tags'
12
14
  ```
13
15
 
14
16
  And then execute:
15
17
  ```bash
16
18
  $ bundle
17
19
  ```
20
+ *Gemfile*
21
+ ```ruby
22
+ gem 'tramway-event'
23
+ ```
18
24
 
19
- Or install it yourself as:
20
- ```bash
21
- $ gem install tramway-event
25
+ Then run:
26
+ ```shell
27
+ rails g tramway:event:install
28
+ rails db:migrate
29
+ ```
30
+
31
+ Then make `tramway-landing` installation. [How-to](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/README.md#installation)
32
+
33
+ *config/initializers/tramway.rb*
34
+ ```ruby
35
+ Tramway::Admin.set_available_models ::Tramway::Event::Event, ::Tramway::Event::ParticipantFormField, ::Tramway::Event::Participant, project: #{project_which_you_used_in_the_application}
22
36
  ```
23
37
 
24
38
  ## Contributing
@@ -1,7 +1,7 @@
1
1
  @import 'bootstrap'
2
2
  @import 'tramway/core/application'
3
3
  @import 'tramway/landing/application'
4
- @import 'tramway/conference/application'
4
+ // @import 'tramway/conference/application'
5
5
 
6
6
  body
7
7
  margin: 0
@@ -24,5 +24,7 @@ class Tramway::Event::Event < ::Tramway::Event::ApplicationRecord
24
24
  return :are_being_right_now if request_collecting_begin_date&.past? && request_collecting_end_date&.future?
25
25
  end
26
26
 
27
- include ::Tramway::Partner::Scopes
27
+ if defined? ::Tramway::Partner
28
+ include ::Tramway::Partner::Scopes
29
+ end
28
30
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.9.19.3'
5
+ VERSION = '1.9.19.4'
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.19.3
4
+ version: 1.9.19.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov