almanack 1.1.1 → 1.1.2
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Gemfile.lock +2 -2
- data/Rakefile +14 -7
- data/checksums/almanack-1.1.1.gem.sha256 +1 -0
- data/checksums/almanack-1.1.1.gem.sha512 +1 -0
- data/lib/almanack/server/helpers.rb +1 -1
- data/lib/almanack/version.rb +1 -1
- metadata +4 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b2b817b3542f16e0f902216bb7943efc0f8a3649ee507cceb1e667f19ef5158
|
|
4
|
+
data.tar.gz: a50858dfdee7700c0d5e54d492695e72ca6a99e571d7a0c40e6d4803b741ba86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 569ead2bd71123bbdb99b4b225344b94afb566c62be99be51ad713d37e86766db97c6438efdad30ecc9fc58edf6856ed7875429fba1bedfb9df911dd8c9cfbb7
|
|
7
|
+
data.tar.gz: c4fe0b799824eadbcf57cdee660d10e55e303953b04e3d0a53ddbe4f8b6ede8e7fcb9640a001169565f75809f4ec3a8066f02dff927373e97f44908bbd083ae5
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
almanack (1.1.
|
|
4
|
+
almanack (1.1.2)
|
|
5
5
|
activesupport
|
|
6
6
|
addressable
|
|
7
7
|
faraday
|
|
@@ -41,7 +41,7 @@ GEM
|
|
|
41
41
|
mini_portile2 (2.4.0)
|
|
42
42
|
minitest (5.11.3)
|
|
43
43
|
multi_json (1.13.1)
|
|
44
|
-
multipart-post (2.1.
|
|
44
|
+
multipart-post (2.1.1)
|
|
45
45
|
mustermann (1.0.3)
|
|
46
46
|
nokogiri (1.10.2)
|
|
47
47
|
mini_portile2 (~> 2.4.0)
|
data/Rakefile
CHANGED
|
@@ -8,13 +8,20 @@ task :default => :spec
|
|
|
8
8
|
task :checksum do
|
|
9
9
|
require 'digest/sha2'
|
|
10
10
|
built_gem_path = Dir["pkg/almanack-*.gem"].sort_by {|f| File.mtime(f) }.last
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
|
|
12
|
+
checksum_paths = [256, 512].map do |digest_bits|
|
|
13
|
+
algorithm = Digest.const_get("SHA#{digest_bits}").new
|
|
14
|
+
checksum = algorithm.hexdigest(File.read(built_gem_path))
|
|
15
|
+
gem_name = File.basename(built_gem_path)
|
|
16
|
+
checksum_path = "checksums/#{gem_name}.sha#{digest_bits}"
|
|
17
|
+
File.open(checksum_path, 'w') { |file| file.write checksum }
|
|
18
|
+
`git add #{checksum_path}`
|
|
19
|
+
checksum_path
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
system("git status checksums --short")
|
|
23
|
+
|
|
24
|
+
"==> Please commit:\n#{checksum_paths.join("\n")}"
|
|
18
25
|
end
|
|
19
26
|
|
|
20
27
|
Rake::Task['release'].enhance do
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
edfe8044f20203355dcabd3ab6a37099779911efed516fa74a244db240622c92
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ca2520f82ab6d67a1dfe1980cac0e9d6d6072263cbb5b121a4e52be2f7ba6d3697635924f185c3d66ed2748abedbdab62f14d78b29e101a9b45fedf2f60101a2
|
|
@@ -3,7 +3,7 @@ module Almanack
|
|
|
3
3
|
module Helpers
|
|
4
4
|
# @return The URL to your consolidated iCal feed.
|
|
5
5
|
def feed_url
|
|
6
|
-
|
|
6
|
+
File.join(request.base_url, "#{settings.feed_path}.ics")
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
# @return The URL to Almanack's project homepage.
|
data/lib/almanack/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: almanack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pete Nicholls
|
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
|
34
34
|
dZpUW6Gfv2VtOtiN0Q3PjLK+TRjHtqYBjbxa771Msax3xs40e2cSVU/dO+OY5NmR
|
|
35
35
|
a61dVmZ1PIJiY+jyzJSb8ohHVx4=
|
|
36
36
|
-----END CERTIFICATE-----
|
|
37
|
-
date: 2019-05-
|
|
37
|
+
date: 2019-05-18 00:00:00.000000000 Z
|
|
38
38
|
dependencies:
|
|
39
39
|
- !ruby/object:Gem::Dependency
|
|
40
40
|
name: sinatra
|
|
@@ -324,6 +324,8 @@ files:
|
|
|
324
324
|
- bin/setup
|
|
325
325
|
- bin/test
|
|
326
326
|
- certs/aupajo.pem
|
|
327
|
+
- checksums/almanack-1.1.1.gem.sha256
|
|
328
|
+
- checksums/almanack-1.1.1.gem.sha512
|
|
327
329
|
- example.ru
|
|
328
330
|
- exe/almanack
|
|
329
331
|
- lib/almanack.rb
|
metadata.gz.sig
CHANGED
|
Binary file
|