active_decorator 0.5.2 → 0.5.3
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.
- checksums.yaml +4 -4
- data/active_decorator.gemspec +2 -2
- data/lib/active_decorator/version.rb +1 -1
- data/lib/generators/rails/decorator_generator.rb +1 -1
- data/lib/generators/rspec/decorator_generator.rb +1 -1
- data/lib/generators/test_unit/decorator_generator.rb +1 -1
- data/spec/fake_app/fake_app.rb +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b629e8976c74e87685b7bb1fbf2e147e98b28d0
|
|
4
|
+
data.tar.gz: 39f23f27bf3a043b71dce4e6d819d1108090ba81
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5bd056ada07410daf3273da2227d1a486d16676cba88cf7ed6297fa6647feccd97d1219c5e86cee571c790a368f6ad2c5a8a6c1e556ded5c64167971f5cdfb0b
|
|
7
|
+
data.tar.gz: b7e46eac597123a5ae5d9741c76101341684d3e0ca93b6ae1792eb152c8b4f7691faf82c695ad3c7e926744b2b2ce27d602219eb58a9d820b0a027dc5df58b4c
|
data/active_decorator.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
|
|
|
8
8
|
s.authors = ["Akira Matsuda"]
|
|
9
9
|
s.email = ["ronnie@dio.jp"]
|
|
10
10
|
s.homepage = 'https://github.com/amatsuda/active_decorator'
|
|
11
|
-
s.summary = %q{A simple and Rubyish view helper for Rails
|
|
12
|
-
s.description = %q{A simple and Rubyish view helper for Rails
|
|
11
|
+
s.summary = %q{A simple and Rubyish view helper for Rails}
|
|
12
|
+
s.description = %q{A simple and Rubyish view helper for Rails}
|
|
13
13
|
|
|
14
14
|
s.rubyforge_project = "active_decorator"
|
|
15
15
|
|
|
@@ -15,7 +15,7 @@ Examples:
|
|
|
15
15
|
DESC
|
|
16
16
|
|
|
17
17
|
def create_decorator_file
|
|
18
|
-
template 'decorator.rb', File.join('app/decorators', "#{
|
|
18
|
+
template 'decorator.rb', File.join('app/decorators', class_path, "#{file_name}_decorator.rb")
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
hook_for :test_framework
|
|
@@ -3,7 +3,7 @@ module Rspec
|
|
|
3
3
|
source_root File.expand_path('../templates', __FILE__)
|
|
4
4
|
|
|
5
5
|
def create_spec_file
|
|
6
|
-
template 'decorator_spec.rb', File.join('spec/decorators', "#{
|
|
6
|
+
template 'decorator_spec.rb', File.join('spec/decorators', class_path, "#{file_name}_decorator_spec.rb")
|
|
7
7
|
end
|
|
8
8
|
end
|
|
9
9
|
end
|
|
@@ -3,7 +3,7 @@ module TestUnit
|
|
|
3
3
|
source_root File.expand_path('../templates', __FILE__)
|
|
4
4
|
|
|
5
5
|
def create_test_file
|
|
6
|
-
template 'decorator_test.rb', File.join('test/decorators', "#{
|
|
6
|
+
template 'decorator_test.rb', File.join('test/decorators', class_path, "#{file_name}_decorator_test.rb")
|
|
7
7
|
end
|
|
8
8
|
end
|
|
9
9
|
end
|
data/spec/fake_app/fake_app.rb
CHANGED
metadata
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_decorator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Akira Matsuda
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-06-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: A simple and Rubyish view helper for Rails
|
|
13
|
+
description: A simple and Rubyish view helper for Rails
|
|
14
14
|
email:
|
|
15
15
|
- ronnie@dio.jp
|
|
16
16
|
executables: []
|
|
@@ -89,7 +89,7 @@ rubyforge_project: active_decorator
|
|
|
89
89
|
rubygems_version: 2.4.5
|
|
90
90
|
signing_key:
|
|
91
91
|
specification_version: 4
|
|
92
|
-
summary: A simple and Rubyish view helper for Rails
|
|
92
|
+
summary: A simple and Rubyish view helper for Rails
|
|
93
93
|
test_files:
|
|
94
94
|
- spec/configuration_spec.rb
|
|
95
95
|
- spec/controllers/fake_detection_spec.rb
|