blocks 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.rdoc +3 -0
- data/Gemfile +2 -2
- data/Rakefile +0 -8
- data/VERSION +1 -1
- data/blocks.gemspec +11 -9
- data/lib/blocks.rb +0 -1
- metadata +93 -99
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
blocks
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.9.3
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
2.3.1 (September 3, 2013)
|
2
|
+
* Removed call to autoload class that was moved into a separate gem, broke .rvmrc into .ruby-gemset and .ruby-version
|
3
|
+
|
1
4
|
2.3.0 (August 27, 2013)
|
2
5
|
* Moved all of the call call_if_proc and call_each_hash_value_if_proc and ProcWithArgs class into a separate gem (https://github.com/hunterae/call_with_params), now a dependency.
|
3
6
|
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -34,12 +34,4 @@ Rake::TestTask.new(:test) do |test|
|
|
34
34
|
test.libs << 'lib' << 'test'
|
35
35
|
test.pattern = 'test/**/test_*.rb'
|
36
36
|
test.verbose = true
|
37
|
-
end
|
38
|
-
|
39
|
-
require 'rcov/rcovtask'
|
40
|
-
Rcov::RcovTask.new do |test|
|
41
|
-
test.libs << 'test'
|
42
|
-
test.pattern = 'test/**/test_*.rb'
|
43
|
-
test.verbose = true
|
44
|
-
test.rcov_opts << '--exclude "gems/*"'
|
45
37
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.1
|
data/blocks.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "blocks"
|
8
|
-
s.version = "2.3.
|
8
|
+
s.version = "2.3.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Andrew Hunter"]
|
12
|
-
s.date = "2013-
|
12
|
+
s.date = "2013-09-03"
|
13
13
|
s.description = "Blocks goes beyond blocks and partials"
|
14
14
|
s.email = "hunterae@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -17,6 +17,8 @@ Gem::Specification.new do |s|
|
|
17
17
|
]
|
18
18
|
s.files = [
|
19
19
|
".rspec",
|
20
|
+
".ruby-gemset",
|
21
|
+
".ruby-version",
|
20
22
|
"CHANGELOG.rdoc",
|
21
23
|
"Gemfile",
|
22
24
|
"README.rdoc",
|
@@ -39,7 +41,7 @@ Gem::Specification.new do |s|
|
|
39
41
|
s.homepage = "http://github.com/hunterae/blocks"
|
40
42
|
s.licenses = ["MIT"]
|
41
43
|
s.require_paths = ["lib"]
|
42
|
-
s.rubygems_version = "1.8.
|
44
|
+
s.rubygems_version = "1.8.25"
|
43
45
|
s.summary = "Blocks is an intricate way of rendering blocks of code and adding several new features that go above and beyond what a simple content_for with yield is capable of doing."
|
44
46
|
|
45
47
|
if s.respond_to? :specification_version then
|
@@ -48,22 +50,22 @@ Gem::Specification.new do |s|
|
|
48
50
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
51
|
s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
|
50
52
|
s.add_runtime_dependency(%q<call_with_params>, [">= 0"])
|
51
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.
|
53
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.3.5"])
|
52
54
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
53
|
-
s.add_development_dependency(%q<
|
55
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
54
56
|
else
|
55
57
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
56
58
|
s.add_dependency(%q<call_with_params>, [">= 0"])
|
57
|
-
s.add_dependency(%q<bundler>, ["~> 1.
|
59
|
+
s.add_dependency(%q<bundler>, ["~> 1.3.5"])
|
58
60
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
59
|
-
s.add_dependency(%q<
|
61
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
60
62
|
end
|
61
63
|
else
|
62
64
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
63
65
|
s.add_dependency(%q<call_with_params>, [">= 0"])
|
64
|
-
s.add_dependency(%q<bundler>, ["~> 1.
|
66
|
+
s.add_dependency(%q<bundler>, ["~> 1.3.5"])
|
65
67
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
66
|
-
s.add_dependency(%q<
|
68
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
67
69
|
end
|
68
70
|
end
|
69
71
|
|
data/lib/blocks.rb
CHANGED
@@ -5,7 +5,6 @@ require "call_with_params"
|
|
5
5
|
module Blocks
|
6
6
|
autoload :Base, "blocks/base"
|
7
7
|
autoload :Container, "blocks/container"
|
8
|
-
autoload :ProcWithArgs, "blocks/proc_with_args"
|
9
8
|
autoload :ViewAdditions, "blocks/view_additions"
|
10
9
|
autoload :ControllerAdditions, "blocks/controller_additions"
|
11
10
|
|
metadata
CHANGED
@@ -1,108 +1,106 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: blocks
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.3.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 3
|
9
|
-
- 0
|
10
|
-
version: 2.3.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Andrew Hunter
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
date: 2013-09-03 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
22
17
|
none: false
|
23
|
-
requirements:
|
24
|
-
- -
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
hash: 7
|
27
|
-
segments:
|
28
|
-
- 3
|
29
|
-
- 0
|
30
|
-
- 0
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 3.0.0
|
32
|
-
requirement: *id001
|
33
|
-
prerelease: false
|
34
|
-
name: rails
|
35
22
|
type: :runtime
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
|
-
requirements:
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
hash: 3
|
43
|
-
segments:
|
44
|
-
- 0
|
45
|
-
version: "0"
|
46
|
-
requirement: *id002
|
47
23
|
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.0.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
48
31
|
name: call_with_params
|
49
|
-
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
52
33
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
|
58
|
-
- 1
|
59
|
-
- 1
|
60
|
-
- 5
|
61
|
-
version: 1.1.5
|
62
|
-
requirement: *id003
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
63
39
|
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
64
47
|
name: bundler
|
65
|
-
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
68
49
|
none: false
|
69
|
-
requirements:
|
50
|
+
requirements:
|
70
51
|
- - ~>
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
|
73
|
-
|
74
|
-
- 1
|
75
|
-
- 6
|
76
|
-
- 4
|
77
|
-
version: 1.6.4
|
78
|
-
requirement: *id004
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.3.5
|
54
|
+
type: :development
|
79
55
|
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.3.5
|
62
|
+
- !ruby/object:Gem::Dependency
|
80
63
|
name: jeweler
|
81
|
-
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
84
65
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
89
|
-
|
90
|
-
- 0
|
91
|
-
version: "0"
|
92
|
-
requirement: *id005
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.6.4
|
70
|
+
type: :development
|
93
71
|
prerelease: false
|
94
|
-
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.6.4
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: simplecov
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
95
86
|
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
96
94
|
description: Blocks goes beyond blocks and partials
|
97
95
|
email: hunterae@gmail.com
|
98
96
|
executables: []
|
99
|
-
|
100
97
|
extensions: []
|
101
|
-
|
102
|
-
extra_rdoc_files:
|
98
|
+
extra_rdoc_files:
|
103
99
|
- README.rdoc
|
104
|
-
files:
|
100
|
+
files:
|
105
101
|
- .rspec
|
102
|
+
- .ruby-gemset
|
103
|
+
- .ruby-version
|
106
104
|
- CHANGELOG.rdoc
|
107
105
|
- Gemfile
|
108
106
|
- README.rdoc
|
@@ -122,37 +120,33 @@ files:
|
|
122
120
|
- spec/blocks/view_additions_spec.rb
|
123
121
|
- spec/spec_helper.rb
|
124
122
|
homepage: http://github.com/hunterae/blocks
|
125
|
-
licenses:
|
123
|
+
licenses:
|
126
124
|
- MIT
|
127
125
|
post_install_message:
|
128
126
|
rdoc_options: []
|
129
|
-
|
130
|
-
require_paths:
|
127
|
+
require_paths:
|
131
128
|
- lib
|
132
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
129
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
133
130
|
none: false
|
134
|
-
requirements:
|
135
|
-
- -
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
|
138
|
-
segments:
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
segments:
|
139
136
|
- 0
|
140
|
-
|
141
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
hash: 709572836072334068
|
138
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
139
|
none: false
|
143
|
-
requirements:
|
144
|
-
- -
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
|
147
|
-
segments:
|
148
|
-
- 0
|
149
|
-
version: "0"
|
140
|
+
requirements:
|
141
|
+
- - ! '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
150
144
|
requirements: []
|
151
|
-
|
152
145
|
rubyforge_project:
|
153
|
-
rubygems_version: 1.8.
|
146
|
+
rubygems_version: 1.8.25
|
154
147
|
signing_key:
|
155
148
|
specification_version: 3
|
156
|
-
summary: Blocks is an intricate way of rendering blocks of code and adding several
|
149
|
+
summary: Blocks is an intricate way of rendering blocks of code and adding several
|
150
|
+
new features that go above and beyond what a simple content_for with yield is capable
|
151
|
+
of doing.
|
157
152
|
test_files: []
|
158
|
-
|