to_xls 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- to_xls (1.5.2)
4
+ to_xls (1.5.3)
5
5
  spreadsheet
6
6
 
7
7
  GEM
@@ -17,8 +17,8 @@ GEM
17
17
  rspec-expectations (2.3.0)
18
18
  diff-lcs (~> 1.1.2)
19
19
  rspec-mocks (2.3.0)
20
- ruby-ole (1.2.11.6)
21
- spreadsheet (0.8.0)
20
+ ruby-ole (1.2.11.7)
21
+ spreadsheet (0.9.7)
22
22
  ruby-ole (>= 1.0)
23
23
 
24
24
  PLATFORMS
@@ -75,7 +75,7 @@ Then execute
75
75
 
76
76
  == ToXls::Writer
77
77
 
78
- You can export to a file or spreadsheet book using the internal ToXml::Writer class:
78
+ You can export to a file or spreadsheet book using the internal ToXls::Writer class:
79
79
 
80
80
  ToXls::Writer.new(users, :name => 'Users').write_io(file) # writes to a given file
81
81
  ToXls::Writer.new(users, :name => 'Users').write_book(book) # writes to a spreadsheet book (adds a new sheet)
@@ -11,7 +11,7 @@ end
11
11
  if defined?(ActiveRecord::Relation)
12
12
  class ActiveRecord::Relation
13
13
  def to_xls(options = {})
14
- self.all.to_xls(options)
14
+ self.to_a.to_xls(options)
15
15
  end
16
16
  end
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module ToXls
2
- VERSION = "1.5.2"
2
+ VERSION = "1.5.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: to_xls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-02-18 00:00:00.000000000 Z
14
+ date: 2014-03-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: spreadsheet
@@ -109,7 +109,6 @@ files:
109
109
  - lib/to_xls/writer.rb
110
110
  - lib/to_xls.rb
111
111
  - MIT-LICENSE.txt
112
- - pkg/to_xls-1.5.2.gem
113
112
  - Rakefile
114
113
  - README.rdoc
115
114
  - spec/enumerable_spec.rb
@@ -130,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
129
  version: '0'
131
130
  segments:
132
131
  - 0
133
- hash: 3187556976650510999
132
+ hash: 3952726720455283051
134
133
  required_rubygems_version: !ruby/object:Gem::Requirement
135
134
  none: false
136
135
  requirements:
@@ -139,10 +138,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
138
  version: '0'
140
139
  segments:
141
140
  - 0
142
- hash: 3187556976650510999
141
+ hash: 3952726720455283051
143
142
  requirements: []
144
143
  rubyforge_project: to_xls
145
- rubygems_version: 1.8.24
144
+ rubygems_version: 1.8.25
146
145
  signing_key:
147
146
  specification_version: 3
148
147
  summary: to_xls for Enumerations
Binary file