bicycle 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.md +6 -6
  2. data/Rakefile +2 -2
  3. data/VERSION +1 -1
  4. data/bicycle.gemspec +3 -3
  5. metadata +5 -4
data/README.md CHANGED
@@ -27,13 +27,13 @@ include Bicycle
27
27
 
28
28
  To use, call the cycle function with a set of values you wish to cycle through.
29
29
 
30
- ```ruby
30
+ ```erb
31
31
  <%= cycle("odd", "even") %>
32
32
  ```
33
33
 
34
34
  For example:
35
35
 
36
- ```ruby
36
+ ```erb
37
37
  <% @items.each do |item| %>
38
38
  <tr class="<%= cycle("odd", "even") %>">
39
39
  <td>item</td>
@@ -43,19 +43,19 @@ For example:
43
43
 
44
44
  If you want to call multiple instances of the cycle function, you can by specifying a name attribute, like so: '
45
45
 
46
- ```ruby
46
+ ```erb
47
47
  <%= cycle("red", "green", "blue", :name => "colours") %>
48
48
  ```
49
49
 
50
50
  You can also reset a given cycle by calling:
51
51
 
52
- ```ruby
52
+ ```erb
53
53
  <% reset_cycle("colours") %>
54
54
  ```
55
55
 
56
56
  For example:
57
57
 
58
- ```ruby
58
+ ```erb
59
59
  <% @items.each do |item| %>
60
60
  <tr class="<%= cycle("odd", "even", :name => "row_class") -%>">
61
61
  <td>
@@ -85,6 +85,6 @@ Contributing to bicycle
85
85
  Copyright
86
86
  ---------
87
87
 
88
- Copyright (c) 2012 Stuart Chinery. See LICENSE.txt for
88
+ Copyright (c) 2012 [Stuart Chinery](http://www.headlondon.com/who-we-are#stuart-chinery) and [Dave Hrycyszyn](http://www.headlondon.com/who-we-are#david-hrycyszyn), [headlondon.com](http://www.headlondon.com). See LICENSE.txt for
89
89
  further details.
90
90
 
data/Rakefile CHANGED
@@ -19,8 +19,8 @@ Jeweler::Tasks.new do |gem|
19
19
  gem.license = "MIT"
20
20
  gem.summary = %Q{Why walk when you can cycle}
21
21
  gem.description = %Q{A convenience gem for cycling through a set of values, ported from the 'cycle' functionality found in Rails. It is independent of which framework you use so will run in Sinatra, Padrino or straight up Ruby itself.}
22
- gem.email = "sleepingstu@gmail.com"
23
- gem.authors = ["Stuart Chinery"]
22
+ gem.email = "stuart.chinery@headlondon.com"
23
+ gem.authors = ["Stuart Chinery", "Dave Hrycyszyn"]
24
24
  # dependencies defined in Gemfile
25
25
  end
26
26
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,13 +5,13 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bicycle"
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Stuart Chinery"]
11
+ s.authors = ["Stuart Chinery", "Dave Hrycyszyn"]
12
12
  s.date = "2012-06-06"
13
13
  s.description = "A convenience gem for cycling through a set of values, ported from the 'cycle' functionality found in Rails. It is independent of which framework you use so will run in Sinatra, Padrino or straight up Ruby itself."
14
- s.email = "sleepingstu@gmail.com"
14
+ s.email = "stuart.chinery@headlondon.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.md"
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bicycle
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stuart Chinery
14
+ - Dave Hrycyszyn
14
15
  autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
@@ -78,7 +79,7 @@ dependencies:
78
79
  name: jeweler
79
80
  prerelease: false
80
81
  description: A convenience gem for cycling through a set of values, ported from the 'cycle' functionality found in Rails. It is independent of which framework you use so will run in Sinatra, Padrino or straight up Ruby itself.
81
- email: sleepingstu@gmail.com
82
+ email: stuart.chinery@headlondon.com
82
83
  executables: []
83
84
 
84
85
  extensions: []