ce-greenbutton 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ce-greenbutton.rb +1 -2
- data/lib/ce-greenbutton/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: a71440e86ce3c94974458331bd8801f96ac94539
|
4
|
+
data.tar.gz: 26b36aaa8aa2443becbce64a3ecab8444986168a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e749a128ad1a72a7a76c0ed09d758d8de2bb7f9b09310516d8f07744d2e40258e9729115f5eb1a547ee963bd75d45ef467fdbe621acbb4591adbf9545722e591
|
7
|
+
data.tar.gz: 0b2e265d2d633815cb28b6497067d557e18c9c96298727c9a82f4cdd8f03f7d6ddfd52238f08cc2d32175e4cd501fb03c56a591f1a028ea8e96c955c9828d166
|
data/lib/ce-greenbutton.rb
CHANGED
@@ -131,8 +131,7 @@ module GreenButton
|
|
131
131
|
end
|
132
132
|
|
133
133
|
def self.download_data_ftp_by_filename(filename)
|
134
|
-
ftp_url = "ftp://#{@ftp_user}:#{@ftp_password}@#{@ftp_host}/#{@ftp_path}
|
135
|
-
"#{filename}"
|
134
|
+
ftp_url = "ftp://#{@ftp_user}:#{@ftp_password}@#{@ftp_host}/#{@ftp_path}/#{filename}"
|
136
135
|
|
137
136
|
parse_data(open(ftp_url))
|
138
137
|
end
|