kilza 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17f4a3986407598ff9c51551d15cb3dedc01c934
4
- data.tar.gz: d18285c8fdf2e363b21ad71941d98d45ce9387e7
3
+ metadata.gz: 4cafb2f46bcd2caae52001d84865966d3709122d
4
+ data.tar.gz: 1f50119a66f8f90d83921b99bb1c137502038ec8
5
5
  SHA512:
6
- metadata.gz: 0b85a49727c028294a2a9f716bf77f23ec22d1f028f023e534646fd8b6fc41edb84d9bc7497936966e9c6fa4adb42401f89522ff9df375ceadf51ed6f4dffecd
7
- data.tar.gz: 716bcd6688ca12ac7490b54080800d967075a42e463f1c39dc41cdd22c0cfd5681ff1eff6d11eab2391120eed04d637a7356896a4c2a6dffe8f16606152f1d32
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
 
@@ -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
@@ -1,4 +1,4 @@
1
1
  # Tranforms a JSON string into Objects
2
2
  module Kilza
3
- VERSION = '1.0.6'
3
+ VERSION = '1.0.7'
4
4
  end
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.6
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-03-04 00:00:00.000000000 Z
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.0.14
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