kilza 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/kilza +3 -1
- data/kilza.gemspec +7 -1
- data/lib/kilza/version.rb +1 -1
- metadata +8 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4cafb2f46bcd2caae52001d84865966d3709122d
|
|
4
|
+
data.tar.gz: 1f50119a66f8f90d83921b99bb1c137502038ec8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d2b944a244876c3ed1478b15cbd557d008664d0c568a1352abd6420c4c87b6905eec01d3f56d25dbfa91baa193f0c393ebc0974e384710d815eb9b48b4440c0
|
|
7
|
+
data.tar.gz: d8aca558aa41f5761af556e562353c4ad312eb19b0574500b9d1f5c06e867a394fdf67a00ca3736a16a5cea9aedbd0082c5afef514b8784e4e19c5da4d4fc660
|
data/bin/kilza
CHANGED
|
@@ -105,6 +105,7 @@ class KilzaApplication
|
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
def run
|
|
108
|
+
@prompt.say(@pastel.bold('[DEPRECATION] This gem has been renamed to jaspion-kilza and will no longer be supported. Please switch to jaspion-kilza as soon as possible.'))
|
|
108
109
|
@prompt.say(@pastel.bold('Kilza - v' + Kilza::VERSION))
|
|
109
110
|
while (not @done)
|
|
110
111
|
action = @prompt.select(@pastel.bold('Master, what can I do for you?')) do |menu|
|
|
@@ -122,13 +123,14 @@ class KilzaApplication
|
|
|
122
123
|
|
|
123
124
|
class_package = get_package if (lang == JAVA)
|
|
124
125
|
|
|
126
|
+
@prompt.say("\n")
|
|
125
127
|
@prompt.say(@pastel.bold('Target: ') + target_path)
|
|
126
128
|
@prompt.say(@pastel.bold('Base class name: ') + class_basename)
|
|
127
129
|
@prompt.say(@pastel.bold('Target language: ') + (lang == OBJC ? 'Objective-C' : 'Java'))
|
|
128
130
|
if not class_package.nil?
|
|
129
131
|
@prompt.say(@pastel.bold('Target package: ') + class_package)
|
|
130
132
|
end
|
|
131
|
-
ok = @prompt.yes?('Is that correct? ')
|
|
133
|
+
ok = @prompt.yes?(@pastel.bold('Is that correct? '))
|
|
132
134
|
if ok.nil? or ok
|
|
133
135
|
generate(lang, json_string, class_basename, target_path, class_package)
|
|
134
136
|
|
data/kilza.gemspec
CHANGED
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
|
21
21
|
# delete this section to allow pushing this gem to any host.
|
|
22
22
|
if spec.respond_to?(:metadata)
|
|
23
|
-
spec.metadata['allowed_push_host'] = 'rubygems.org'
|
|
23
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
24
24
|
else
|
|
25
25
|
fail 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
|
26
26
|
end
|
|
@@ -42,4 +42,10 @@ Gem::Specification.new do |spec|
|
|
|
42
42
|
spec.add_dependency 'erubis'
|
|
43
43
|
spec.add_dependency 'tty'
|
|
44
44
|
spec.add_dependency 'pastel'
|
|
45
|
+
|
|
46
|
+
spec.post_install_message = <<-MESSAGE
|
|
47
|
+
! The 'kilza' gem has been deprecated and has been replaced by 'jaspion-kilza'.
|
|
48
|
+
! See: https://rubygems.org/gems/jaspion-kilza
|
|
49
|
+
! And: https://github.com/Jaspion/Kilza
|
|
50
|
+
MESSAGE
|
|
45
51
|
end
|
data/lib/kilza/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kilza
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Toshiro Sugii
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-04-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -172,8 +172,11 @@ homepage: https://github.com/Jaspion/Kilza
|
|
|
172
172
|
licenses:
|
|
173
173
|
- MIT
|
|
174
174
|
metadata:
|
|
175
|
-
allowed_push_host: rubygems.org
|
|
176
|
-
post_install_message:
|
|
175
|
+
allowed_push_host: https://rubygems.org
|
|
176
|
+
post_install_message: |
|
|
177
|
+
! The 'kilza' gem has been deprecated and has been replaced by 'jaspion-kilza'.
|
|
178
|
+
! See: https://rubygems.org/gems/jaspion-kilza
|
|
179
|
+
! And: https://github.com/Jaspion/Kilza
|
|
177
180
|
rdoc_options: []
|
|
178
181
|
require_paths:
|
|
179
182
|
- lib
|
|
@@ -189,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
189
192
|
version: '0'
|
|
190
193
|
requirements: []
|
|
191
194
|
rubyforge_project:
|
|
192
|
-
rubygems_version: 2.
|
|
195
|
+
rubygems_version: 2.4.6
|
|
193
196
|
signing_key:
|
|
194
197
|
specification_version: 4
|
|
195
198
|
summary: Parses JSON and generates objects into other languages
|