snipp 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.travis.yml ADDED
@@ -0,0 +1,22 @@
1
+ language: ruby
2
+ bundler_args: --without development
3
+ rvm:
4
+ - 1.9.3
5
+ - 2.0.0
6
+ - ruby-head
7
+ - jruby-19mode
8
+ - jruby-head
9
+ - rbx-19mode
10
+ matrix:
11
+ allow_failures:
12
+ - rvm: ruby-head
13
+ - rvm: jruby-head
14
+ branches:
15
+ only:
16
+ - master
17
+ after_success:
18
+ - cover -report coveralls
19
+ notifications:
20
+ recipients:
21
+ - yuliinfo@gmail.com
22
+
@@ -11,7 +11,7 @@
11
11
  <h2>Advanced</h2>
12
12
  <section id="case-B-1">
13
13
  <h3>Specify Parameters for URL (path) and i18n</h3>
14
- <%= breadcrumb [:root, :foods, :fruits, :fruits_color, :food], s: "/", params: [:color, :name] %>
14
+ <%= breadcrumb [:root, :foods, :fruits, :fruits_color, :food], s: "/", args: [:color, :name] %>
15
15
  </section>
16
16
  <section id="case-B-2">
17
17
  <h3>Customize Variables</h3>
@@ -19,5 +19,5 @@
19
19
  </section>
20
20
  <section id="case-B-3">
21
21
  <h3>Customize Variables and Specify Parameters</h3>
22
- <%= breadcrumb [:root, :foods, :fruits, { path: fruits_color_path, label: :fruits_color }, { path: food_path, label: :food }], s: "/", params: [:color, :name] %>
22
+ <%= breadcrumb [:root, :foods, :fruits, { path: fruits_color_path, label: :fruits_color }, { path: food_path, label: :food }], s: "/", args: [:color, :name] %>
23
23
  </section>
@@ -8,7 +8,7 @@ module Snipp
8
8
 
9
9
  # options for i18n
10
10
  i18n_options = { scope: [:views, :breadcrumb] }
11
- (options[:params]||[]).each do |e|
11
+ (options[:args]||[]).each do |e|
12
12
  i18n_options[e] = params[e]
13
13
  end
14
14
 
data/lib/snipp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Snipp
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snipp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -36,6 +36,7 @@ extra_rdoc_files: []
36
36
  files:
37
37
  - .gitignore
38
38
  - .rspec
39
+ - .travis.yml
39
40
  - Gemfile
40
41
  - LICENSE.txt
41
42
  - README.md