with_template 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'blocks', '~> 2.6.0'
3
+ gem 'blocks', '~> 2.6.1'
4
4
  gem 'rails', '>= 3.0.0'
5
5
 
6
6
  group :development do
data/Gemfile.lock CHANGED
@@ -1,33 +1,34 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- actionmailer (4.0.0)
5
- actionpack (= 4.0.0)
6
- mail (~> 2.5.3)
7
- actionpack (4.0.0)
8
- activesupport (= 4.0.0)
4
+ actionmailer (4.0.1)
5
+ actionpack (= 4.0.1)
6
+ mail (~> 2.5.4)
7
+ actionpack (4.0.1)
8
+ activesupport (= 4.0.1)
9
9
  builder (~> 3.1.0)
10
10
  erubis (~> 2.7.0)
11
11
  rack (~> 1.5.2)
12
12
  rack-test (~> 0.6.2)
13
- activemodel (4.0.0)
14
- activesupport (= 4.0.0)
13
+ activemodel (4.0.1)
14
+ activesupport (= 4.0.1)
15
15
  builder (~> 3.1.0)
16
- activerecord (4.0.0)
17
- activemodel (= 4.0.0)
16
+ activerecord (4.0.1)
17
+ activemodel (= 4.0.1)
18
18
  activerecord-deprecated_finders (~> 1.0.2)
19
- activesupport (= 4.0.0)
19
+ activesupport (= 4.0.1)
20
20
  arel (~> 4.0.0)
21
21
  activerecord-deprecated_finders (1.0.3)
22
- activesupport (4.0.0)
22
+ activesupport (4.0.1)
23
23
  i18n (~> 0.6, >= 0.6.4)
24
24
  minitest (~> 4.2)
25
25
  multi_json (~> 1.3)
26
26
  thread_safe (~> 0.1)
27
27
  tzinfo (~> 0.3.37)
28
- arel (4.0.0)
29
- atomic (1.1.13)
30
- blocks (2.6.0)
28
+ addressable (2.3.5)
29
+ arel (4.0.1)
30
+ atomic (1.1.14)
31
+ blocks (2.6.1)
31
32
  call_with_params (~> 0.0.2)
32
33
  hashie
33
34
  rails (>= 3.0.0)
@@ -35,14 +36,33 @@ GEM
35
36
  call_with_params (0.0.2)
36
37
  activesupport (>= 3.0.0)
37
38
  erubis (2.7.0)
39
+ faraday (0.8.8)
40
+ multipart-post (~> 1.2.0)
38
41
  git (1.2.6)
42
+ github_api (0.10.1)
43
+ addressable
44
+ faraday (~> 0.8.1)
45
+ hashie (>= 1.2)
46
+ multi_json (~> 1.4)
47
+ nokogiri (~> 1.5.2)
48
+ oauth2
39
49
  hashie (2.0.5)
50
+ highline (1.6.20)
40
51
  hike (1.2.3)
52
+ httpauth (0.2.0)
41
53
  i18n (0.6.5)
42
- jeweler (1.6.4)
54
+ jeweler (1.8.8)
55
+ builder
43
56
  bundler (~> 1.0)
44
57
  git (>= 1.2.5)
58
+ github_api (= 0.10.1)
59
+ highline (>= 1.6.15)
60
+ nokogiri (= 1.5.10)
45
61
  rake
62
+ rdoc
63
+ json (1.8.1)
64
+ jwt (0.1.8)
65
+ multi_json (>= 1.5)
46
66
  mail (2.5.4)
47
67
  mime-types (~> 1.16)
48
68
  treetop (~> 1.4.8)
@@ -51,30 +71,42 @@ GEM
51
71
  minitest (4.7.5)
52
72
  mocha (0.14.0)
53
73
  metaclass (~> 0.0.1)
54
- multi_json (1.7.9)
74
+ multi_json (1.8.2)
75
+ multi_xml (0.5.5)
76
+ multipart-post (1.2.0)
77
+ nokogiri (1.5.10)
78
+ oauth2 (0.9.2)
79
+ faraday (~> 0.8)
80
+ httpauth (~> 0.2)
81
+ jwt (~> 0.1.4)
82
+ multi_json (~> 1.0)
83
+ multi_xml (~> 0.5)
84
+ rack (~> 1.2)
55
85
  polyglot (0.3.3)
56
86
  rack (1.5.2)
57
87
  rack-test (0.6.2)
58
88
  rack (>= 1.0)
59
- rails (4.0.0)
60
- actionmailer (= 4.0.0)
61
- actionpack (= 4.0.0)
62
- activerecord (= 4.0.0)
63
- activesupport (= 4.0.0)
89
+ rails (4.0.1)
90
+ actionmailer (= 4.0.1)
91
+ actionpack (= 4.0.1)
92
+ activerecord (= 4.0.1)
93
+ activesupport (= 4.0.1)
64
94
  bundler (>= 1.3.0, < 2.0)
65
- railties (= 4.0.0)
95
+ railties (= 4.0.1)
66
96
  sprockets-rails (~> 2.0.0)
