kuppayam 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a97f179b81a0f520c6c8ad85e688729cf248df34
4
- data.tar.gz: f8741775eae363062f3cd599badf3d14937ba2b5
3
+ metadata.gz: 0a0adf0627b4954e5a77fc92b8961c7c4eb59089
4
+ data.tar.gz: 59ebb5e0aa4343f3ec6d7bad64d8d6fb83753a2a
5
5
  SHA512:
6
- metadata.gz: 6a83cad2bddf5e72cc8eb4ed8760a138f53f919e5b45f6d597085e90ca20c63c56a6349734aa3432b6a8c482609ef69e5b09996a017247c24eccdd12b96a0e91
7
- data.tar.gz: 037c7fd5d131dc816ad241676c90bcb6b98c942c276b6bf41c8a646ae8c06abd70d41c2454643d4af2b6256c4394ee81656ee95af09155e578c4298be8d5cb79
6
+ metadata.gz: 39571623ae960883198531adb65483d8180bb48dc49c4ce06b95cccf2be64cd4176552c4fb455fc70095bedf7eca16d0db4b4f47ff6577518deb02c7d48fe71d
7
+ data.tar.gz: d189928bcc529dd7695c4232e4e48c1bb6f95b1946f8a7666efa202731a75148414fd70db88e60f88c7df35ec36b06395b37ce962b9b576165e5d6e1f44d2069
@@ -113,14 +113,14 @@ module ImageHelper
113
113
  # options[:image_options].reverse_merge!()
114
114
  options[:edit_options].reverse_merge!(
115
115
  remote: true,
116
- text: "Change Image",
116
+ text: "Change",
117
117
  icon: "photo",
118
118
  class: "btn btn-primary btn-block btn-only-hover btn-xs",
119
119
  )
120
120
 
121
121
  options[:delete_options].reverse_merge!(
122
122
  remote: true,
123
- text: "Remove Image",
123
+ text: "Remove",
124
124
  icon: "trash",
125
125
  class: "btn btn-danger btn-block btn-only-hover btn-xs"
126
126
  )
@@ -127,7 +127,7 @@ module Kuppayam
127
127
  sum = 0
128
128
 
129
129
  CSV.foreach(csv_path, headers: true, header_converters: :symbol) do |row|
130
- obj, error_object = save_row_data(row)
130
+ error_object = save_row_data(row)
131
131
  errors << error_object if error_object
132
132
  error_object.print_dot if error_object && verbose
133
133
  sum += 1
@@ -153,7 +153,7 @@ module Kuppayam
153
153
  if single_transaction
154
154
  ActiveRecord::Base.transaction do
155
155
  CSV.foreach(csv_path, headers: true, header_converters: :symbol, skip_blanks: true) do |row|
156
- obj, error_object = save_row_data(row)
156
+ error_object = save_row_data(row)
157
157
  errors << error_object if error_object
158
158
  error_object.print_dot if error_object && verbose
159
159
  sum += 1
@@ -161,7 +161,7 @@ module Kuppayam
161
161
  end
162
162
  else
163
163
  CSV.foreach(csv_path, headers: true, header_converters: :symbol, skip_blanks: true) do |row|
164
- obj, error_object = save_row_data(row)
164
+ error_object = save_row_data(row)
165
165
  errors << error_object if error_object
166
166
  error_object.print_dot if error_object && verbose
167
167
  sum += 1
@@ -1,3 +1,3 @@
1
1
  module Kuppayam
2
- VERSION = '0.1.10'
2
+ VERSION = '0.1.11'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuppayam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - kpvarma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-06 00:00:00.000000000 Z
11
+ date: 2017-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails