ar_report 0.0.1.alpha → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -4
- data/ar_report.gemspec +1 -1
- data/lib/ar_report/version.rb +1 -1
- metadata +86 -76
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# ArReport
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/ar_report.png)](http://badge.fury.io/rb/ar_report)
|
4
|
+
|
3
5
|
Install, Generate and email.. cant get simpler than this.. Generate basic ActiveRecord Report with ease.
|
4
6
|
|
5
7
|
|
@@ -34,11 +36,13 @@ When you open this file, you can specify various options fir your report like mo
|
|
34
36
|
ar_report:
|
35
37
|
models: #specify model name here for eg 'User' or array of models ['User', 'Post']
|
36
38
|
|
37
|
-
|
39
|
+
file_name: #specify name of the xls report to be attached
|
38
40
|
|
39
|
-
|
41
|
+
report_from: # specify email address of user from which you want to send the email.
|
40
42
|
|
41
|
-
|
43
|
+
report_to: # specify email address of users/group to whom you want to send an email to.
|
44
|
+
|
45
|
+
subject: #subject of the email to be sent
|
42
46
|
</pre>
|
43
47
|
|
44
48
|
Fill in al the required details and.. hey.. you are done..!
|
@@ -69,4 +73,4 @@ You could also run:
|
|
69
73
|
|
70
74
|
Specs.
|
71
75
|
|
72
|
-
:collision: :collision: :collision:
|
76
|
+
:collision: :collision: :collision:
|
data/ar_report.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.email = ["manishspuri@gmail.com"]
|
7
7
|
gem.description = %q{A wrapper to send model reports using using spreadsheet and mail gem}
|
8
8
|
gem.summary = %q{This gem will extract an excel report from a activerecord model and send a report to a specified email}
|
9
|
-
gem.homepage = ""
|
9
|
+
gem.homepage = "https://github.com/Manik-Ratnas/ar_report"
|
10
10
|
|
11
11
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
12
12
|
gem.files = `git ls-files`.split("\n")
|
data/lib/ar_report/version.rb
CHANGED
metadata
CHANGED
@@ -1,87 +1,88 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ar_report
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Manish Puri
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2014-03-03 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: rails
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: spreadsheet
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
33
24
|
none: false
|
34
|
-
requirements:
|
35
|
-
- -
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
38
32
|
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: spreadsheet
|
39
36
|
prerelease: false
|
40
|
-
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: mail
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
49
38
|
none: false
|
50
|
-
requirements:
|
51
|
-
- -
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
54
46
|
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: mail
|
55
50
|
prerelease: false
|
56
|
-
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
52
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
version: "0"
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
63
|
name: rspec
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
type: :development
|
71
64
|
prerelease: false
|
72
|
-
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
66
|
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
hash: 3
|
71
|
+
segments:
|
72
|
+
- 0
|
73
|
+
version: "0"
|
74
|
+
type: :development
|
75
|
+
version_requirements: *id004
|
78
76
|
description: A wrapper to send model reports using using spreadsheet and mail gem
|
79
|
-
email:
|
77
|
+
email:
|
80
78
|
- manishspuri@gmail.com
|
81
79
|
executables: []
|
80
|
+
|
82
81
|
extensions: []
|
82
|
+
|
83
83
|
extra_rdoc_files: []
|
84
|
-
|
84
|
+
|
85
|
+
files:
|
85
86
|
- .gitignore
|
86
87
|
- Gemfile
|
87
88
|
- LICENSE
|
@@ -95,29 +96,38 @@ files:
|
|
95
96
|
- lib/railtie.rb
|
96
97
|
- lib/settings.rb
|
97
98
|
- tasks/ar_report.rake
|
98
|
-
homepage:
|
99
|
+
homepage: https://github.com/Manik-Ratnas/ar_report
|
99
100
|
licenses: []
|
101
|
+
|
100
102
|
post_install_message:
|
101
103
|
rdoc_options: []
|
102
|
-
|
104
|
+
|
105
|
+
require_paths:
|
103
106
|
- lib
|
104
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
105
108
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
110
|
-
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
hash: 3
|
113
|
+
segments:
|
114
|
+
- 0
|
115
|
+
version: "0"
|
116
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
117
|
none: false
|
112
|
-
requirements:
|
113
|
-
- -
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
hash: 3
|
122
|
+
segments:
|
123
|
+
- 0
|
124
|
+
version: "0"
|
116
125
|
requirements: []
|
126
|
+
|
117
127
|
rubyforge_project:
|
118
|
-
rubygems_version: 1.8.
|
128
|
+
rubygems_version: 1.8.17
|
119
129
|
signing_key:
|
120
130
|
specification_version: 3
|
121
|
-
summary: This gem will extract an excel report from a activerecord model and send
|
122
|
-
a report to a specified email
|
131
|
+
summary: This gem will extract an excel report from a activerecord model and send a report to a specified email
|
123
132
|
test_files: []
|
133
|
+
|