crop-duster 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crop_duster/importer.rb +1 -1
- data/lib/crop_duster/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 010135dbba30a115f911627b0a142531d551969e
|
4
|
+
data.tar.gz: 34b01a5bc5fbd5eff5c08b1f8d7928315edd2003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64258ddd05be02a3d5932c97dee0a192c5777ed79761ae66bd912a6a124eabff700095866953a675a2d2e7480594eb08353c4fb80373f2acc39f1e91ac465d4b
|
7
|
+
data.tar.gz: 84e86bf14dafea6483f58588e99eaf8af1ec863e148f880713195bddbcff646110c6bcd82939e5143af303d312f43c6304ed256a74d5c3bc3759415aab59ff96
|
data/lib/crop_duster/importer.rb
CHANGED
@@ -45,7 +45,7 @@ module CropDuster
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def import_billing(import_id = SecureRandom.hex)
|
48
|
-
ActiveRecord::Base.connection.
|
48
|
+
ActiveRecord::Base.connection.instance_variable_get("@connection").exec("TRUNCATE aws_billing_imports")
|
49
49
|
s = Fog::Storage.new CropDuster.aws_keys
|
50
50
|
path = "#{CropDuster.tmp_dir}/#{import_id}"
|
51
51
|
Dir.mkdir path
|
data/lib/crop_duster/version.rb
CHANGED