VanaClock 1.0.0 → 1.0.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.
- data/CHANGELOG +4 -0
- data/VanaClock.gemspec +6 -6
- data/lib/vana_clock.rb +1 -1
- data/lib/view.rb +4 -3
- metadata +45 -42
data/CHANGELOG
CHANGED
data/VanaClock.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
|
2
|
-
# Gem::Specification for Vanaclock-1.0.
|
2
|
+
# Gem::Specification for Vanaclock-1.0.1
|
3
3
|
# Originally generated by Echoe
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = %q{VanaClock}
|
7
|
-
s.version = "1.0.
|
8
|
-
s.date = %q{2007-09-
|
7
|
+
s.version = "1.0.1"
|
8
|
+
s.date = %q{2007-09-04}
|
9
9
|
s.summary = %q{VanaClock is a clock for Final Fantasy Online written in jruby and java swing. JRuby is required to run this clock.}
|
10
10
|
s.email = %q{ttilley@gmail.com}
|
11
11
|
s.homepage = %q{http://vanatime.rubyforge.org/}
|
@@ -16,13 +16,13 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.authors = ["Travis Tilley"]
|
17
17
|
s.files = ["README", "Manifest", "LICENSE", "lib/view.rb", "lib/vana_clock.rb", "lib/control.rb", "CHANGELOG", "bin/VanaClock", "VanaClock.gemspec"]
|
18
18
|
s.executables = ["VanaClock"]
|
19
|
-
s.add_dependency(%q<VanaTime>, ["
|
19
|
+
s.add_dependency(%q<VanaTime>, [">= 1.2.1"])
|
20
20
|
end
|
21
21
|
|
22
22
|
|
23
23
|
# # Original Rakefile source (requires the Echoe gem):
|
24
24
|
#
|
25
|
-
# version = "1.0.
|
25
|
+
# version = "1.0.1"
|
26
26
|
#
|
27
27
|
# ENV['RUBY_FLAGS'] = ""
|
28
28
|
#
|
@@ -38,7 +38,7 @@ end
|
|
38
38
|
# p.url = "http://vanatime.rubyforge.org/"
|
39
39
|
# p.author = 'Travis Tilley'
|
40
40
|
# p.email = "ttilley@gmail.com"
|
41
|
-
# p.dependencies = ["VanaTime
|
41
|
+
# p.dependencies = ["VanaTime >=1.2.1"]
|
42
42
|
# end
|
43
43
|
#
|
44
44
|
# rescue LoadError => boom
|
data/lib/vana_clock.rb
CHANGED
data/lib/view.rb
CHANGED
@@ -80,7 +80,7 @@ module VanaClock
|
|
80
80
|
[vana_time_label, earth_time_label, moon_phase_label, next_phase_label,
|
81
81
|
optimal_phase_label].each do |label|
|
82
82
|
label.setHorizontalAlignment(SwingConstants::LEFT)
|
83
|
-
label.setMaximumSize Dimension.new(110,16)
|
83
|
+
label.setMaximumSize Dimension.new(110, 16)
|
84
84
|
label.setMinimumSize Dimension.new(110, 16)
|
85
85
|
label.setPreferredSize Dimension.new(110, 16)
|
86
86
|
end
|
@@ -95,6 +95,7 @@ module VanaClock
|
|
95
95
|
@vana_time.setEditable false
|
96
96
|
@earth_time.setMaximumSize Dimension.new(32767, 22)
|
97
97
|
@earth_time.setEditable false
|
98
|
+
@moon_percent.setHorizontalAlignment(JTextField::RIGHT)
|
98
99
|
@moon_percent.setMinimumSize Dimension.new(42, 22)
|
99
100
|
@moon_percent.setMaximumSize Dimension.new(42, 22)
|
100
101
|
@moon_percent.setPreferredSize Dimension.new(42, 22)
|
@@ -145,10 +146,10 @@ module VanaClock
|
|
145
146
|
clock_window.pack
|
146
147
|
clock_window.visible = true
|
147
148
|
end
|
148
|
-
|
149
|
+
|
149
150
|
def update(vt)
|
150
151
|
raise "I can only update with a VanaTime" if ! vt.is_a? FFXI::VanaTime
|
151
|
-
|
152
|
+
|
152
153
|
self.vana_day = vt.day.to_s
|
153
154
|
self.vana_time = vt.to_s
|
154
155
|
self.earth_time = vt.earth_time.to_s
|
metadata
CHANGED
@@ -1,12 +1,33 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.4
|
3
|
+
specification_version: 1
|
4
|
+
name: VanaClock
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 1.0.1
|
7
|
+
date: 2007-09-04 00:00:00 -04:00
|
8
|
+
summary: VanaClock is a clock for Final Fantasy Online written in jruby and java swing. JRuby is required to run this clock.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: ttilley@gmail.com
|
2
12
|
homepage: http://vanatime.rubyforge.org/
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
13
|
+
rubyforge_project: vanatime
|
14
|
+
description: VanaClock is a clock for Final Fantasy Online written in jruby and java swing. JRuby is required to run this clock.
|
15
|
+
autorequire:
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: true
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
24
|
+
version:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
8
28
|
post_install_message:
|
9
|
-
|
29
|
+
authors:
|
30
|
+
- Travis Tilley
|
10
31
|
files:
|
11
32
|
- README
|
12
33
|
- Manifest
|
@@ -17,43 +38,25 @@ files:
|
|
17
38
|
- CHANGELOG
|
18
39
|
- bin/VanaClock
|
19
40
|
- VanaClock.gemspec
|
20
|
-
rubygems_version: 0.9.4
|
21
|
-
rdoc_options: []
|
22
|
-
signing_key:
|
23
|
-
cert_chain:
|
24
|
-
name: VanaClock
|
25
|
-
has_rdoc: true
|
26
|
-
platform: ruby
|
27
|
-
summary: VanaClock is a clock for Final Fantasy Online written in jruby and java swing.
|
28
|
-
JRuby is required to run this clock.
|
29
|
-
default_executable:
|
30
|
-
bindir: bin
|
31
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
32
|
-
version:
|
33
|
-
requirements:
|
34
|
-
- - '>'
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 0.0.0
|
37
|
-
require_paths:
|
38
|
-
- lib
|
39
|
-
specification_version: 1
|
40
41
|
test_files: []
|
42
|
+
|
43
|
+
rdoc_options: []
|
44
|
+
|
45
|
+
extra_rdoc_files: []
|
46
|
+
|
47
|
+
executables:
|
48
|
+
- VanaClock
|
49
|
+
extensions: []
|
50
|
+
|
51
|
+
requirements: []
|
52
|
+
|
41
53
|
dependencies:
|
42
|
-
- !ruby/object:Gem::Dependency
|
54
|
+
- !ruby/object:Gem::Dependency
|
43
55
|
name: VanaTime
|
44
56
|
version_requirement:
|
45
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
46
|
-
version:
|
57
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
47
58
|
requirements:
|
48
|
-
- -
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: 1.2.
|
51
|
-
|
52
|
-
swing. JRuby is required to run this clock.
|
53
|
-
authors:
|
54
|
-
- Travis Tilley
|
55
|
-
email: ttilley@gmail.com
|
56
|
-
extra_rdoc_files: []
|
57
|
-
requirements: []
|
58
|
-
rubyforge_project: vanatime
|
59
|
-
autorequire:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.2.1
|
62
|
+
version:
|