rubyhop 1.3.0 → 1.3.1

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.txt +7 -1
  3. data/Rakefile +11 -0
  4. data/lib/rubyhop.rb +2 -3
  5. metadata +18 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14cab3b2f1ec3a04694a4d96317b67a420eb33bf
4
- data.tar.gz: aa1825f9d0bd7c1480bf59d23f3d175e8879140a
3
+ metadata.gz: f49ae37a43dabdb45883f90788300e3deb68d15c
4
+ data.tar.gz: 4e8dea45396416c59c68131ddfca22814279f3e4
5
5
  SHA512:
6
- metadata.gz: 9b1e12acaea1fc4a04d52f459408d3dc9acd443389fb37b6e702738f15b06b899f5366ec94fa40f5cb92aedae187b91891da7541303f50af1bf2351125245073
7
- data.tar.gz: c15cc7cbb0c65a011c2281dcc1b48eb01ba62a19e6acfdec62628e8ed54a75034da20de988eb9ba0896e2bd36ec091dbf91f1c9f05fda00b3184fac044a490b7
6
+ metadata.gz: c3658819821ab3f4090d0319baa159e51303ccee5e84933ce8fb1eb4d4a572d8a62edd0ecb1aa066165437f752eb341f47c1311c932d6745819ebb65dfb0e694
7
+ data.tar.gz: 6442fccc3f1e83da0262d2bac2b15582710ec94989c4fd2abc7f5505db3af697a76be560d510e6960ab636dc21570234f9a33a1e217cc9489f66596c609bf8f6
data/README.txt CHANGED
@@ -19,7 +19,13 @@ After checking out the source, run:
19
19
  This task will install any missing dependencies, run the tests/specs,
20
20
  and generate the RDoc.
21
21
 
22
- == LICENSE:
22
+ After making changes, run the game:
23
+
24
+ $ rake run
25
+
26
+ == LICENSES
27
+
28
+ All source code is copyright MIT license. All rights reserved for graphic and audio assets.
23
29
 
24
30
  (The MIT License)
25
31
 
data/Rakefile CHANGED
@@ -6,6 +6,17 @@ Hoe.plugin :minitest
6
6
 
7
7
  Hoe.spec "rubyhop" do
8
8
  developer "Mike Moore", "mike@blowmage.com"
9
+
10
+ self.summary = "Super awesome Ruby-themed game"
11
+ self.description = "Super awesome Ruby-themed game"
12
+ self.urls = ["http://blowmage.com/rubyhop"]
13
+
14
+ self.history_file = "History.txt"
15
+ self.readme_file = "README.txt"
16
+
17
+ license "MIT"
18
+
19
+ dependency "gosu", "~> 0.7.50"
9
20
  end
10
21
 
11
22
  desc "Run the game"
data/lib/rubyhop.rb CHANGED
@@ -98,7 +98,6 @@ class HopLevel
98
98
  attr_accessor :window, :movement, :score
99
99
  def initialize window
100
100
  @window = window
101
- @window.caption = "Ruby Hop"
102
101
  @music = Gosu::Song.new @window, get_my_file("music.mp3")
103
102
  @music.play true
104
103
  @player = Player.new self
@@ -311,12 +310,12 @@ class FailLevel
311
310
  end
312
311
 
313
312
  class RubyhopGame < Gosu::Window
314
- VERSION = "1.3.0"
313
+ VERSION = "1.3.1"
315
314
  attr_reader :time, :sounds, :score, :high_score
316
315
  def initialize width=800, height=600, fullscreen=false
317
316
  super
318
317
 
319
- self.caption = 'Ruby Hop'
318
+ self.caption = "Ruby Hop - #{VERSION}"
320
319
  @background = Gosu::Image.new self, get_my_file("background.png")
321
320
 
322
321
  # Scores
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyhop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-09 00:00:00.000000000 Z
11
+ date: 2014-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: gosu
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.7.50
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.7.50
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rdoc
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,11 +52,7 @@ dependencies:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
54
  version: '3.8'
41
- description: |-
42
- Super awesome Ruby-themed game
43
-
44
- $ gem install rubyhop
45
- $ rubyhop
55
+ description: Super awesome Ruby-themed game
46
56
  email:
47
57
  - mike@blowmage.com
48
58
  executables:
@@ -96,6 +106,6 @@ rubyforge_project: rubyhop
96
106
  rubygems_version: 2.2.0
97
107
  signing_key:
98
108
  specification_version: 4
99
- summary: Super awesome Ruby-themed game $ gem install rubyhop $ rubyhop
109
+ summary: Super awesome Ruby-themed game
100
110
  test_files:
101
111
  - test/test_rubyhop.rb