filbunke 1.9.2 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 953167024ba7ca53bda95cbe8ff3c21700cfc493
4
- data.tar.gz: 5759443fc470b2eefe2c51c7fa1b3adbfb595ca0
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NDE5MjFhN2Y0NDhlMDY2YzRmMTI2OTJkMTM1MThmZGZiMWQxNGU3MA==
5
+ data.tar.gz: !binary |-
6
+ ZGYwM2U4ZjAzYmY4Mjc3M2JlZWEyZjA1NDYzMjgyMzU4ODVhOWEzMQ==
5
7
  SHA512:
6
- metadata.gz: 5f871323ab7bbfd42acd9c431e29e83ad8c7c51b183d92ed22f97593cafc34e73989c408653caa221ad5e5562a69416e638a87ff1d4ad588053a8f492c3821c8
7
- data.tar.gz: a1c82bf94179149ef7de53b5d4fecc972061b84a16ebb3392a0e503d70b219c80f516420e340ea0d9dc91f5dc9ec7830ef76d7343eea7bb455ba2b747471fec1
8
+ metadata.gz: !binary |-
9
+ YjIxMWEyMDU5NTg3Y2JjNjQ4NjZmNmUzMjhmZGYwODcyNmFjYzRiYmFkMWEy
10
+ MGNkMzdhNjljY2M0N2YyMTE3ZDhjZDNkYWVjMjVkYTUyOGVmYmY0NzIxNzRk
11
+ ZGU4ZjJiOGRhNWY1M2M3NmMzNDI2ZDZhNGNkM2I4NGY4M2QxZGQ=
12
+ data.tar.gz: !binary |-
13
+ MDg0MTNjZWNjMjdhYjgzNWE0NmI3YTZmZGJjZDM3YzU2Y2ZmZGVlZDQ5YjAx
14
+ ZGU4NDk3OGRhNGQzOTNhYTEyY2E2N2NjNzQ0NjhmMzM5ZDJjMmQ2OWY0OTVm
15
+ ZjViMWY4MzYzY2VjODY3NjMxNTIzZjQzOTIyN2ZhYmRmYjVlOTk=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.2
1
+ 1.10.0
data/filbunke.gemspec CHANGED
@@ -2,14 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: filbunke 1.10.0 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "filbunke"
8
- s.version = "1.9.2"
9
+ s.version = "1.10.0"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Bjorn Sperber", "Karl Ravn"]
12
- s.date = "2013-10-31"
14
+ s.date = "2014-11-05"
13
15
  s.description = "Filbunke client and library"
14
16
  s.email = "info@deltaprojects.com"
15
17
  s.executables = ["filbunked"]
@@ -36,8 +38,7 @@ Gem::Specification.new do |s|
36
38
  "test/test_filbunke.rb"
37
39
  ]
38
40
  s.homepage = "http://github.com/deltaprojects/filbunke"
39
- s.require_paths = ["lib"]
40
- s.rubygems_version = "2.0.3"
41
+ s.rubygems_version = "2.2.2"
41
42
  s.summary = "Filbunke client"
42
43
 
43
44
  if s.respond_to? :specification_version then
@@ -141,7 +141,7 @@ module Filbunke
141
141
 
142
142
  if file.url =~ /^http:\/\//
143
143
  update_http_file!(file, local_file_path)
144
- elsif (file.url =~ /^hdfs:\/\//) || (file.url =~ /^hftp:\/\//)
144
+ elsif (file.url =~ /^hdfs:\/\//)
145
145
  success = update_hdfs_file!(file, local_file_path)
146
146
  run_callbacks(file, local_file_path) if success
147
147
  else
@@ -239,11 +239,7 @@ module Filbunke
239
239
  ::FileUtils.mkdir_p(::File.dirname(local_file_path))
240
240
  ::FileUtils.rm_f("#{local_file_path}.tmp")
241
241
  url = file.url
242
- if (url =~ /^hdfs:\/\//)
243
- url.gsub!(/hdfs:\/\//, "hftp://")
244
- url.gsub!(/:8020/, "")
245
- end
246
- hdfs_cmd = "#{@repository.hadoop_binary} fs -copyToLocal #{url} #{local_file_path}.tmp"
242
+ hdfs_cmd = "#{@repository.hadoop_binary} dfs -copyToLocal #{url} #{local_file_path}.tmp"
247
243
  @logger.log "Trying to update #{local_file_path} with '#{hdfs_cmd}'"
248
244
 
249
245
  pid, stdin, stdout, stderr = Open4::popen4 hdfs_cmd
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filbunke
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.2
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bjorn Sperber
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-31 00:00:00.000000000 Z
12
+ date: 2014-11-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thoughtbot-shoulda
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ! '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ! '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
@@ -117,17 +117,17 @@ require_paths:
117
117
  - lib
118
118
  required_ruby_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - '>='
120
+ - - ! '>='
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  requirements:
125
- - - '>='
125
+ - - ! '>='
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.0.3
130
+ rubygems_version: 2.2.2
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Filbunke client