roger_themes 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/roger_themes/processor.rb +4 -4
- data/lib/roger_themes/version.rb +1 -1
- data/roger_themes.gemspec +1 -1
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 343f6ba8dd1ada47ce7f807e7f75d0d2eb967290
|
4
|
+
data.tar.gz: 3eebe8c2dffb2d66371860a956a73d449083a0e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b17333d87abb55c611d3b4c0654b9def8720a7ea1e89aad35c8a182a4b509daa3a4651232a7dfc162f3ec299303b3044e88180708d6ae9d09b93a2d4b3d5978
|
7
|
+
data.tar.gz: 1971ad918be63c83e1aa7ac6e46cd3c265e986e19d6925243419dfc0cb1f69e28cfb8c3d0e357cab7cbe0c5684e9e22b385d73e59a20af8d2d069d751ec8313b
|
data/README.md
CHANGED
@@ -50,7 +50,10 @@ module RogerThemes
|
|
50
50
|
themes.each do |theme, theme_dir|
|
51
51
|
match_glob = theme_dir + files_glob
|
52
52
|
|
53
|
-
mockup_processor = Roger::Release::Processors::Mockup.new(
|
53
|
+
mockup_processor = Roger::Release::Processors::Mockup.new()
|
54
|
+
|
55
|
+
release.log self, "Running mockup processor for theme: #{theme}"
|
56
|
+
mockup_processor.call(release, {
|
54
57
|
match: [match_glob],
|
55
58
|
env: {
|
56
59
|
"SITE_THEME" => theme,
|
@@ -58,9 +61,6 @@ module RogerThemes
|
|
58
61
|
}
|
59
62
|
})
|
60
63
|
|
61
|
-
release.log self, "Running mockup processor for theme: #{theme}"
|
62
|
-
mockup_processor.call(release)
|
63
|
-
|
64
64
|
# cp html/images and html/fonts => html/themes/**/images && html/themes/**/fonts
|
65
65
|
# if not in target dir
|
66
66
|
# well conceptual not complete, doing so would required scanning all HTML and
|
data/lib/roger_themes/version.rb
CHANGED
data/roger_themes.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.add_dependency "roger", "~> 1.0"
|
20
|
+
spec.add_dependency "roger", "~> 1.0", ">= 1.7.0"
|
21
21
|
spec.add_dependency "rack"
|
22
22
|
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roger_themes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edwin van der Graaf
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-01-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: roger
|
@@ -18,6 +18,9 @@ dependencies:
|
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.0'
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.7.0
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -25,6 +28,9 @@ dependencies:
|
|
25
28
|
- - "~>"
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: '1.0'
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.7.0
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: rack
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -141,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
147
|
version: '0'
|
142
148
|
requirements: []
|
143
149
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
150
|
+
rubygems_version: 2.5.1
|
145
151
|
signing_key:
|
146
152
|
specification_version: 4
|
147
153
|
summary: Create themes and release them as static site
|