braai 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +3 -3
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/braai.gemspec +0 -0
- data/lib/braai.rb +1 -1
- data/lib/braai/configuration.rb +0 -0
- data/lib/braai/context.rb +0 -0
- data/lib/braai/matchers.rb +0 -0
- data/lib/braai/template.rb +0 -0
- data/lib/braai/version.rb +1 -1
- data/spec/braai/context_spec.rb +15 -0
- data/spec/braai/matchers_spec.rb +0 -0
- data/spec/braai/readme_spec.rb +0 -0
- data/spec/braai/template_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- metadata +4 -2
data/.gitignore
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
braai (1.2.
|
4
|
+
braai (1.2.1)
|
5
5
|
activesupport
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activesupport (3.2.
|
10
|
+
activesupport (3.2.9)
|
11
11
|
i18n (~> 0.6)
|
12
12
|
multi_json (~> 1.0)
|
13
13
|
diff-lcs (1.1.3)
|
14
14
|
i18n (0.6.1)
|
15
|
-
multi_json (1.
|
15
|
+
multi_json (1.4.0)
|
16
16
|
rspec (2.11.0)
|
17
17
|
rspec-core (~> 2.11.0)
|
18
18
|
rspec-expectations (~> 2.11.0)
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/braai.gemspec
CHANGED
File without changes
|
data/lib/braai.rb
CHANGED
data/lib/braai/configuration.rb
CHANGED
File without changes
|
data/lib/braai/context.rb
CHANGED
File without changes
|
data/lib/braai/matchers.rb
CHANGED
File without changes
|
data/lib/braai/template.rb
CHANGED
File without changes
|
data/lib/braai/version.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'spec_helper.rb'
|
2
|
+
|
3
|
+
describe Braai::Context do
|
4
|
+
|
5
|
+
describe '#initialize' do
|
6
|
+
|
7
|
+
describe 'attributes arguments' do
|
8
|
+
|
9
|
+
it 'allows a nested hash' do
|
10
|
+
context = Braai::Context.new("template", "matchers", { hash: { foo: 'bar' } })
|
11
|
+
context.attributes[:hash].should eql("foo" => 'bar')
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/spec/braai/matchers_spec.rb
CHANGED
File without changes
|
data/spec/braai/readme_spec.rb
CHANGED
File without changes
|
data/spec/braai/template_spec.rb
CHANGED
File without changes
|
data/spec/spec_helper.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: braai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.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
|
+
date: 2012-12-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -47,6 +47,7 @@ files:
|
|
47
47
|
- lib/braai/matchers.rb
|
48
48
|
- lib/braai/template.rb
|
49
49
|
- lib/braai/version.rb
|
50
|
+
- spec/braai/context_spec.rb
|
50
51
|
- spec/braai/matchers_spec.rb
|
51
52
|
- spec/braai/readme_spec.rb
|
52
53
|
- spec/braai/template_spec.rb
|
@@ -76,6 +77,7 @@ signing_key:
|
|
76
77
|
specification_version: 3
|
77
78
|
summary: Fully extensible templating system.
|
78
79
|
test_files:
|
80
|
+
- spec/braai/context_spec.rb
|
79
81
|
- spec/braai/matchers_spec.rb
|
80
82
|
- spec/braai/readme_spec.rb
|
81
83
|
- spec/braai/template_spec.rb
|