zinbei 1.0.2.3 → 1.0.3

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: d4747ecf6e42563cdcd072f65d557b151104447f
4
- data.tar.gz: 9a698b7e25fea2f4da0127298449e4dc38b6a478
3
+ metadata.gz: dec3706d82cb0350e8fb7ec8bf65da9df3e71ab7
4
+ data.tar.gz: 3834fa94aa38f17ccfd9c0ff9b2f05b3fcae90cb
5
5
  SHA512:
6
- metadata.gz: ea10ca25ec4f2825656078201311cda61f5b5d77da63d066267e5635190272ab81446b209094ec379e0b9ebb9c897ca1db29a7e8f459bf9ffe7a74835a8f0a92
7
- data.tar.gz: cba0337e49e911b98faae1af62204fec6eb21856fd372ab572c0ad7a7de8e0877d1413b395c5ee13c29738fd5c0d85a99c27a405666974e793d1c14bcfac978d
6
+ metadata.gz: 94d4c1cd1d6ec7b1af0364543f5b927233f66650d310fc45ab74a2f63478b230262d4b82e31a3d430d109201f31e9b8fe8d621689bfa836c90b2979c43197bb0
7
+ data.tar.gz: 606fbd069d7c521b6a647fcc5bf64545052e0ee436da1b3be7436fd33e394613ca44b0c2040ddbb63f74eb606a74de66b550fd161af86a0a218c844ea773c772
data/bin/zinbei CHANGED
@@ -2,14 +2,8 @@
2
2
  # -*- coding: utf-8 -*-
3
3
  # vim: filetype=ruby
4
4
 
5
- self_file =
6
- if File.symlink?(__FILE__)
7
- require 'pathname'
8
- Pathname.new(__FILE__).realpath
9
- else
10
- __FILE__
11
- end
12
- $:.unshift(File.dirname(self_file) + "/../lib")
5
+ lib = File.expand_path('../lib', __FILE__)
6
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
13
7
 
14
8
  start_time = Time.now
15
9
 
data/bin/zinbeic CHANGED
@@ -2,14 +2,8 @@
2
2
  # -*- coding: utf-8 -*-
3
3
  # vim: filetype=ruby
4
4
 
5
- self_file =
6
- if File.symlink?(__FILE__)
7
- require 'pathname'
8
- Pathname.new(__FILE__).realpath
9
- else
10
- __FILE__
11
- end
12
- $:.unshift(File.dirname(self_file) + '/../lib')
5
+ lib = File.expand_path('../lib', __FILE__)
6
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
13
7
 
14
8
  start_time = Time.now
15
9
  require 'zinbei'
data/bin/zinbeiw CHANGED
@@ -2,14 +2,8 @@
2
2
  # -*- coding: utf-8 -*-
3
3
  # vim: filetype=ruby
4
4
 
5
- self_file =
6
- if File.symlink?(__FILE__)
7
- require 'pathname'
8
- Pathname.new(__FILE__).realpath
9
- else
10
- __FILE__
11
- end
12
- $:.unshift(File.dirname(self_file) + '/../lib')
5
+ lib = File.expand_path('../lib', __FILE__)
6
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
13
7
 
14
8
  start_time = Time.now
15
9
 
@@ -29,10 +23,10 @@ puts '
29
23
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30
24
  '
31
25
 
32
- a=rand(15)
33
- print '〜'
34
- 0.upto(a) do |s|
35
- print '〜'
26
+ a=rand(15)
27
+ print '〜'
28
+ 0.upto(a) do |s|
29
+ print '〜'
36
30
 
37
31
  end
38
32
  puts '<コ:彡'
data/lib/zinbei.rb CHANGED
@@ -1,13 +1,7 @@
1
1
  #coding: utf-8
2
2
 
3
- self_file =
4
- if File.symlink?(__FILE__)
5
- require 'pathname'
6
- Pathname.new(__FILE__).realpath
7
- else
8
- __FILE__
9
- end
10
- $:.unshift(File.dirname(self_file) + '/../lib')
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
11
5
 
12
6
  class Compiler
13
7
  def initialize(src)
@@ -1,9 +1,8 @@
1
1
  #coding: utf-8
2
2
 
3
3
  module Zinbei
4
- VERSION = "1.0.2.3 : "
4
+ VERSION = "1.0.3"
5
5
  end
6
6
 
7
- print "Zinbei : "
8
7
  print Zinbei::VERSION
9
- puts "[major_version]"
8
+ puts " : [major_version]"
data/zinbei.gemspec CHANGED
@@ -1,8 +1,13 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+
6
+ require 'zinbei/version'
7
+
3
8
  Gem::Specification.new do |s|
4
9
  s.name = "zinbei"
5
- s.version = "1.0.2.3"
10
+ s.version = Zinbei::VERSION
6
11
 
7
12
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
13
  s.authors = ["takkii"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zinbei
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2.3
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - takkii
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-21 00:00:00.000000000 Z
11
+ date: 2014-04-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: karuma.reason@gmail.com