maiha-dm-ys 0.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/spec/guess_spec.rb +4 -4
- metadata +8 -2
data/Rakefile
CHANGED
@@ -33,7 +33,7 @@ AUTHOR = "maiha"
|
|
33
33
|
EMAIL = "maiha@wota.jp"
|
34
34
|
HOMEPAGE = "http://github.com/maiha/dm-ys"
|
35
35
|
SUMMARY = "a DataMapper extension that uses html table as its schema and data powerfully like YunkerStar"
|
36
|
-
GEM_VERSION = "0.2"
|
36
|
+
GEM_VERSION = "0.2.1"
|
37
37
|
|
38
38
|
spec = Gem::Specification.new do |s|
|
39
39
|
# s.rubyforge_project = 'merb'
|
data/spec/guess_spec.rb
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
require File.join( File.dirname(__FILE__), "spec_helper" )
|
2
2
|
|
3
3
|
describe DataMapper::YunkerStar do
|
4
|
-
class BlankHtml
|
4
|
+
class ::BlankHtml
|
5
5
|
include DataMapper::YunkerStar
|
6
6
|
uri spec_data_path("blank.html")
|
7
7
|
end
|
8
8
|
|
9
|
-
class BlankStyle
|
9
|
+
class ::BlankStyle
|
10
10
|
include DataMapper::YunkerStar
|
11
11
|
uri spec_data_path("ki.html")
|
12
12
|
end
|
13
13
|
|
14
|
-
class TableStyle < BlankStyle
|
14
|
+
class ::TableStyle < BlankStyle
|
15
15
|
uri spec_data_path("ki.html")
|
16
16
|
table "table.main"
|
17
17
|
end
|
18
18
|
|
19
|
-
class TheadStyle < BlankStyle
|
19
|
+
class ::TheadStyle < BlankStyle
|
20
20
|
uri spec_data_path("ki.html")
|
21
21
|
thead "table.main"
|
22
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maiha-dm-ys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- maiha
|
@@ -9,11 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-03-01 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: dm-core
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
@@ -23,6 +24,7 @@ dependencies:
|
|
23
24
|
version:
|
24
25
|
- !ruby/object:Gem::Dependency
|
25
26
|
name: hpricot
|
27
|
+
type: :runtime
|
26
28
|
version_requirement:
|
27
29
|
version_requirements: !ruby/object:Gem::Requirement
|
28
30
|
requirements:
|
@@ -32,6 +34,7 @@ dependencies:
|
|
32
34
|
version:
|
33
35
|
- !ruby/object:Gem::Dependency
|
34
36
|
name: maiha-dsl_accessor
|
37
|
+
type: :runtime
|
35
38
|
version_requirement:
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
@@ -61,9 +64,12 @@ files:
|
|
61
64
|
- lib/dm-ys/proxy.rb
|
62
65
|
- spec/guess_spec.rb
|
63
66
|
- spec/data
|
67
|
+
- spec/data/cute1.html
|
64
68
|
- spec/data/ki.html
|
65
69
|
- spec/data/blank.html
|
70
|
+
- spec/attribute_spec.rb
|
66
71
|
- spec/spec_helper.rb
|
72
|
+
- spec/pagination_spec.rb
|
67
73
|
has_rdoc: true
|
68
74
|
homepage: http://github.com/maiha/dm-ys
|
69
75
|
post_install_message:
|