gosu-keyboard 0.1.7 → 0.1.8

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 (6) hide show
  1. data/LICENSE +20 -0
  2. data/README.md +16 -1
  3. data/Rakefile +2 -2
  4. data/VERSION +1 -1
  5. data/gosu-keyboard.gemspec +10 -10
  6. metadata +9 -8
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Ryan Scott Lewis <ryan@rynet.us>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -29,7 +29,7 @@ require 'gosu/keyboard'
29
29
 
30
30
  ## Usage
31
31
 
32
- ### Sample usage within a `Gosu::Window`
32
+ > Note: Real usage in `MyGame::GameWindow#update`.
33
33
 
34
34
  `my_game/lib/keyboard_helpers.rb`
35
35
 
@@ -163,3 +163,18 @@ window = MyGame::GameWindow.new
163
163
  window.show
164
164
  ```
165
165
 
166
+ ## Contributing
167
+
168
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
169
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
170
+ * Fork the project
171
+ * Start or switch to a testing/unstable/feature/bugfix branch
172
+ * Commit and push until you are happy with your contribution
173
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
174
+ * Please try not to mess with the Rakefile, VERSION or gemspec.
175
+
176
+ ## Copyright
177
+
178
+ Copyright © 2012 Ryan Scott Lewis <ryan@rynet.us>.
179
+
180
+ The MIT License (MIT) - See LICENSE for further details.
data/Rakefile CHANGED
@@ -16,8 +16,8 @@ spec = Gem::Specification.new do |s|
16
16
  s.executables = `git ls-files -- bin/*`.lines.to_a.collect { |s| File.basename(s.strip) }
17
17
 
18
18
  s.add_dependency 'version', '~> 1.0.0'
19
- s.add_dependency 'active_support', '~> 3'
20
- s.add_dependency 'gosu', '~> 0.7.45'
19
+ s.add_dependency 'active_support', '~> 3.0.0'
20
+ s.add_dependency 'gosu', '~> 0.7.0'
21
21
  s.add_development_dependency 'rake', '~> 0.9'
22
22
  # s.add_development_dependency 'guard-rspec', '~> 2.1.1'
23
23
  # s.add_development_dependency 'fuubar', '~> 1.1'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "gosu-keyboard"
5
- s.version = "0.1.7"
5
+ s.version = "0.1.8"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ryan Scott Lewis"]
9
- s.date = "2012-11-13"
9
+ s.date = "2013-05-01"
10
10
  s.description = "A DSL for easily defining keyboard events for a Gosu::Window"
11
11
  s.email = "ryan@rynet.us"
12
- s.files = [".gitignore", "Gemfile", "README.md", "Rakefile", "VERSION", "examples/simple.rb", "gosu-keyboard.gemspec", "lib/gosu/keyboard.rb", "lib/gosu/keyboard/dsl.rb", "lib/gosu/keyboard/dsl/helpers.rb"]
12
+ s.files = [".gitignore", "Gemfile", "LICENSE", "README.md", "Rakefile", "VERSION", "examples/simple.rb", "gosu-keyboard.gemspec", "lib/gosu/keyboard.rb", "lib/gosu/keyboard/dsl.rb", "lib/gosu/keyboard/dsl/helpers.rb"]
13
13
  s.homepage = "http://github.com/c00lryguy/gosu-keyboard"
14
14
  s.require_paths = ["lib"]
15
- s.rubygems_version = "1.8.24"
15
+ s.rubygems_version = "1.8.25"
16
16
  s.summary = "A nice DSL for handling a Gosu::Window's keyboard events"
17
17
 
18
18
  if s.respond_to? :specification_version then
@@ -20,19 +20,19 @@ Gem::Specification.new do |s|
20
20
 
21
21
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
22
22
  s.add_runtime_dependency(%q<version>, ["~> 1.0.0"])
23
- s.add_runtime_dependency(%q<active_support>, ["~> 3"])
24
- s.add_runtime_dependency(%q<gosu>, ["~> 0.7.45"])
23
+ s.add_runtime_dependency(%q<active_support>, ["~> 3.0.0"])
24
+ s.add_runtime_dependency(%q<gosu>, ["~> 0.7.0"])
25
25
  s.add_development_dependency(%q<rake>, ["~> 0.9"])
26
26
  else
27
27
  s.add_dependency(%q<version>, ["~> 1.0.0"])
28
- s.add_dependency(%q<active_support>, ["~> 3"])
29
- s.add_dependency(%q<gosu>, ["~> 0.7.45"])
28
+ s.add_dependency(%q<active_support>, ["~> 3.0.0"])
29
+ s.add_dependency(%q<gosu>, ["~> 0.7.0"])
30
30
  s.add_dependency(%q<rake>, ["~> 0.9"])
31
31
  end
32
32
  else
33
33
  s.add_dependency(%q<version>, ["~> 1.0.0"])
34
- s.add_dependency(%q<active_support>, ["~> 3"])
35
- s.add_dependency(%q<gosu>, ["~> 0.7.45"])
34
+ s.add_dependency(%q<active_support>, ["~> 3.0.0"])
35
+ s.add_dependency(%q<gosu>, ["~> 0.7.0"])
36
36
  s.add_dependency(%q<rake>, ["~> 0.9"])
37
37
  end
38
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu-keyboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-13 00:00:00.000000000 Z
12
+ date: 2013-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: version
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '3'
37
+ version: 3.0.0
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: '3'
45
+ version: 3.0.0
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: gosu
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: 0.7.45
53
+ version: 0.7.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 0.7.45
61
+ version: 0.7.0
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rake
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -83,6 +83,7 @@ extra_rdoc_files: []
83
83
  files:
84
84
  - .gitignore
85
85
  - Gemfile
86
+ - LICENSE
86
87
  - README.md
87
88
  - Rakefile
88
89
  - VERSION
@@ -105,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
106
  version: '0'
106
107
  segments:
107
108
  - 0
108
- hash: 3963561981835123036
109
+ hash: 1090069197672349678
109
110
  required_rubygems_version: !ruby/object:Gem::Requirement
110
111
  none: false
111
112
  requirements:
@@ -114,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
115
  version: '0'
115
116
  requirements: []
116
117
  rubyforge_project:
117
- rubygems_version: 1.8.24
118
+ rubygems_version: 1.8.25
118
119
  signing_key:
119
120
  specification_version: 3
120
121
  summary: A nice DSL for handling a Gosu::Window's keyboard events