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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b72e6fba70a480098551b1f513c9058a5a9cf7e
4
- data.tar.gz: 034d928755f8362f5d67202ba7c889025fdf0727
3
+ metadata.gz: 343f6ba8dd1ada47ce7f807e7f75d0d2eb967290
4
+ data.tar.gz: 3eebe8c2dffb2d66371860a956a73d449083a0e0
5
5
  SHA512:
6
- metadata.gz: d112e902c4ea612e0256ccfb88161d7144047ad1645eed1ef063930179391e4c2190d889c14097707e23e79b2502271d7fd70475e9a2affe77efa3f65bdcbe50
7
- data.tar.gz: 6512d6905aac96b5bfa387ab4ba40379e874f01ce0892dd328fd376816c259febed7e68b6524773241063ef9978d45ccc5c62c7773da551aad4fc9d47fc6a803
6
+ metadata.gz: 6b17333d87abb55c611d3b4c0654b9def8720a7ea1e89aad35c8a182a4b509daa3a4651232a7dfc162f3ec299303b3044e88180708d6ae9d09b93a2d4b3d5978
7
+ data.tar.gz: 1971ad918be63c83e1aa7ac6e46cd3c265e986e19d6925243419dfc0cb1f69e28cfb8c3d0e357cab7cbe0c5684e9e22b385d73e59a20af8d2d069d751ec8313b
data/README.md CHANGED
@@ -48,6 +48,9 @@ mockup.release do |r|
48
48
 
49
49
  ## Changelog
50
50
 
51
+ ### v0.5.0
52
+ * Make compatible with Roger 1.7
53
+
51
54
  ### v0.4.0
52
55
 
53
56
  * Resolve issue around shared paths (#1)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RogerThemes
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -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.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: 2016-09-05 00:00:00.000000000 Z
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.4.5
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