sitepress-rails 3.2.2 → 4.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sitepress/compiler.rb +96 -46
- data/lib/sitepress/rendition.rb +3 -3
- data/rails/app/controllers/concerns/sitepress/site_pages.rb +17 -8
- data/spec/dummy/log/test.log +36452 -5879
- data/spec/sitepress/compiler_spec.rb +2 -2
- metadata +7 -7
@@ -2,12 +2,12 @@ require "spec_helper"
|
|
2
2
|
require "tmpdir"
|
3
3
|
require "fileutils"
|
4
4
|
|
5
|
-
describe Sitepress::Compiler do
|
5
|
+
describe Sitepress::Compiler::Files do
|
6
6
|
let(:site) { Sitepress.site }
|
7
7
|
let(:build_path) { Pathname.new(Dir::tmpdir).join("build") }
|
8
8
|
# Write compiler output to /dev/null so our test output remains clean.
|
9
9
|
let(:stdout) { File.open(File::NULL, "w") }
|
10
|
-
subject { Sitepress::Compiler.new(site: site, stdout: stdout, root_path: build_path) }
|
10
|
+
subject { Sitepress::Compiler::Files.new(site: site, stdout: stdout, root_path: build_path) }
|
11
11
|
describe "#compile" do
|
12
12
|
before { FileUtils.mkdir_p(build_path) }
|
13
13
|
after { FileUtils.rm_rf(build_path) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sitepress-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Gessler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-rails
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 4.0.0.beta1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 4.0.0.beta1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: railties
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -238,11 +238,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
238
238
|
version: '0'
|
239
239
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
|
-
- - "
|
241
|
+
- - ">"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
243
|
+
version: 1.3.1
|
244
244
|
requirements: []
|
245
|
-
rubygems_version: 3.4.
|
245
|
+
rubygems_version: 3.4.6
|
246
246
|
signing_key:
|
247
247
|
specification_version: 4
|
248
248
|
summary: Sitepress rails integration.
|