staticpress 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ 1.9.3-p327
@@ -11,6 +11,7 @@
11
11
  :plugins_path: plugins
12
12
  :source_path: content
13
13
  :posts_source_path: content/_posts
14
+ :github: 'ravinggenius/staticpress'
14
15
  :plugins:
15
16
  - menu
16
17
  - pagination
@@ -22,20 +22,17 @@ module Staticpress
22
22
  end
23
23
 
24
24
  def each(&block)
25
- threads = []
26
25
  semaphore = Mutex.new
27
26
 
28
- CONTENT_TYPES.each do |content_type|
29
- threads << Thread.new do
27
+ CONTENT_TYPES.map do |content_type|
28
+ Thread.new do
30
29
  content_type.published.each do |content|
31
30
  semaphore.synchronize do
32
31
  block.call content
33
32
  end
34
33
  end
35
34
  end
36
- end
37
-
38
- threads.each &:join
35
+ end.each(&:join)
39
36
  end
40
37
 
41
38
  def find_content_by_env(env)
@@ -2,7 +2,7 @@ module Staticpress
2
2
  class Version
3
3
  extend Comparable
4
4
 
5
- SIGNATURE = [0, 7, 0]
5
+ SIGNATURE = [0, 7, 1]
6
6
 
7
7
  def self.<=>(other)
8
8
  other = other.split('.').map(&:to_i) if other.respond_to? :split
@@ -1,2 +1,2 @@
1
- %a.github-ribbon{ :href => 'https://github.com/ravinggenius/staticpress', :style => 'position: absolute; top: 0; right: 0;' }
1
+ %a.github-ribbon{ :href => "https://github.com/#{config.github}", :style => 'position: absolute; top: 0; right: 0;' }
2
2
  %img{ :src => 'https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png', :alt => 'Fork me on GitHub' }/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: staticpress
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-21 00:00:00.000000000 Z
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aruba
@@ -215,7 +215,7 @@ extensions: []
215
215
  extra_rdoc_files: []
216
216
  files:
217
217
  - .gitignore
218
- - .rbenv-version
218
+ - .ruby-version
219
219
  - Gemfile
220
220
  - NOTES.markdown
221
221
  - README.markdown
@@ -362,7 +362,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
362
362
  version: '0'
363
363
  requirements: []
364
364
  rubyforge_project:
365
- rubygems_version: 1.8.24
365
+ rubygems_version: 1.8.23
366
366
  signing_key:
367
367
  specification_version: 3
368
368
  summary: Blog-centric static site builder
@@ -1 +0,0 @@
1
- 1.9.3-p194