awestruct 0.5.4.rc2 → 0.5.4.rc3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/awestruct.gemspec +3 -3
- data/lib/awestruct/engine.rb +0 -6
- data/lib/awestruct/extensions/partial.rb +0 -4
- data/lib/awestruct/version.rb +1 -1
- metadata +17 -5
data/Gemfile
CHANGED
@@ -10,7 +10,7 @@ end
|
|
10
10
|
group :test do
|
11
11
|
gem 'rb-inotify', '>= 0.9.0'
|
12
12
|
gem 'rack-test'
|
13
|
-
gem 'tilt', '>= 1.3.5'
|
13
|
+
gem 'tilt', '>= 1.3.5', '< 2.0'
|
14
14
|
gem 'coffee-script', '>= 2.2.0'
|
15
15
|
gem 'asciidoctor', '>= 0.1.3' # >= 0.1.1 is required for front matter integration
|
16
16
|
gem 'slim', '>= 1.3.6'
|
data/awestruct.gemspec
CHANGED
@@ -4,7 +4,7 @@ require 'awestruct/version'
|
|
4
4
|
spec = Gem::Specification.new do |s|
|
5
5
|
s.name = 'awestruct'
|
6
6
|
s.version = Awestruct::VERSION
|
7
|
-
s.date = '2013-
|
7
|
+
s.date = '2013-12-03'
|
8
8
|
|
9
9
|
s.authors = ['Bob McWhirter', 'Jason Porter', 'Lance Ball', 'Dan Allen', 'Torsten Curdt', 'other contributors']
|
10
10
|
s.email = ['bob@mcwhirter.org', 'lightguard.jp@gmail.com', 'lball@redhat.com', 'dan.j.allen@gmail.com', 'tcurdt@vafer.org']
|
@@ -34,11 +34,11 @@ Haml and Markdown filters are touchy things. Redcarpet or Rdiscount work well if
|
|
34
34
|
|
35
35
|
s.add_dependency 'haml', '~> 4.0.1'
|
36
36
|
s.add_dependency 'nokogiri', '1.5.10'
|
37
|
-
s.add_dependency 'tilt', '>= 1.3.
|
37
|
+
s.add_dependency 'tilt', '>= 1.3.5', '< 2.0'
|
38
38
|
s.add_dependency 'compass', '>= 0.12.1'
|
39
39
|
s.add_dependency 'compass-960-plugin', '~> 0.10.4'
|
40
40
|
s.add_dependency 'bootstrap-sass', '>= 2.3.1.0'
|
41
|
-
s.add_dependency 'zurb-foundation', '>= 4.0.9'
|
41
|
+
s.add_dependency 'zurb-foundation', '>= 4.0.9', '< 5.0'
|
42
42
|
s.add_dependency 'mime-types', '1.25'
|
43
43
|
s.add_dependency 'rest-client', '>= 1.6.7'
|
44
44
|
s.add_dependency 'ruby-s3cmd', '~> 0.1.5'
|
data/lib/awestruct/engine.rb
CHANGED
@@ -327,12 +327,6 @@ module Awestruct
|
|
327
327
|
full_path = File.join( '', path )
|
328
328
|
page = site.pages.find{ |p| p.relative_source_path.to_s == full_path } ||
|
329
329
|
site.layouts.find{ |p| p.relative_source_path.to_s == full_path }
|
330
|
-
#return if page.nil?
|
331
|
-
|
332
|
-
if ( page.nil? )
|
333
|
-
page = (site.partials||[]).find{ |p| p.relative_source_path.to_s == full_path }
|
334
|
-
end
|
335
|
-
|
336
330
|
return if page.nil?
|
337
331
|
|
338
332
|
if !page.output_path.nil?
|
@@ -18,10 +18,6 @@ module Awestruct
|
|
18
18
|
page.send( "#{k}=", v )
|
19
19
|
end if params
|
20
20
|
|
21
|
-
Awestruct::Dependencies.top_page.site.partials ||= []
|
22
|
-
Awestruct::Dependencies.top_page.site.partials << page
|
23
|
-
Awestruct::Dependencies.track_dependency( page )
|
24
|
-
|
25
21
|
page.content
|
26
22
|
end
|
27
23
|
|
data/lib/awestruct/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awestruct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.4.
|
4
|
+
version: 0.5.4.rc3
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2013-
|
17
|
+
date: 2013-12-03 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: haml
|
@@ -55,7 +55,10 @@ dependencies:
|
|
55
55
|
requirements:
|
56
56
|
- - ! '>='
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: 1.3.
|
58
|
+
version: 1.3.5
|
59
|
+
- - <
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.0'
|
59
62
|
type: :runtime
|
60
63
|
prerelease: false
|
61
64
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -63,7 +66,10 @@ dependencies:
|
|
63
66
|
requirements:
|
64
67
|
- - ! '>='
|
65
68
|
- !ruby/object:Gem::Version
|
66
|
-
version: 1.3.
|
69
|
+
version: 1.3.5
|
70
|
+
- - <
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '2.0'
|
67
73
|
- !ruby/object:Gem::Dependency
|
68
74
|
name: compass
|
69
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,6 +126,9 @@ dependencies:
|
|
120
126
|
- - ! '>='
|
121
127
|
- !ruby/object:Gem::Version
|
122
128
|
version: 4.0.9
|
129
|
+
- - <
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '5.0'
|
123
132
|
type: :runtime
|
124
133
|
prerelease: false
|
125
134
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -128,6 +137,9 @@ dependencies:
|
|
128
137
|
- - ! '>='
|
129
138
|
- !ruby/object:Gem::Version
|
130
139
|
version: 4.0.9
|
140
|
+
- - <
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '5.0'
|
131
143
|
- !ruby/object:Gem::Dependency
|
132
144
|
name: mime-types
|
133
145
|
requirement: !ruby/object:Gem::Requirement
|
@@ -473,7 +485,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
473
485
|
version: '0'
|
474
486
|
segments:
|
475
487
|
- 0
|
476
|
-
hash: -
|
488
|
+
hash: -2222413713192922302
|
477
489
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
478
490
|
none: false
|
479
491
|
requirements:
|