acts_as_reportable 1.1.0 → 1.1.1
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/Rakefile +1 -1
- data/lib/ruport/acts_as_reportable.rb +3 -5
- metadata +49 -42
data/Rakefile
CHANGED
@@ -369,11 +369,9 @@ module Ruport
|
|
369
369
|
# name to the attribute name as association.attribute
|
370
370
|
#
|
371
371
|
def get_attributes_with_options(options = {})
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
end
|
376
|
-
attrs = attributes(only_or_except)
|
372
|
+
attrs = attributes
|
373
|
+
attrs.slice!(*options[:only].map(&:to_s)) if options[:only]
|
374
|
+
attrs.except!(*options[:except].map(&:to_s)) if options[:except]
|
377
375
|
attrs = attrs.inject({}) {|h,(k,v)|
|
378
376
|
h["#{options[:qualify_attribute_names]}.#{k}"] = v; h
|
379
377
|
} if options[:qualify_attribute_names]
|
metadata
CHANGED
@@ -1,59 +1,66 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.2
|
3
|
-
specification_version: 1
|
4
2
|
name: acts_as_reportable
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.1.
|
7
|
-
date: 2008-04-01 00:00:00 -04:00
|
8
|
-
summary: ActiveRecord support for Ruby Reports
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: mikem836@gmail.com
|
12
|
-
homepage: http://rubyreports.org
|
13
|
-
rubyforge_project: ruport
|
14
|
-
description: acts_as_reportable provides ActiveRecord support for Ruby Reports
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 1.1.1
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Michael Milner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-06-09 00:00:00 -05:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: ruport
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.6.0
|
23
|
+
version:
|
24
|
+
description: acts_as_reportable provides ActiveRecord support for Ruby Reports
|
25
|
+
email: mikem836@gmail.com
|
26
|
+
executables: []
|
27
|
+
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files: []
|
31
|
+
|
31
32
|
files:
|
32
33
|
- lib/ruport
|
33
34
|
- lib/ruport/acts_as_reportable.rb
|
34
35
|
- test/helpers.rb
|
35
36
|
- test/acts_as_reportable_test.rb
|
36
37
|
- Rakefile
|
37
|
-
|
38
|
-
|
38
|
+
has_rdoc: true
|
39
|
+
homepage: http://rubyreports.org
|
40
|
+
post_install_message:
|
39
41
|
rdoc_options:
|
40
42
|
- --title
|
41
43
|
- Ruport Documentation
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
44
|
+
require_paths:
|
45
|
+
- lib
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: "0"
|
51
|
+
version:
|
52
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "0"
|
57
|
+
version:
|
48
58
|
requirements: []
|
49
59
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version: 1.6.0
|
59
|
-
version:
|
60
|
+
rubyforge_project: ruport
|
61
|
+
rubygems_version: 1.1.1
|
62
|
+
signing_key:
|
63
|
+
specification_version: 2
|
64
|
+
summary: ActiveRecord support for Ruby Reports
|
65
|
+
test_files:
|
66
|
+
- test/acts_as_reportable_test.rb
|