active-list 4.2.0 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -8,6 +8,9 @@ tables. No scaffolds, only listings.
8
8
 
9
9
  ActiveList works only with Rails ≥ 3.1.
10
10
 
11
+ ActiveList works only with Ruby ≥ 1.9 since v4.2.0.
12
+
13
+
11
14
  == Quick start
12
15
 
13
16
  First, the JS code must be added to the pipeline in app/assets/javascripts/application.js:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.2.0
1
+ 4.2.1
@@ -19,10 +19,10 @@ module ActiveList
19
19
  record = "r"
20
20
  code = table.select_data_code(:paginate => false)
21
21
  encoding = "CP1252"
22
- code << "data = ActiveList::CSV.generate(:col_sep=>';') do |csv|\n"
23
- code << " csv << [#{columns_to_array(table, :header, :encoding => '#{encoding}').join(', ')}]\n"
22
+ code << "data = ActiveList::CSV.generate(:col_sep => ';') do |csv|\n"
23
+ code << " csv << [#{columns_to_array(table, :header, :encoding => encoding).join(', ')}]\n"
24
24
  code << " for #{record} in #{table.records_variable_name}\n"
25
- code << " csv << [#{columns_to_array(table, :body, :record=>record, :encoding => '#{encoding}').join(', ')}]\n"
25
+ code << " csv << [#{columns_to_array(table, :body, :record =>record, :encoding => encoding).join(', ')}]\n"
26
26
  code << " end\n"
27
27
  code << "end\n"
28
28
  code << "send_data(data, :type => #{self.mime_type.to_s.inspect}, :disposition => 'inline', :filename => #{table.model.name}.model_name.human.gsub(/[^a-z0-9]/i,'_')+'.#{self.file_extension}')\n"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: active-list
3
3
  version: !ruby/object:Gem::Version
4
4
  version: !binary |-
5
- NC4yLjA=
5
+ NC4yLjE=
6
6
  prerelease:
7
7
  platform: ruby
8
8
  authors: