embulk 0.10.24-java → 0.10.25-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/embulk.gemspec +2 -2
- data/lib/embulk/gem_version.rb +3 -0
- data/lib/embulk/logger.rb +2 -1
- data/lib/embulk/version.rb +46 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c8159bcf7d828e2bdbdb52d6992269eb344719f
|
4
|
+
data.tar.gz: b1dda37859593811e8bc7fc6494ebb0adb5966b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 162a2aef3103168b53a6245073b06fd98dce86fbd526a4c10786575e3a77f7d07482715e88c9cab826bdfdd1b22dbce9d62851d29651f20585a648fce8532e51
|
7
|
+
data.tar.gz: 4879fd3cebc4676193d8f4d01c94dead16340e9dae8343de1b0fa3f947aefcbc7b1433c814670e0a315745b9e56a8f82dfcf19944cc78a67e20f8185844bd5bc
|
data/embulk.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = "embulk"
|
3
|
-
gem.version = "0.10.
|
3
|
+
gem.version = "0.10.25"
|
4
4
|
gem.license = "Apache-2.0"
|
5
5
|
|
6
6
|
gem.summary = "Embulk's runtime library for Ruby."
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |gem|
|
|
33
33
|
"documentation_uri" => "https://www.embulk.org/",
|
34
34
|
"homepage_uri" => gem.homepage,
|
35
35
|
# "mailing_list_uri" => "",
|
36
|
-
"source_code_uri" => "https://github.com/embulk/embulk/tree/v0.10.
|
36
|
+
"source_code_uri" => "https://github.com/embulk/embulk/tree/v0.10.25",
|
37
37
|
# "wiki_uri" => "",
|
38
38
|
}
|
39
39
|
end
|
data/lib/embulk/logger.rb
CHANGED
data/lib/embulk/version.rb
CHANGED
@@ -1,5 +1,50 @@
|
|
1
1
|
module Embulk
|
2
|
+
CORE_VERSION = Java::org.embulk.EmbulkVersion::VERSION
|
3
|
+
|
2
4
|
# Converts the original Java-style version string to Ruby-style.
|
3
5
|
# E.g., "0.9.0-SNAPSHOT" (in Java) is converted to "0.9.0.snapshot" in Ruby.
|
4
|
-
|
6
|
+
CORE_VERSION_IN_RUBY_GEM_STYLE = ::String.new(CORE_VERSION).tr('-', '.').downcase
|
7
|
+
private_constant :CORE_VERSION_IN_RUBY_GEM_STYLE
|
8
|
+
|
9
|
+
begin
|
10
|
+
require 'embulk/gem_version'
|
11
|
+
rescue LoadError => e
|
12
|
+
raise LoadError, "[Internal Error] This embulk.gem is not properly built with embulk/gem_version.rb to declare its own version."
|
13
|
+
end
|
14
|
+
|
15
|
+
begin
|
16
|
+
GEM_VERSION = GEM_VERSION_EMBEDDED
|
17
|
+
rescue NameError => e
|
18
|
+
raise LoadError, "[Internal Error] This embulk.gem does not contain its own version defined properly."
|
19
|
+
end
|
20
|
+
|
21
|
+
if GEM_VERSION != CORE_VERSION_IN_RUBY_GEM_STYLE
|
22
|
+
# "embulk/logger" cannot be used because embulk/version.rb is loaded even before embulk/logger.rb.
|
23
|
+
STDERR.puts "*******************************************************************************************"
|
24
|
+
STDERR.puts "Running Embulk version (#{CORE_VERSION}) does not match the installed embulk.gem version (#{GEM_VERSION})."
|
25
|
+
STDERR.puts ""
|
26
|
+
STDERR.puts "If you use Embulk v0.9.* or v0.10.[0-23] without Bundler:"
|
27
|
+
STDERR.puts " Uninstall embulk.gem from your GEM_HOME/GEM_PATH."
|
28
|
+
STDERR.puts " An embulk.gem equivalent should be embedded in your Embulk's core JAR."
|
29
|
+
STDERR.puts ""
|
30
|
+
STDERR.puts "If you use Embulk v0.9.* or v0.10.[0-23] with Bundler:"
|
31
|
+
STDERR.puts " Try updating your Gemfile as below:"
|
32
|
+
STDERR.puts " gem 'embulk', '< 0.10'"
|
33
|
+
STDERR.puts " Bundler will find the embulk.gem equivalent embedded in your Embulk's core JAR."
|
34
|
+
STDERR.puts ""
|
35
|
+
STDERR.puts "If you use Embulk v0.10.25 or later:"
|
36
|
+
STDERR.puts " Use exactly the same version of embulk.gem."
|
37
|
+
STDERR.puts " In case you use Bundler, your Gemfile should declare like:"
|
38
|
+
STDERR.puts " gem 'embulk', '#{CORE_VERSION_IN_RUBY_GEM_STYLE}'"
|
39
|
+
STDERR.puts ""
|
40
|
+
STDERR.puts "If you use Embulk v0.10.24:"
|
41
|
+
STDERR.puts " Update to v0.10.25 or later."
|
42
|
+
STDERR.puts ""
|
43
|
+
STDERR.puts "If you use Embulk v0.8.* or earlier:"
|
44
|
+
STDERR.puts " Update to the latest v0.9.*. v0.8 or earlier are deprecated."
|
45
|
+
STDERR.puts "*******************************************************************************************"
|
46
|
+
raise LoadError, "Running Embulk version (#{CORE_VERSION}) does not match the installed embulk.gem version (#{GEM_VERSION})."
|
47
|
+
end
|
48
|
+
|
49
|
+
VERSION = GEM_VERSION
|
5
50
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.25
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-01-
|
13
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- lib/embulk/file_output_plugin.rb
|
52
52
|
- lib/embulk/filter_plugin.rb
|
53
53
|
- lib/embulk/formatter_plugin.rb
|
54
|
+
- lib/embulk/gem_version.rb
|
54
55
|
- lib/embulk/guess/bzip2.rb
|
55
56
|
- lib/embulk/guess/charset.rb
|
56
57
|
- lib/embulk/guess/csv.rb
|
@@ -82,7 +83,7 @@ metadata:
|
|
82
83
|
changelog_uri: https://github.com/embulk/embulk/releases
|
83
84
|
documentation_uri: https://www.embulk.org/
|
84
85
|
homepage_uri: https://www.embulk.org/
|
85
|
-
source_code_uri: https://github.com/embulk/embulk/tree/v0.10.
|
86
|
+
source_code_uri: https://github.com/embulk/embulk/tree/v0.10.25
|
86
87
|
post_install_message:
|
87
88
|
rdoc_options: []
|
88
89
|
require_paths:
|