schlepper 0.8.0 → 0.8.1

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: 016dfc80524ce816117be4a59df49b79fee2a0db
4
- data.tar.gz: ed4cf319356ef633959784efb926b883114a8747
3
+ metadata.gz: c3c5f9a5358658edd6cdb6641d2cea5aa978d96a
4
+ data.tar.gz: 3c86775ae64e0645c43f68fd551440fef94fa22c
5
5
  SHA512:
6
- metadata.gz: ad3fd1c25b0dbcfa93a20a32cc82e7d9dc81cf97f8ac116744f9a11a2b52c01d26f0505aff0bb47b67221e49da9b56f45eb8f38307e5c3864a6a01f5e1210c56
7
- data.tar.gz: 5c5f2a1eed5ec112caf730cd258ef1ddd8bfee0e5c36d249666bfab8e8655c52b1ca0ab61774ed0214787b8d794e5b8f6438809d932d8421d2715ee29d4b689d
6
+ metadata.gz: 4434f22f2925840349749411cb27c7cba41d7e3e2f9d0619d692a48df887f5cedb7444f78f354b3cb68dcab54fa1cf465ea5ba622cba7555c087920e5bf7d2f1
7
+ data.tar.gz: ae1ff3befa3bec7d6e3f64d68e96f4b62783442c70d90037b2137a77ff68e67a73572042abd3265da9f56db5643805980ae3a780df9ef9db45bdd9aad98e5e15
@@ -81,7 +81,7 @@ module Schlepper
81
81
  if runner.run
82
82
  ActiveRecord::Base.connection.execute <<-SQL
83
83
  INSERT INTO schlepper_tasks (version, owner, description, completed_at)
84
- VALUES (#{runner.version_number}, "#{runner.owner}", "#{runner.description}", "#{Time.now}");
84
+ VALUES (#{runner.version_number}, #{ActiveRecord::Base.sanitize(runner.owner)}, #{ActiveRecord::Base.sanitize(runner.description)}, #{ActiveRecord::Base.connection.quote(Time.now.to_s)});
85
85
  SQL
86
86
  else
87
87
  puts "#{klass.name} ran without errors, but was not successful"
@@ -1,3 +1,3 @@
1
1
  module Schlepper
2
- VERSION = '0.8.0'
2
+ VERSION = '0.8.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schlepper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rory O'Connell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-07 00:00:00.000000000 Z
11
+ date: 2016-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  version: '0'
169
169
  requirements: []
170
170
  rubyforge_project:
171
- rubygems_version: 2.5.2
171
+ rubygems_version: 2.5.1
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: Adds tracking of one off data scripts for Rails.