nesta 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile +0 -2
- data/Gemfile.lock +7 -4
- data/lib/nesta/static/site.rb +2 -2
- data/lib/nesta/version.rb +1 -1
- data/templates/Gemfile +1 -3
- data/test/support/temporary_files.rb +4 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12864a6defdd473b703fe553e3693bf1f697054ac2765fd7f22464f6525e5867
|
4
|
+
data.tar.gz: 1a3bfcb203d9862a10ef9691286187ef2c91f3c880bd56bea99f8f34ab0f83a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee6c78cb3046d5f93eb2dacb76107e173a51ad18d422e6195691a3fab70eac946704d984b0262febaaa69c688af761805678d67c9eedff60e992f3f56ce9c9c7
|
7
|
+
data.tar.gz: c410d3cdb2504abbd3d55b83a2799638a12d7806db20798ef00813d5fe630750f5ea74828d3b457c719fd2db822d284e3270351834a070aaf14400c1db44dfd1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.18.0 (19 November 2024)
|
4
|
+
|
5
|
+
* Update Sinatra to 4.1, to fix a vulnerability.
|
6
|
+
|
7
|
+
Note that this is the same security alert that I believed I was fixing when I
|
8
|
+
released Nesta 0.17.0. In actual fact, at that point the latest version of
|
9
|
+
Sinatra (4.0.0) didn't yet include a fix.
|
10
|
+
|
11
|
+
(Graham Ashton)
|
12
|
+
|
3
13
|
## 0.17.0 (6 November 2024)
|
4
14
|
|
5
15
|
* Update Sinatra to verion 4.0, to fix a vulnerability. This has also
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
nesta (0.
|
4
|
+
nesta (0.18.0)
|
5
5
|
RedCloth (~> 4.2)
|
6
6
|
haml (>= 3.1, < 6.0)
|
7
7
|
haml-contrib (>= 1.0)
|
@@ -44,6 +44,7 @@ GEM
|
|
44
44
|
rb-fsevent (>= 0.9.3)
|
45
45
|
rb-inotify (>= 0.9)
|
46
46
|
rb-kqueue (>= 0.2)
|
47
|
+
logger (1.6.1)
|
47
48
|
mini_mime (1.1.5)
|
48
49
|
mini_portile2 (2.8.7)
|
49
50
|
minitest (5.25.1)
|
@@ -65,8 +66,9 @@ GEM
|
|
65
66
|
public_suffix (6.0.1)
|
66
67
|
racc (1.8.1)
|
67
68
|
rack (3.1.8)
|
68
|
-
rack-protection (4.
|
69
|
+
rack-protection (4.1.0)
|
69
70
|
base64 (>= 0.1.0)
|
71
|
+
logger (>= 1.6.0)
|
70
72
|
rack (>= 3.0.0, < 4)
|
71
73
|
rack-session (2.0.0)
|
72
74
|
rack (>= 3.0.0)
|
@@ -85,10 +87,11 @@ GEM
|
|
85
87
|
sass-embedded (1.80.6)
|
86
88
|
google-protobuf (~> 4.28)
|
87
89
|
rake (>= 13)
|
88
|
-
sinatra (4.
|
90
|
+
sinatra (4.1.0)
|
91
|
+
logger (>= 1.6.0)
|
89
92
|
mustermann (~> 3.0)
|
90
93
|
rack (>= 3.0.0, < 4)
|
91
|
-
rack-protection (= 4.
|
94
|
+
rack-protection (= 4.1.0)
|
92
95
|
rack-session (>= 2.0.0, < 3)
|
93
96
|
tilt (~> 2.0)
|
94
97
|
temple (0.10.3)
|
data/lib/nesta/static/site.rb
CHANGED
@@ -61,8 +61,8 @@ module Nesta
|
|
61
61
|
|
62
62
|
def set_app_root
|
63
63
|
root = ::File.expand_path('.')
|
64
|
-
['Gemfile', ].each do |expected|
|
65
|
-
if ! File.exist?(File.join(root,
|
64
|
+
['Gemfile', File.join('config', 'config.yml')].each do |expected|
|
65
|
+
if ! File.exist?(File.join(root, expected))
|
66
66
|
message = "is this a Nesta site? (expected './#{expected}')"
|
67
67
|
raise RuntimeError, message
|
68
68
|
end
|
data/lib/nesta/version.rb
CHANGED
data/templates/Gemfile
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
|
1
3
|
module TemporaryFiles
|
2
4
|
TEMP_DIR = File.expand_path('tmp', File.join(File.dirname(__FILE__), '..'))
|
3
5
|
|
@@ -21,7 +23,8 @@ module TemporaryFiles
|
|
21
23
|
|
22
24
|
def in_temporary_project(*args, &block)
|
23
25
|
FileUtils.mkdir_p(File.join(project_root, 'config'))
|
24
|
-
|
26
|
+
FileUtils.touch(File.join(project_root, 'Gemfile'))
|
27
|
+
FileUtils.touch(File.join(project_root, 'config', 'config.yml'))
|
25
28
|
Dir.chdir(project_root) { yield project_root }
|
26
29
|
ensure
|
27
30
|
remove_temp_directory
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nesta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Graham Ashton
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
10
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: haml
|
@@ -354,7 +353,6 @@ files:
|
|
354
353
|
homepage: https://nestacms.com
|
355
354
|
licenses: []
|
356
355
|
metadata: {}
|
357
|
-
post_install_message:
|
358
356
|
rdoc_options: []
|
359
357
|
require_paths:
|
360
358
|
- lib
|
@@ -369,8 +367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
369
367
|
- !ruby/object:Gem::Version
|
370
368
|
version: '0'
|
371
369
|
requirements: []
|
372
|
-
rubygems_version: 3.
|
373
|
-
signing_key:
|
370
|
+
rubygems_version: 3.6.0.dev
|
374
371
|
specification_version: 4
|
375
372
|
summary: Ruby CMS, written in Sinatra
|
376
373
|
test_files: []
|