alula 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
data/lib/alula/cli.rb CHANGED
@@ -28,7 +28,7 @@ module Alula
28
28
 
29
29
  desc "version", "Displays current version information about loaded components"
30
30
  def version
31
- puts "Alula #{Alula::VERSION}"
31
+ puts "Alula #{Alula::VERSION::STRING}"
32
32
  end
33
33
 
34
34
  desc "new [PATH]", "Creates a new empty blog"
data/lib/alula/site.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'alula/version'
1
2
  require 'alula/core_ext'
2
3
 
3
4
  require 'alula/config'
@@ -15,7 +16,7 @@ require 'alula/progress'
15
16
  require 'thor'
16
17
  require 'sprockets'
17
18
  require 'i18n'
18
- require 'parallel'
19
+ # require 'parallel'
19
20
  require 'hashie/mash'
20
21
  require 'json'
21
22
 
@@ -128,7 +129,7 @@ module Alula
128
129
  I18n.default_locale = @config.locale
129
130
 
130
131
  # Set up default head addons
131
- Alula::Plugin.addon(:head, "<meta name=\"generator\" content=\"Alula #{Alula::VERSION}\">")
132
+ Alula::Plugin.addon(:head, "<meta name=\"generator\" content=\"Alula #{Alula::VERSION::STRING}\">")
132
133
  Alula::Plugin.addon(:head, ->(context){"<link rel=\"icon\" type=\"image/png\" href=\"#{context.asset_url('favicon.png')}\">"})
133
134
 
134
135
  end
@@ -181,7 +182,7 @@ module Alula
181
182
  private
182
183
  def banner
183
184
  puts ""
184
- puts "Alula #{Alula::VERSION}"
185
+ puts "Alula #{Alula::VERSION::STRING}"
185
186
  puts ""
186
187
  end
187
188
 
data/lib/alula/theme.rb CHANGED
@@ -22,24 +22,6 @@ module Alula
22
22
  attr_reader :layouts
23
23
  attr_reader :context
24
24
 
25
- # def self.register(theme, path, version)
26
- # @@themes ||= {}
27
- # @@themes[theme.to_s] = ::File.join(path, theme.to_s)
28
- #
29
- # @@theme_versions ||= {}
30
- # @@theme_versions[theme.to_s] = version
31
- # end
32
-
33
- # def self.load(opts)
34
- # return nil unless self.class_variable_defined?(:@@themes)
35
- # site = opts[:site]
36
- #
37
- # theme_name = site.config.theme
38
- # return self.new(theme_name, opts) if @@themes.has_key?(theme_name)
39
- #
40
- # return nil
41
- # end
42
- #
43
25
  def initialize(opts)
44
26
  @site = Site.instance
45
27
  # @theme = theme
data/lib/alula/version.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  module Alula
2
2
  module VERSION
3
3
  MAJOR = 0
4
- MINOR = 0
5
- PATCH = 1
4
+ MINOR = 4
5
+ PATCH = 12
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alula
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -178,7 +178,7 @@ dependencies:
178
178
  requirements:
179
179
  - - ~>
180
180
  - !ruby/object:Gem::Version
181
- version: '3.1'
181
+ version: '3.2'
182
182
  type: :runtime
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
@@ -186,7 +186,7 @@ dependencies:
186
186
  requirements:
187
187
  - - ~>
188
188
  - !ruby/object:Gem::Version
189
- version: '3.1'
189
+ version: '3.2'
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: coffee-script
192
192
  requirement: !ruby/object:Gem::Requirement
@@ -331,6 +331,22 @@ dependencies:
331
331
  - - ~>
332
332
  - !ruby/object:Gem::Version
333
333
  version: '1.3'
334
+ - !ruby/object:Gem::Dependency
335
+ name: dimensions
336
+ requirement: !ruby/object:Gem::Requirement
337
+ none: false
338
+ requirements:
339
+ - - ~>
340
+ - !ruby/object:Gem::Version
341
+ version: '1.2'
342
+ type: :runtime
343
+ prerelease: false
344
+ version_requirements: !ruby/object:Gem::Requirement
345
+ none: false
346
+ requirements:
347
+ - - ~>
348
+ - !ruby/object:Gem::Version
349
+ version: '1.2'
334
350
  - !ruby/object:Gem::Dependency
335
351
  name: htmlentities
336
352
  requirement: !ruby/object:Gem::Requirement