simple_calendar 2.4.0 → 2.4.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: 994f74fe8cc221e2a6b74c3f57d24391d9214e9ad511ca03ba24a986ff0082c1
4
- data.tar.gz: 4473aab5073e486696990218578198c35627d5fd8429bff8fb8e02a845f14b4c
3
+ metadata.gz: 60dcc26bdf5d0e6bc7eed23fe0bf3d5c35977b8a189b9a045897410abc4ce36e
4
+ data.tar.gz: cc92323a3b5766f2f428ff1e3adfa40641843ddd5fce25068aeb7eee224ca710
5
5
  SHA512:
6
- metadata.gz: 91bcb6559bafdbe99cc18e0b6f1f6a373b5485908e0ad2622a8e2a2d5e8481e3d3bc884161a9164bd6859d2e2fc6729c715827bc7e1af5a1b91f2de5879e09d2
7
- data.tar.gz: 7b2c6dfafab0edfecb1444fb14b6709ae89a9f324b6d64086bf4541df8001b9ee81c58f4229e96e10cdb73ba284a59d0e3abadfbe188e7cd15f546abef7be6b7
6
+ metadata.gz: d7ad3f165f583b789c6b8f8300c8377eac55cac5cb138429435185a6f50ee4b4b276b4d56e75e396ff1bce3f612b9029f1aa69023e6464346de3118d1aa3d580
7
+ data.tar.gz: 994a400d806c3a3c06939828d64254efad0dd04c34c00dab5a21a842e7ff7460d4e9bb2cb988cedeec0686360e91f53ebe99697979aaf5d23ab342136c771137
@@ -1,3 +1,9 @@
1
+ ### 2.4.1
2
+
3
+ * [FIX] Use iso8601 format for start_date links in the header. Fixes any
4
+ customization to the Rails default date format that might cause the
5
+ parser to fail parsing that with `to_date`
6
+
1
7
  ### 2.4.0
2
8
 
3
9
  * [BREAKING] Fixes Rails 4.2 by changing `block` to `passed_block`. A
@@ -58,11 +58,11 @@ module SimpleCalendar
58
58
  end
59
59
 
60
60
  def url_for_next_view
61
- view_context.url_for(@params.merge(start_date_param => date_range.last + 1.day))
61
+ view_context.url_for(@params.merge(start_date_param => (date_range.last + 1.day).iso8601))
62
62
  end
63
63
 
64
64
  def url_for_previous_view
65
- view_context.url_for(@params.merge(start_date_param => date_range.first - 1.day))
65
+ view_context.url_for(@params.merge(start_date_param => (date_range.first - 1.day).iso8601))
66
66
  end
67
67
 
68
68
  def date_range
@@ -1,3 +1,3 @@
1
1
  module SimpleCalendar
2
- VERSION = "2.4.0"
2
+ VERSION = "2.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_calendar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-26 00:00:00.000000000 Z
11
+ date: 2020-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -80,7 +80,7 @@ homepage: https://github.com/excid3/simple_calendar
80
80
  licenses:
81
81
  - MIT
82
82
  metadata: {}
83
- post_install_message:
83
+ post_install_message:
84
84
  rdoc_options: []
85
85
  require_paths:
86
86
  - lib
@@ -95,8 +95,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  requirements: []
98
- rubygems_version: 3.1.2
99
- signing_key:
98
+ rubygems_version: 3.1.4
99
+ signing_key:
100
100
  specification_version: 4
101
101
  summary: A simple Rails calendar
102
102
  test_files: