carpet_diem 0.0.1 → 0.0.2

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: 95019d95a089eb8a906b5ed44c1124a65c95026d
4
- data.tar.gz: d8bebff9b9676844f4b56aa84181f6af5bc0e696
3
+ metadata.gz: b0960bb7f79885d1d5b68c00616bb909162e2106
4
+ data.tar.gz: 9d9bd42f871625f42fca88e1681f3d48aa0197fd
5
5
  SHA512:
6
- metadata.gz: a40ef0bc567fb74965bb67f4c710787a3510b9569da9f7fafec849c2210eea79f04f4d8ce218338c1dab62117df7a8a97546cf59842f31ca52e6df37b409da27
7
- data.tar.gz: 5420b642c8ed64ee1ab88aa94895c27607203c7e73689cb8b69fd1527f15d06a9f78cd0ddbec78dc80cd06e1015216ae188f1cc85f8b1a721d07d4236385fe4f
6
+ metadata.gz: 1c178944b661ee20c1cfc45be4c87476c23dfdeaecd0e562b21f015fddabf12c8894fc06cabd2337c1815ce77dc0dc6b783aeb26c8c20aa438b3add1faf756e4
7
+ data.tar.gz: 8ac3cae07ac6e0d0900b1de6a1703db73f30f945c01f2ffe36ea5218c5c517bd3dfc9fc705b853c6a56a737495467637760b14a85043212591ca01f90b4fe3c9
data/carpet_diem.gemspec CHANGED
@@ -1,13 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'carpet_diem'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.licenses = ['MIT']
5
5
  s.summary = "A Gosu game about a flying carpet"
6
- s.description = "Be a flying carpet that hovers throught the clouds. On your way up you will encounter magic lamps. Rub them to see if a good or an evil genie is hidden inside, the one adding points to your score, the other being your worst enenmy!"
6
+ s.description = "Be a flying carpet that hovers through the clouds. On your way up you will encounter magic lamps. Rub them to see if a good or an evil genie is hidden inside, the one adding points to your score, the other being your worst enemy!"
7
7
  s.authors = ['Brigitte Markmann', 'Kathi Zwick']
8
8
  s.email = ['bri.ma@gmx.de', 'ka.zwick@gmail.com']
9
- s.files = %w(carpet_diem.gemspec)
10
- s.files += Dir.glob('lib/**/*') + Dir.glob('bin/**/*.rb')
9
+ s.files = %w(carpet_diem.gemspec)
10
+ s.files += Dir.glob('lib/**/*') + Dir.glob('bin/**/*.rb')
11
11
  s.homepage = 'https://github.com/RapidRailsGirls/carpet-diem'
12
12
  s.executables = %w[carpet_diem]
13
13
  s.add_runtime_dependency 'gosu', '0.7.50'
data/lib/carpet.rb CHANGED
@@ -9,7 +9,7 @@ class Carpet
9
9
  alias :image :carpet_image
10
10
  undef :carpet_image
11
11
 
12
- def initialize(window, carpet_image_file = 'lib/media/carpet.png', carpet_image_flipped_file = 'lib/media/carpet_flipped.png')
12
+ def initialize(window, carpet_image_file = 'carpet.png', carpet_image_flipped_file = 'carpet_flipped.png')
13
13
  @carpet_image = @carpet_image_right = Gosu::Image.new(window, carpet_image_file)
14
14
  @carpet_image_left = Gosu::Image.new(window, carpet_image_flipped_file)
15
15
  @window = window
data/lib/endboss.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  class Endboss
2
2
 
3
3
  def initialize(window)
4
- @image = Gosu::Image.new(window, 'lib/media/endboss.png')
4
+ @image = Gosu::Image.new(window, 'endboss.png')
5
5
  @x = window.width/2 - @image.width/2
6
6
  @y = window.height
7
7
  @scale = 0.0
@@ -9,11 +9,11 @@ class LampWithGenie
9
9
 
10
10
  def initialize(window, flipped)
11
11
  if flipped
12
- @image = Gosu::Image.new(window, 'lib/media/lamp_flipped.png')
12
+ @image = Gosu::Image.new(window, 'lamp_flipped.png')
13
13
  else
14
- @image = Gosu::Image.new(window, 'lib/media/lamp.png')
14
+ @image = Gosu::Image.new(window, 'lamp.png')
15
15
  end
16
- @sound = Gosu::Sample.new(window, 'lib/media/lamp.m4a')
16
+ @sound = Gosu::Sample.new(window, 'lamp.m4a')
17
17
  @rubbed = false
18
18
  @y = -@image.height
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carpet_diem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brigitte Markmann
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-25 00:00:00.000000000 Z
12
+ date: 2014-09-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gosu
@@ -81,9 +81,9 @@ dependencies:
81
81
  - - '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
- description: Be a flying carpet that hovers throught the clouds. On your way up you
84
+ description: Be a flying carpet that hovers through the clouds. On your way up you
85
85
  will encounter magic lamps. Rub them to see if a good or an evil genie is hidden
86
- inside, the one adding points to your score, the other being your worst enenmy!
86
+ inside, the one adding points to your score, the other being your worst enemy!
87
87
  email:
88
88
  - bri.ma@gmx.de
89
89
  - ka.zwick@gmail.com