collection2csv 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9f527fb208082c9fd371fcc8f5c2147e866a2831
4
- data.tar.gz: b8509cc8e931fce5ac80816ee02da06ddd268571
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YmFkYjY0MTNmY2U5ZWJlOGRjNmNjYmJlYTVkOWEwMzdiNDlhOTRjMw==
5
+ data.tar.gz: !binary |-
6
+ MGYxZmM5ZDc2ODUzM2I1NzFkNThjNmIwMmFhNDAxNDcyZWZiMjY5NA==
5
7
  SHA512:
6
- metadata.gz: c768071fb31f03eff502b2971a531f749e79259f8bc0541e6281a027c8a4374659f5160e3a37f167c08aeca57e43812d7cffa8b3f2fe1a35ddce2af970c934a4
7
- data.tar.gz: 2a5f0bcf3cca073f282e82c505ea6ac9f5bb035cd66a155bfc7ef601944dad608d290b04a0d92380de6a2bb701b72c9d2fa2d9e3c08657e7f12677864e2cdd89
8
+ metadata.gz: !binary |-
9
+ NjBjNzc3NGQ2YjA0NzNkNDQ1NWFmNGFiMTU0OWE0YmYyMWIzMThiYjBlZjZi
10
+ NGExNGE0MGYyZDI1YzFjMTg1MjM4ODlkOTMzYzM2NjA3OTk0NzA1MjYwN2Ez
11
+ MzBlMWZmZTY0YzliYmIwZTEwOTgyM2U5OGZiODhkMzZjNjYzYTA=
12
+ data.tar.gz: !binary |-
13
+ ZmZkNTUzMzhmNzRkZTJmYzNmMmNkOTY3M2M3MDBhY2QxMmVmNzA1YjY0OWE3
14
+ ZjFlZmY3ODEwNDhhMGFkMDA2ZTYxNTVlYjBiNzBiZTU0YjFlNjNmZWUyZTdi
15
+ MDlkYmRjMzY4ZjY0MzgzYjYzYTU1ODllMWFjYjU4NTI0ZTM5NzE=
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Collection2csv
2
2
 
3
- Collection2csv gem allows you to export a collection of model objects to csv
3
+ Collection2csv gem allows you to export a ActiveRecord collection of model objects to csv
4
4
 
5
5
  ## Installation
6
6
 
@@ -28,6 +28,8 @@ In order to select a particular columns use column names as follows
28
28
 
29
29
  <%= collection_download(@collection,'column_name1,column_name2') %>
30
30
 
31
+ Note: @collection is a ActiveRecord Collection
32
+
31
33
 
32
34
  ## Contributing
33
35
 
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["ethiraj"]
10
10
  spec.email = ["ethirajsrinivasan@gmail.com"]
11
11
 
12
- spec.summary = "Download collection as csv"
13
- spec.description = "Download collection as csv"
12
+ spec.summary = "Download ActiveRecord collection as csv"
13
+ spec.description = "Download ActiveRecord collection as csv"
14
14
  spec.homepage = "https://github.com/ethirajsrinivasan/collection2csv"
15
15
  spec.license = "MIT"
16
16
 
@@ -1,3 +1,3 @@
1
1
  module Collection2csv
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,52 +1,52 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collection2csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ethiraj
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-26 00:00:00.000000000 Z
11
+ date: 2015-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.10'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.10'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- description: Download collection as csv
41
+ description: Download ActiveRecord collection as csv
42
42
  email:
43
43
  - ethirajsrinivasan@gmail.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - ".gitignore"
49
- - ".travis.yml"
48
+ - .gitignore
49
+ - .travis.yml
50
50
  - CODE_OF_CONDUCT.md
51
51
  - Gemfile
52
52
  - LICENSE.txt
@@ -71,12 +71,12 @@ require_paths:
71
71
  - lib
72
72
  required_ruby_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
74
+ - - ! '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ">="
79
+ - - ! '>='
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
@@ -84,5 +84,5 @@ rubyforge_project:
84
84
  rubygems_version: 2.4.8
85
85
  signing_key:
86
86
  specification_version: 4
87
- summary: Download collection as csv
87
+ summary: Download ActiveRecord collection as csv
88
88
  test_files: []