papercallio 0.1.0 → 0.1.1

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: 7d6f9bfeadd5437de30a160eb21f3cf452b1debd
4
- data.tar.gz: e56e2c855793bb97c3cbc3142c857710d4a524b6
3
+ metadata.gz: cbb63936f56c57d56b447a05480a58f3b7b94d49
4
+ data.tar.gz: 9d155f364ab7c5310a285ac1867dbee64b90ae04
5
5
  SHA512:
6
- metadata.gz: 85dcc959243eacf5cc10e6a5fd4a8d42eaa73f9b95d6407babbd5009234724bb6ae0ae580b9ea4bae9540abce85432b73557d879f379dadbdd9978310c1c6387
7
- data.tar.gz: fcccea69f1797f4077bb14b5d6a9730c4377feef16092df5cf2495b9382355c44fc2727278657c336be6b8483599d0116afdaf8351f71ab2c33759fa372adb0d
6
+ metadata.gz: a3e629bd6b99a9fd751028dd612e3cf6b1ff30c3653735e345cfa8a0e35cc15c2e8900d70543c0a671584bbd7e2d3215c02b6e2b979bae59f9cf0b85bb8202aa
7
+ data.tar.gz: 45404fe4d5b9d164c8668e46d4bcc34a64901331e56066f2cf04e01356712a93477a1af7a48a42434da10c912070d98d03c80afb00b168d145decd9e473da288
data/bin/papercallio CHANGED
@@ -50,7 +50,6 @@ command :submissions do |c|
50
50
  :desc => 'Sort results. Possible values are: state, rating, ratings_count, title, created_at, talk_format_id, audience_level, confidence'
51
51
 
52
52
  c.action do |global_options,options,args|
53
- puts global_options
54
53
  pcc = PaperCallClient.new(api_token, options)
55
54
  response = pcc.submissions
56
55
 
@@ -83,17 +82,20 @@ command :submissions do |c|
83
82
  total_ratings = 0
84
83
  individual_ratings = ''
85
84
  raters = ''
85
+ comments = ''
86
86
  submission_ratings.each do |rate|
87
87
  rate.each do |rate_field, rate_value|
88
88
  total_ratings += rate_value if rate_field == 'value'
89
89
  individual_ratings << "#{rate_value}, " if rate_field == 'value'
90
90
  raters << "#{rate_value['name']}, " if rate_field == 'user'
91
+ comments << "#{rate_value['comments']}, " if rate_field == 'comments'
91
92
  end
92
93
  end
93
94
  line[:total_ratings] = total_ratings
94
95
  line[:individual_ratings] = individual_ratings
95
96
  line[:raters] = raters
96
- headers.concat([:total_ratings, :individual_ratings, :raters]) unless headerset
97
+ line[:comments] = comments
98
+ headers.concat([:total_ratings, :individual_ratings, :raters, :comments]) unless headerset
97
99
  end
98
100
  headerset = true
99
101
  submissions << line
@@ -1,3 +1,3 @@
1
1
  module Papercallio
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: papercallio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - aaronblythe