reportable 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,3 +1,8 @@
1
+ v1.0.2
2
+ ------
3
+
4
+ * Fixed the migration template
5
+
1
6
  v1.0.1
2
7
  ------
3
8
 
@@ -18,14 +18,14 @@ class <%= class_name %> < ActiveRecord::Migration
18
18
  :report_name,
19
19
  :grouping,
20
20
  :aggregation,
21
- :condition
21
+ :conditions
22
22
  ], :name => :name_model_grouping_agregation
23
23
  add_index :reportable_cache, [
24
24
  :model_name,
25
25
  :report_name,
26
26
  :grouping,
27
27
  :aggregation,
28
- :condition,
28
+ :conditions,
29
29
  :reporting_period
30
30
  ], :unique => true, :name => :name_model_grouping_aggregation_period
31
31
  end
data/spec/boot.rb CHANGED
@@ -21,5 +21,5 @@ FileUtils.mkdir_p File.join(File.dirname(__FILE__), 'log')
21
21
  ActiveRecord::Base.logger = Logger.new(File.join(File.dirname(__FILE__), 'log', 'spec.log'))
22
22
 
23
23
  databases = YAML::load(IO.read(File.join(File.dirname(__FILE__), 'db', 'database.yml')))
24
- ActiveRecord::Base.establish_connection(databases['sqlite3'])
24
+ ActiveRecord::Base.establish_connection(databases[ENV['DB'] || 'sqlite3'])
25
25
  load(File.join(File.dirname(__FILE__), 'db', 'schema.rb'))
metadata CHANGED
@@ -1,12 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reportable
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 1
9
- version: 1.0.1
4
+ version: 1.0.2
10
5
  platform: ruby
11
6
  authors:
12
7
  - Marco Otte-Witte
@@ -15,37 +10,29 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2010-02-26 00:00:00 +01:00
13
+ date: 2010-03-11 00:00:00 +01:00
19
14
  default_executable:
20
15
  dependencies:
21
16
  - !ruby/object:Gem::Dependency
22
17
  name: activerecord
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ type: :runtime
19
+ version_requirement:
20
+ version_requirements: !ruby/object:Gem::Requirement
25
21
  requirements:
26
22
  - - ">="
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 2
30
- - 0
31
- - 0
32
24
  version: 2.0.0
33
- type: :runtime
34
- version_requirements: *id001
25
+ version:
35
26
  - !ruby/object:Gem::Dependency
36
27
  name: activesupport
37
- prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ type: :runtime
29
+ version_requirement:
30
+ version_requirements: !ruby/object:Gem::Requirement
39
31
  requirements:
40
32
  - - ">="
41
33
  - !ruby/object:Gem::Version
42
- segments:
43
- - 2
44
- - 0
45
- - 0
46
34
  version: 2.0.0
47
- type: :runtime
48
- version_requirements: *id002
35
+ version:
49
36
  description: Reportable allows for easy report generation from ActiveRecord and DataMapper models by the addition of the reportable method.
50
37
  email: reportable@saulabs.com
51
38
  executables: []
@@ -94,20 +81,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
81
  requirements:
95
82
  - - ">="
96
83
  - !ruby/object:Gem::Version
97
- segments:
98
- - 0
99
84
  version: "0"
85
+ version:
100
86
  required_rubygems_version: !ruby/object:Gem::Requirement
101
87
  requirements:
102
88
  - - ">="
103
89
  - !ruby/object:Gem::Version
104
- segments:
105
- - 0
106
90
  version: "0"
91
+ version:
107
92
  requirements: []
108
93
 
109
94
  rubyforge_project:
110
- rubygems_version: 1.3.6
95
+ rubygems_version: 1.3.5
111
96
  signing_key:
112
97
  specification_version: 2
113
98
  summary: Easy report generation for Ruby on Rails