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 CHANGED
File without changes
data/Gemfile CHANGED
File without changes
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- braai (1.2.0)
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.8)
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.3.6)
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)
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  require 'logger'
2
- require 'active_support/hash_with_indifferent_access'
2
+ require "active_support/core_ext/hash/indifferent_access"
3
3
  require "braai/version"
4
4
  require "braai/configuration"
5
5
  require "braai/matchers"
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module Braai
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
@@ -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
File without changes
File without changes
File without changes
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.0
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-10-23 00:00:00.000000000 Z
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