refinerycms-base 0.9.9.16 → 0.9.9.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Refinery
3
3
  @major = 0
4
4
  @minor = 9
5
5
  @tiny = 9
6
- @build = 16
6
+ @build = 17
7
7
 
8
8
  class << self
9
9
  attr_reader :major, :minor, :tiny, :build
@@ -38,3 +38,27 @@ module Refinery
38
38
  end
39
39
 
40
40
  ::Refinery.engines << "base"
41
+
42
+ # So that we can "use" the Fiber class' basic functionality.
43
+ unless defined?(::Fiber)
44
+ class Fiber
45
+
46
+ def initialize(&block)
47
+ super
48
+ @block = block
49
+ self
50
+ end
51
+
52
+ def self.yield(*args)
53
+ if args.first.respond_to?(:call)
54
+ args.first.call
55
+ else
56
+ args.first
57
+ end
58
+ end
59
+
60
+ def resume
61
+ self.class.yield(@block)
62
+ end
63
+ end
64
+ end
@@ -2,10 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms-base}
5
- s.version = %q{0.9.9.16}
5
+ s.version = %q{0.9.9.17}
6
6
  s.summary = %q{Base engine for Refinery CMS}
7
7
  s.description = %q{This provides a base for Refinery CMS which handles things like settings on the Refinery namespace.}
8
- s.date = %q{2011-04-07}
8
+ s.date = %q{2011-04-15}
9
9
  s.email = %q{info@refinerycms.com}
10
10
  s.homepage = %q{http://refinerycms.com}
11
11
  s.rubyforge_project = %q{refinerycms}
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms-base
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.16
5
+ version: 0.9.9.17
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -13,8 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-04-07 00:00:00 +12:00
17
- default_executable:
16
+ date: 2011-04-15 00:00:00 Z
18
17
  dependencies: []
19
18
 
20
19
  description: This provides a base for Refinery CMS which handles things like settings on the Refinery namespace.
@@ -35,7 +34,6 @@ files:
35
34
  - lib/refinerycms-base.rb
36
35
  - license.md
37
36
  - refinerycms-base.gemspec
38
- has_rdoc: true
39
37
  homepage: http://refinerycms.com
40
38
  licenses:
41
39
  - MIT
@@ -59,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
57
  requirements: []
60
58
 
61
59
  rubyforge_project: refinerycms
62
- rubygems_version: 1.6.1
60
+ rubygems_version: 1.7.2
63
61
  signing_key:
64
62
  specification_version: 3
65
63
  summary: Base engine for Refinery CMS