middleman-releases 0.3.0 → 0.3.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
- SHA1:
3
- metadata.gz: 329c68d01efd17938005668a2ceb7795961dc671
4
- data.tar.gz: 2a589586cc4e9c6682af4bd0284fe0c1ac72676b
2
+ SHA256:
3
+ metadata.gz: 54e158274951958d7017fe5398150b09cf35070224e981dccb4805bcdd807497
4
+ data.tar.gz: 597c2cfddcfd635af43844b8579c2b1d7d8c2346be4c8d021e699112eabbbc07
5
5
  SHA512:
6
- metadata.gz: 4801fb20b7707f9204ed3a72fa7e684ea9c7f5b198def70d664db4dc4f2bc2a990c930f130441ccef37e71c263813242ff4f3ffa3854155453f00458c1a76985
7
- data.tar.gz: e15546dbaffa81f7bcb1f4e8dc3a85135b0d5ceb6cec0aacecb3f3e171e7499390d8bd8939d238282c1669daee545b734bc8815b14ba09d057834a750151be7e
6
+ metadata.gz: 48fce1705d096331df1b1020a6ac4a8e135872819c8edcad11a2f3b51765c1b9191684ed835c50bc305d39b7767a0a4089f4c8a768de59f05ce046b51487860c
7
+ data.tar.gz: 1653808ff73ddfed237acdfa4e9a529bcd7ecb02e6e10be4dda34b53efbeca49db88e6fa7c88609fa7c49e0ac67579ccd47856751d9289bb9f50eedf966f776a
data/README.md CHANGED
@@ -42,3 +42,10 @@ activate :releases do |releases|
42
42
  # releases.new_release_template = File.expand_path('../custom_template.tt', __FILE__)
43
43
  end
44
44
  ```
45
+
46
+ If your date frontmatter includes timestamps, you should also ensure a
47
+ `Time.zone` is being set in your `config.rb`:
48
+
49
+ ```ruby
50
+ Time.zone = 'America/New_York'
51
+ ```
@@ -1,3 +1,7 @@
1
+ require 'active_support/time_with_zone'
2
+ require 'active_support/core_ext/time/acts_like'
3
+ require 'active_support/core_ext/time/calculations'
4
+
1
5
  module Releases
2
6
  class Instance
3
7
  extend Forwardable
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "middleman-releases"
6
- s.version = "0.3.0"
6
+ s.version = "0.3.1"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Matt Millsaps-Brewer"]
9
9
  s.email = ["matt@madebylotus.com"]
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
 
19
19
  # The version of middleman-core your extension depends on
20
20
  s.add_runtime_dependency("middleman-core", [">= 4.0.0"])
21
+ s.add_runtime_dependency("activesupport", ">= 4.2")
21
22
 
22
23
  # Additional dependencies
23
24
  # s.add_runtime_dependency("gem-name", "gem-version")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-releases
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Millsaps-Brewer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-30 00:00:00.000000000 Z
11
+ date: 2020-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '4.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '4.2'
27
41
  description: Manage a directory of software releases in your project
28
42
  email:
29
43
  - matt@madebylotus.com
@@ -60,8 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
74
  - !ruby/object:Gem::Version
61
75
  version: '0'
62
76
  requirements: []
63
- rubyforge_project:
64
- rubygems_version: 2.5.2
77
+ rubygems_version: 3.0.3
65
78
  signing_key:
66
79
  specification_version: 4
67
80
  summary: Provides a way to define software downloads in your project