67
- railties (4.0.0)
68
- actionpack (= 4.0.0)
69
- activesupport (= 4.0.0)
97
+ railties (4.0.1)
98
+ actionpack (= 4.0.1)
99
+ activesupport (= 4.0.1)
70
100
  rake (>= 0.8.7)
71
101
  thor (>= 0.18.1, < 2.0)
72
102
  rake (10.1.0)
103
+ rdoc (4.0.1)
104
+ json (~> 1.4)
73
105
  shoulda (3.5.0)
74
106
  shoulda-context (~> 1.0, >= 1.0.1)
75
107
  shoulda-matchers (>= 1.4.1, < 3.0)
76
108
  shoulda-context (1.1.5)
77
- shoulda-matchers (2.3.0)
109
+ shoulda-matchers (2.4.0)
78
110
  activesupport (>= 3.0.0)
79
111
  simplecov (0.7.1)
80
112
  multi_json (~> 1.0)
@@ -85,24 +117,24 @@ GEM
85
117
  multi_json (~> 1.0)
86
118
  rack (~> 1.0)
87
119
  tilt (~> 1.1, != 1.3.0)
88
- sprockets-rails (2.0.0)
120
+ sprockets-rails (2.0.1)
89
121
  actionpack (>= 3.0)
90
122
  activesupport (>= 3.0)
91
123
  sprockets (~> 2.8)
92
124
  thor (0.18.1)
93
- thread_safe (0.1.2)
125
+ thread_safe (0.1.3)
94
126
  atomic
95
127
  tilt (1.4.1)
96
128
  treetop (1.4.15)
97
129
  polyglot
98
130
  polyglot (>= 0.3.1)
99
- tzinfo (0.3.37)
131
+ tzinfo (0.3.38)
100
132
 
101
133
  PLATFORMS
102
134
  ruby
103
135
 
104
136
  DEPENDENCIES
105
- blocks (~> 2.6.0)
137
+ blocks (~> 2.6.1)
106
138
  bundler
107
139
  jeweler
108
140
  mocha
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
data/test/base_test.rb CHANGED
@@ -6,7 +6,7 @@ class WithTemplate::BaseTest < Test::Unit::TestCase
6
6
  @builder = WithTemplate::Base.new(@view)
7
7
  end
8
8
 
9
- context "render_template" do
9
+ context "#render_template" do
10
10
  should "attempt to render a partial specified as the :template parameter" do
11
11
  @view.expects(:render).with{ |template, options| template == "my_template"}
12
12
  @builder.render_template("my_template")
@@ -35,7 +35,7 @@ class WithTemplate::BaseTest < Test::Unit::TestCase
35
35
  end
36
36
  end
37
37
 
38
- context "queue" do
38
+ context "#queue" do
39
39
  should "store all queued blocks in the queued_blocks array" do
40
40
  assert @builder.queued_blocks.empty?
41
41
  @builder.queue :test_block
@@ -90,7 +90,7 @@ class WithTemplate::BaseTest < Test::Unit::TestCase
90
90
  end
91
91
  end
92
92
 
93
- context "method_missing" do
93
+ context "#method_missing" do
94
94
  should "start a new block group if a method is missing" do
95
95
  @builder.some_method
96
96
  queued_blocks = @builder.block_groups[:some_method]
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "with_template"
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
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"]
@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
44
44
  s.specification_version = 3
45
45
 
46
46
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
- s.add_runtime_dependency(%q<blocks>, ["~> 2.6.0"])
47
+ s.add_runtime_dependency(%q<blocks>, ["~> 2.6.1"])
48
48
  s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
49
49
  s.add_development_dependency(%q<bundler>, [">= 0"])
50
50
  s.add_development_dependency(%q<jeweler>, [">= 0"])
@@ -52,7 +52,7 @@ Gem::Specification.new do |s|
52
52
  s.add_development_dependency(%q<shoulda>, [">= 0"])
53
53
  s.add_development_dependency(%q<mocha>, [">= 0"])
54
54
  else
55
- s.add_dependency(%q<blocks>, ["~> 2.6.0"])
55
+ s.add_dependency(%q<blocks>, ["~> 2.6.1"])
56
56
  s.add_dependency(%q<rails>, [">= 3.0.0"])
57
57
  s.add_dependency(%q<bundler>, [">= 0"])
58
58
  s.add_dependency(%q<jeweler>, [">= 0"])
@@ -61,7 +61,7 @@ Gem::Specification.new do |s|
61
61
  s.add_dependency(%q<mocha>, [">= 0"])
62
62
  end
63
63
  else
64
- s.add_dependency(%q<blocks>, ["~> 2.6.0"])
64
+ s.add_dependency(%q<blocks>, ["~> 2.6.1"])
65
65
  s.add_dependency(%q<rails>, [">= 3.0.0"])
66
66
  s.add_dependency(%q<bundler>, [">= 0"])
67
67
  s.add_dependency(%q<jeweler>, [">= 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: with_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 2.6.0
21
+ version: 2.6.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 2.6.0
29
+ version: 2.6.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rails
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -163,7 +163,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
163
163
  version: '0'
164
164
  segments:
165
165
  - 0
166
- hash: 342149789488764602
166
+ hash: -2641414892288720876
167
167
  required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  none: false
169
169
  requirements: