Skip to content

Commit 1881ccb

Browse files
committed
Remove texplay dependency, all specs are green
1 parent bc01593 commit 1881ccb

40 files changed

+29
-150
lines changed

README.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ Fidgit is a GUI framework built on [Gosu](http://libgosu.org/) and [Chingu](http
77
Description
88
-----------
99

10-
The API is inspired by [Shoes](http://shoesrb.com/), but since Shoes is very simplistic, the level of functionality is
11-
based around [FXRuby](http://www.fxruby.org/) and other GUI APIs.
10+
The API is inspired by [Shoes](https://shoesrb.com/), but since Shoes is very simplistic, the level of functionality is
11+
based around [FXRuby](https://www.fxruby.org/) and other GUI APIs.
1212
Fidgit was originally developed as a part of the Sidney game, but as it got more complex, it was obvious it would be
1313
useful to separate them.
1414

15-
_WARNING: THIS PROJECT IS IN EARLY ALPHA DEVELOPMENT AND THE API IS LIABLE TO CONTINUOUS CHANGE AND IT IS QUITE UNSTABLE!_
16-
17-
Read the Yard documentation at [rubydoc.info](http://rubydoc.info/github/Spooner/fidgit/master)
15+
Read the Yard documentation at [rubydoc.info](https://rubydoc.info/github/gosu/fidgit/master)
1816

1917

2018
Aim
@@ -30,16 +28,6 @@ License
3028
MIT (see COPYING.txt)
3129

3230

33-
Requirements
34-
------------
35-
36-
* Ruby 1.9.2 or higher.
37-
* Gosu gem 0.7.27.1
38-
* [Installing Gosu dependencies on Linux](http://code.google.com/p/gosu/wiki/GettingStartedOnLinux) (On Win32 and OS X there are binary gems available)
39-
* Chingu gem 0.9rc4.
40-
* Clipboard gem
41-
42-
4331
Example
4432
-------
4533

examples/text_area_example.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ class ExampleState < Fidgit::GuiState
44
def initialize
55
super
66

7-
Gosu.register_entity(:entity, Gosu::Image["head_icon.png"])
8-
9-
string = "<c=3333ff>Hello, my name</c> is <c=ff0000>Brian</c> the&entity;&entity;snail!"
7+
string = "<c=3333ff>Hello, my name</c> is <c=ff0000>Brian</c> the snail!"
108
horizontal do
119
vertical do
1210
label 'disabled'

fidgit.gemspec

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- encoding: utf-8 -*-
21
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
32
require 'fidgit/version'
43

@@ -8,28 +7,22 @@ Gem::Specification.new do |s|
87
s.platform = Gem::Platform::RUBY
98
s.authors = ['Bil Bas (Spooner)']
109
s.email = ['[email protected]']
11-
s.homepage = 'http://github.com/Spooner/fidgit/'
10+
s.homepage = 'https://github.com/gosu/fidgit/'
1211
s.summary = 'Fidgit is a GUI library built on Gosu/Chingu'
1312
s.description = 'Fidgit is a GUI library built on Gosu/Chingu'
1413

15-
s.rubyforge_project = 'fidgit'
16-
s.has_rdoc = true
17-
s.required_ruby_version = '>= 1.9.2'
18-
1914
s.files = `git ls-files`.split("\n")
2015
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
2116
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
2217
s.require_paths = ['lib']
2318
s.license = 'MIT'
2419

25-
s.add_runtime_dependency('gosu', '~> 0.7', '>= 0.7.41')
20+
s.add_runtime_dependency('gosu', '~> 0.7')
2621
s.add_runtime_dependency('chingu', '~> 0.9rc9')
27-
s.add_runtime_dependency('clipboard', '~> 0.9', '>= 0.9.9')
28-
s.add_runtime_dependency('ffi', '~> 1.0', '>= 1.0.11')
22+
s.add_runtime_dependency('clipboard', '~> 0.9')
2923

30-
s.add_development_dependency('rspec', '~> 2.8', '>= 2.8.0')
31-
s.add_development_dependency('texplay', '~> 0.4', '>= 0.4.3')
32-
s.add_development_dependency('rake', '~> 10.3', '>= 10.3.2')
33-
s.add_development_dependency('yard', '~> 0.8.7', '>= 0.8.7.4')
24+
s.add_development_dependency('rspec', '~> 2.8')
25+
s.add_development_dependency('rake', '~> 10.3')
26+
s.add_development_dependency('yard', '~> 0.9.11')
3427
s.add_development_dependency('RedCloth', '~> 4.2', '>= 4.2.9')
3528
end

lib/fidgit.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# encoding: utf-8
21
require 'chingu'
32
require 'clipboard'
43

@@ -13,7 +12,7 @@
1312

1413
require_relative "fidgit/chingu_ext/window"
1514
require_relative "fidgit/gosu_ext/color"
16-
require_relative "fidgit/gosu_ext/gosu_module"
15+
require_relative "fidgit/gosu_ext/image"
1716
require_relative "fidgit/standard_ext/hash"
1817

1918
require_relative "fidgit/elements/element"

lib/fidgit/cursor.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# encoding: utf-8
2-
31
module Fidgit
42
class Cursor < Chingu::GameObject
53
ARROW = 'arrow.png'

lib/fidgit/elements/button.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# encoding: utf-8
2-
31
module Fidgit
42
class Button < Label
53
# @param (see Label#initialize)

lib/fidgit/elements/color_picker.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# encoding: utf-8
2-
31
module Fidgit
42
class ColorPicker < Composite
53
CHANNELS = [:red, :green, :blue]

lib/fidgit/elements/color_well.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# encoding: utf-8
2-
31
module Fidgit
42
class ColorWell < RadioButton
53
alias_method :color, :value

lib/fidgit/elements/combo_box.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# encoding: utf-8
21
require 'forwardable'
32

43
module Fidgit

lib/fidgit/elements/composite.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# encoding: utf-8
2-
31
module Fidgit
42
# A composite element, made up of other elements (but manages them internally).
53
class Composite < Packer

0 commit comments

Comments
 (0)