linkshare-oauth2-api 0.1.4 → 0.1.5

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,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13b9df35964ecdb298c3d5a1c83a075d89d15187
4
- data.tar.gz: cf05cd12fe2ea068de5be0c1ca0df34338547366
3
+ metadata.gz: 7f30d488dde58803034d36082c66946e4319e3ec
4
+ data.tar.gz: 205b92caadfb2b98a33a17afb304e48fe82904fa
5
5
  SHA512:
6
- metadata.gz: 350ab8f384bfce70f67934931982c18626e95317f766a1ba6d06508ce49f5285680cd5e790901029d01ce6f4ab63ae0af531f2683a2e794b67a9ab0a9565e47e
7
- data.tar.gz: 1bcebfc2cb2a248562b7ce2403bd6eed1ec4f8cbd8562a64c34c64f102850e9454368d615a0762bfe96a339cd1c076600e7c2ef146f19c8c1a5d50f1233d45a3
6
+ metadata.gz: 648e8a108b1b7265ba85d8d6e6978c140ac5d4521a212b475672253f492a9637b6f124f570f194af951d2d5ee061d4b87a6dac3d2872829c2a504b4ffbc7e005
7
+ data.tar.gz: 0d6dc220dc6c1f56952e96e70002049bab49d4c6a066f7885a3ee5c5417d1a9720141b27c800ab52938dcc16345671167979d7470cd48529dec04c2a190afd4c
@@ -25,12 +25,17 @@ module Linkshare
25
25
  file << open(url).read
26
26
  file.close
27
27
 
28
- CSV.open(path, 'w', headers: :first_row, col_sep: ',', row_sep: "\n", encoding: 'utf-8') do |csv|
29
- CSV.open(file.path, 'r:bom|utf-8', headers: :first_row, col_sep: ',', quote_char: "\"", row_sep: "\n").each_with_index do |line, index|
30
- @reportsRows.push(line)
28
+ pp '----- content of file ---123123'
31
29
 
32
- end
30
+ CSV.open(path, 'w', headers: :first_row, col_sep: ',', :row_sep => :auto, encoding: 'utf-8') do |csv|
31
+ pp csv
32
+ # CSV.open(file.path, 'r:bom|utf-8', headers: :first_row, col_sep: ',', quote_char: "\"", row_sep: "\r\n").each_with_index do |line, index|
33
+ # pp line
34
+ # @reportsRows.push(line)
35
+
36
+ # end
33
37
  end
38
+ pp '----- end content of file ---'
34
39
 
35
40
  @reportsRows
36
41
  end
@@ -1,3 +1,3 @@
1
1
  module Linkshare
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linkshare-oauth2-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rudie Shahinian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-08 00:00:00.000000000 Z
11
+ date: 2016-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails