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 +4 -4
- data/app/helpers/image_helper.rb +2 -2
- data/config/initializers/importer.rb +3 -3
- data/lib/kuppayam/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: 0a0adf0627b4954e5a77fc92b8961c7c4eb59089
|
4
|
+
data.tar.gz: 59ebb5e0aa4343f3ec6d7bad64d8d6fb83753a2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39571623ae960883198531adb65483d8180bb48dc49c4ce06b95cccf2be64cd4176552c4fb455fc70095bedf7eca16d0db4b4f47ff6577518deb02c7d48fe71d
|
7
|
+
data.tar.gz: d189928bcc529dd7695c4232e4e48c1bb6f95b1946f8a7666efa202731a75148414fd70db88e60f88c7df35ec36b06395b37ce962b9b576165e5d6e1f44d2069
|
data/app/helpers/image_helper.rb
CHANGED
@@ -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
|
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
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
data/lib/kuppayam/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|