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 +4 -4
- data/lib/linkshare/custom_reports.rb +9 -4
- data/lib/linkshare/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f30d488dde58803034d36082c66946e4319e3ec
|
|
4
|
+
data.tar.gz: 205b92caadfb2b98a33a17afb304e48fe82904fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
data/lib/linkshare/version.rb
CHANGED
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
|
+
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-
|
|
11
|
+
date: 2016-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|