active_decorator 0.3.3 → 0.3.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 CHANGED
@@ -3,8 +3,19 @@ script: bundle exec rake spec
3
3
  rvm:
4
4
  - 1.8.7
5
5
  - 1.9.3
6
+ - 2.0.0
6
7
  - ruby-head
7
8
  gemfile:
8
9
  - gemfiles/Gemfile-rails.3.0.x
9
10
  - gemfiles/Gemfile-rails.3.1.x
10
11
  - Gemfile
12
+ matrix:
13
+ exclude:
14
+ - rvm: 2.0.0
15
+ gemfile: gemfiles/Gemfile-rails.3.0.x
16
+ - rvm: 2.0.0
17
+ gemfile: gemfiles/Gemfile-rails.3.1.x
18
+ - rvm: ruby-head
19
+ gemfile: gemfiles/Gemfile-rails.3.0.x
20
+ - rvm: ruby-head
21
+ gemfile: gemfiles/Gemfile-rails.3.1.x
data/Gemfile CHANGED
@@ -1,8 +1,8 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
5
  gem 'rails', '~> 3.2.0'
6
6
  gem 'rspec-rails'
7
- gem 'capybara'
7
+ gem 'capybara', '>= 2'
8
8
  gem 'sqlite3'
@@ -12,7 +12,7 @@ module ActiveDecorator
12
12
  def decorate(obj)
13
13
  return if obj.nil?
14
14
 
15
- if obj.is_a? Array
15
+ if Array === obj
16
16
  obj.each do |r|
17
17
  decorate r
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveDecorator
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
3
3
  end
File without changes
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_decorator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
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-07-18 00:00:00.000000000 Z
12
+ date: 2013-02-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A simple and Rubyish view helper for Rails 3
15
15
  email:
@@ -48,9 +48,9 @@ files:
48
48
  - spec/fake_app/books/_book_locals.html.erb
49
49
  - spec/fake_app/books/show.html.erb
50
50
  - spec/fake_app/fake_app.rb
51
- - spec/requests/action_view_helpers_spec.rb
52
- - spec/requests/controller_ivar_spec.rb
53
- - spec/requests/partial_spec.rb
51
+ - spec/features/action_view_helpers_spec.rb
52
+ - spec/features/controller_ivar_spec.rb
53
+ - spec/features/partial_spec.rb
54
54
  - spec/spec_helper.rb
55
55
  homepage: https://github.com/amatsuda/active_decorator
56
56
  licenses: []
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  version: '0'
73
73
  requirements: []
74
74
  rubyforge_project: active_decorator
75
- rubygems_version: 1.8.24
75
+ rubygems_version: 1.8.23
76
76
  signing_key:
77
77
  specification_version: 3
78
78
  summary: A simple and Rubyish view helper for Rails 3
@@ -83,7 +83,7 @@ test_files:
83
83
  - spec/fake_app/books/_book_locals.html.erb
84
84
  - spec/fake_app/books/show.html.erb
85
85
  - spec/fake_app/fake_app.rb
86
- - spec/requests/action_view_helpers_spec.rb
87
- - spec/requests/controller_ivar_spec.rb
88
- - spec/requests/partial_spec.rb
86
+ - spec/features/action_view_helpers_spec.rb
87
+ - spec/features/controller_ivar_spec.rb
88
+ - spec/features/partial_spec.rb
89
89
  - spec/spec_helper.rb