rbglox 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/bin/rbglox +8 -2
  3. data/lib/rbglox/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTlhYWQ1NDI2YTkwZDQwODg3NTRmNmQwMzNlOTJlMGEwODc2MTZlYQ==
4
+ ODRlNGZkMWJlNmM2YWM3NWI4YWFjMjhiOTI1ZjQ5NGVmNjdjMWVlYw==
5
5
  data.tar.gz: !binary |-
6
- NmU1OWEwNDQ1YjU1ZjgwZjQzZjI3YjZhN2I2ZDhjZjYyMmZhM2ViOA==
6
+ MmU3ZjVkMmYyYzQxOTA0MmRjM2VjN2I4M2M5NGNkYTNiZWRkYzM5MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTk5OGJiY2Q0NjllM2MxNWQ1MzBkNWU3MmUwODE4MGFkOTY3MWZjNTExZDVk
10
- OTkxODQ0NDc4YWFiODdhZjYzMGU1YWQzMzUxZDdhM2ExMWY5ZjE4ZTY0MWE4
11
- OTVjZTFiYjBhZmIwZGI4NGUyNWU1Nzc3NTNmOWVjM2QzNWI3N2I=
9
+ MTJmOGI5YTUzMmQ1NjUyYjc3Zjc4MDE3Y2MwYjVmNTZkY2YxOGY4NjczZGQ1
10
+ MDI5MGMwYWQ2NjY2YTk0MGU3OTMwY2MwNmZiZTgxYjMyYjk5YjhhZWI2NmZk
11
+ Yzk5YWYwOGUwZjU3OTcxMTg3YzdjZDY0NDExMjFmZTZkZWY3NDA=
12
12
  data.tar.gz: !binary |-
13
- YWM1ZTEwOGMyOGIzOGQ2MmI4YjcxZGNlZDQ5NDM2YWVlYWIyMzNlM2FlZTZk
14
- MWZhODY3MGUzNTVlOTQ3NTZlZDlhZDIzOTE3YzhiMzQ5OWZmYmYyMGFlN2Fm
15
- ZWE0NjYwYWU4Yzg1MjQ4YzQ4ZjhiNGQ1OWJlYjI4Mjc5MjM0ZDA=
13
+ MTRlMGIxZDY0ODU1NTllYWZhYmU0ZmYzMDdhODM0NWM4Nzk0YTEyY2EzOGRj
14
+ ZDE1OWQ3MWVkNTM1MzU5Mjc5ZDE1MzE3YTgxZDRlZmNmNjFiOTc3OTk4MWY3
15
+ OTYyNTRlZmRhYmE2NDcwYzU1ZTQxMDE4ODlmYmEzMTdiMjRkODg=
data/bin/rbglox CHANGED
@@ -5,6 +5,12 @@ $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
5
5
  require 'rbglox'
6
6
  require 'optparse'
7
7
 
8
+ begin
9
+ require 'ftools'
10
+ rescue LoadError
11
+ require 'fileutils'
12
+ end
13
+
8
14
  help = <<HELP
9
15
  RBGLox v#{RBGLox::VERSION}
10
16
 
@@ -58,9 +64,9 @@ end
58
64
 
59
65
  def init(src, dst)
60
66
  puts 'Copying shader ...'
61
- File.copy(File.join(src, 'res/shader.glsl'), File.join(dst, 'shader.glsl'))
67
+ FileUtils.cp(File.join(src, 'res/shader.glsl'), File.join(dst, 'shader.glsl'))
62
68
  puts 'Copying texture ...'
63
- File.copy(File.join(src, 'res/texture.tga'), File.join(dst, 'texture1.tga'))
69
+ FileUtils.cp(File.join(src, 'res/texture.tga'), File.join(dst, 'texture1.tga'))
64
70
  puts 'Now run `rbglox` and enjoy :)'
65
71
  0
66
72
  end
@@ -1,3 +1,3 @@
1
1
  module RBGLox
2
- VERSION = '0.4.0'
2
+ VERSION = '0.5.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbglox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mihail Szabolcs