effective_events 0.6.7 → 0.6.9

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: e2a902e5d3728d5cea14da58094f0e6cc8a64c72491fb45c62637895811c7e9d
4
- data.tar.gz: d2da9b7ec73953f311dff46d07c7077af1b382891a93bd2392f87b9cbd9849fc
3
+ metadata.gz: b57fb08028ca5c75662cf3f9725a0c2013b7a1ecee708260e0276800d83e7d20
4
+ data.tar.gz: e2692018ccc4aebe701a2618db941741d3886d5a95900a3fdeee428dd76e1860
5
5
  SHA512:
6
- metadata.gz: 22c5152ac0c15105cb822bc8b9c8eec214f54268e89b3a8e9c3b688c479ea9be64d73a85d69c09034fe6b0508cf3dec95ac535f98c808b836d315fb82f338bcd
7
- data.tar.gz: 31402819144cbc718c3873fe829842460726dc175bd81bee9b18810149841507eed10bb87c5f6cc7a5e10b1133b47f5609fa979279998d9d5ec714057e7952af
6
+ metadata.gz: 8b75f9ce8c9b062ebf278c53817e0636224ccf5f33fdcd3c6e0190f2b5136b4f166c167786c29bf03f793f131f77ba8f69d817e4cc3da262b9b6985cc96cdcf3
7
+ data.tar.gz: 0ef55cbbb6092b70c627c73b5490ff962021b0ef31a0b1267c0100bf1022c8823e2ba62199550e64d28d57ef4c5baa9724eab1cf12a3785b476826e7b2cd84a1
@@ -1,9 +1,17 @@
1
+ $font-weight-bold: 600 !default;
2
+ $gray-200: #e9ecef !default;
3
+
4
+ $blue: #007bff !default;
5
+ $white: #fff !default;
6
+
7
+ $primary: $blue !default;
8
+
1
9
  .effective__simple-calendar {
2
- font-weight: $font-weight-bold;
3
10
  text-align: center;
4
11
  max-width: 18rem;
5
12
 
6
13
  .calendar-heading {
14
+ font-weight: $font-weight-bold;
7
15
  background: $gray-200;
8
16
  margin-bottom: 0.5rem;
9
17
  line-height: 1;
@@ -11,7 +19,6 @@
11
19
 
12
20
  .calendar-title {
13
21
  text-transform: uppercase;
14
-
15
22
  }
16
23
 
17
24
  .calendar-arrow {
@@ -68,11 +68,11 @@ module Effective
68
68
  # Apply Sorting
69
69
  events = case order.to_s
70
70
  when 'Sort by Published Date'
71
- events.reorder(published_at: :desc)
71
+ events.reorder(published_at: :asc)
72
72
  when 'Sort by Event Date'
73
- events.reorder(start_at: :desc)
73
+ events.reorder(start_at: :asc)
74
74
  else
75
- events.reorder(start_at: :desc) # Default Sort by Event Date
75
+ events.reorder(start_at: :asc) # Default Sort by Event Date
76
76
  end
77
77
 
78
78
  events
@@ -23,4 +23,4 @@
23
23
  - week.each do |day|
24
24
  - content = capture_haml(day, sorted_events.fetch(day, []), &passed_block)
25
25
  = content_tag :td, class: content.to_i > 0 && 'calendar-day' do
26
- = content
26
+ = day.day
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '0.6.7'.freeze
2
+ VERSION = '0.6.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.7
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-27 00:00:00.000000000 Z
11
+ date: 2023-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: haml-rails
112
+ name: pry-byebug
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -123,7 +123,7 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: pry-byebug
126
+ name: effective_test_bot
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
@@ -137,7 +137,7 @@ dependencies:
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: effective_test_bot
140
+ name: effective_developer
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ">="
@@ -151,7 +151,7 @@ dependencies:
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: effective_developer
154
+ name: effective_email_templates
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
@@ -165,19 +165,19 @@ dependencies:
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
- name: effective_email_templates
168
+ name: psych
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ">="
171
+ - - "<"
172
172
  - !ruby/object:Gem::Version
173
- version: '0'
173
+ version: '4'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ">="
178
+ - - "<"
179
179
  - !ruby/object:Gem::Version
180
- version: '0'
180
+ version: '4'
181
181
  description: Event registrations, tickets and products
182
182
  email:
183
183
  - info@codeandeffect.com
@@ -292,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
292
  - !ruby/object:Gem::Version
293
293
  version: '0'
294
294
  requirements: []
295
- rubygems_version: 3.4.10
295
+ rubygems_version: 3.3.7
296
296
  signing_key:
297
297
  specification_version: 4
298
298
  summary: Event registrations, tickets and products