crayfish 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/crayfish/html.rb +28 -2
- data/lib/crayfish/version.rb +1 -1
- data/test/dummy/log/test.log +200 -0
- data/test/html_test.rb +20 -2
- metadata +14 -14
data/lib/crayfish/html.rb
CHANGED
@@ -71,6 +71,33 @@ module Crayfish
|
|
71
71
|
@pdf = pdf
|
72
72
|
end
|
73
73
|
|
74
|
+
def asset_paths
|
75
|
+
@@asset_paths ||= ::ActionView::Helpers::AssetTagHelper::AssetPaths.new(::Rails.configuration.action_controller)
|
76
|
+
end
|
77
|
+
|
78
|
+
def public_path_to_fs_path path
|
79
|
+
search_paths = [::Rails.public_path] + ::Rails.configuration.assets.paths
|
80
|
+
search_paths.each do |search_path|
|
81
|
+
if File.exists?("#{search_path}/#{path}")
|
82
|
+
return "#{search_path}/#{path}"
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
if /^\/assets\/(?<path>.*)$/ =~ path
|
87
|
+
search_paths.each do |search_path|
|
88
|
+
if File.exists?("#{search_path}/#{path}")
|
89
|
+
return "#{search_path}/#{path}"
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
raise "Could not locate #{path} in #{search_paths.inspect}"
|
94
|
+
end
|
95
|
+
|
96
|
+
def image_fs_path image
|
97
|
+
public_path = asset_paths.compute_public_path(image, 'images')
|
98
|
+
public_path_to_fs_path(public_path)
|
99
|
+
end
|
100
|
+
|
74
101
|
def apply_style cell,style
|
75
102
|
# background-color:#ccccff
|
76
103
|
style.split(';').each do |style|
|
@@ -107,8 +134,7 @@ module Crayfish
|
|
107
134
|
|
108
135
|
case name
|
109
136
|
when :img
|
110
|
-
|
111
|
-
image = {:image => "app#{node.attributes['src'].value}"}
|
137
|
+
image = { :image => image_fs_path(node.attributes['src'].value) }
|
112
138
|
image[:width] = node.attributes['width'].value.to_f if node.attributes['width']
|
113
139
|
image[:height] = node.attributes['height'].value.to_f if node.attributes['height']
|
114
140
|
return image
|
data/lib/crayfish/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -1425,3 +1425,203 @@ undefined local variable or method `aaa' for #<CrayfishActionViewTest::ActionVie
|
|
1425
1425
|
[1m[35m (0.1ms)[0m rollback transaction
|
1426
1426
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1427
1427
|
[1m[35m (0.0ms)[0m rollback transaction
|
1428
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1429
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1430
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1431
|
+
[1;31munknown node p in CrayHtml[0m
|
1432
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1433
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1434
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1435
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1436
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1437
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1438
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1439
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1440
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1441
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1442
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1443
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1444
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1445
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1446
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1447
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1448
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1449
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1450
|
+
[1;31munknown node p in CrayHtml[0m
|
1451
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1453
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1455
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1456
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1457
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1458
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1459
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1460
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1461
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1462
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1463
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1464
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1465
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1466
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1467
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1468
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1469
|
+
[1;31munknown node p in CrayHtml[0m
|
1470
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1472
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1473
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1474
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1475
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1476
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1478
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1479
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1480
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1481
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1482
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1483
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1484
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1485
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1486
|
+
[1;31munknown node p in CrayHtml[0m
|
1487
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1488
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1489
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1490
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1491
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1492
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1493
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1494
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1495
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1496
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1497
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1498
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1499
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1500
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1501
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1502
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1503
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1504
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1505
|
+
[1;31munknown node p in CrayHtml[0m
|
1506
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1508
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1509
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1510
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1511
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1512
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1513
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1514
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1515
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1516
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1517
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1518
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1519
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1520
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1521
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1522
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1523
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1524
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1525
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1526
|
+
[1;31munknown node p in CrayHtml[0m
|
1527
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1528
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1529
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1530
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1531
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1532
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1533
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1534
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1535
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1536
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1537
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1539
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1540
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1541
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1542
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1543
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1544
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1545
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1546
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1547
|
+
[1;31munknown node p in CrayHtml[0m
|
1548
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1549
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1550
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1551
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1552
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1553
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1554
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1555
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1556
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1558
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1559
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1560
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1561
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1562
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1564
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1565
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1566
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1567
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1568
|
+
[1;31munknown node p in CrayHtml[0m
|
1569
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1570
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1571
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1572
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1573
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1574
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1575
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1576
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1577
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1578
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1579
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1580
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1581
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1582
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1583
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1584
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1585
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1586
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1587
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1588
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1589
|
+
[1;31munknown node p in CrayHtml[0m
|
1590
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1591
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1592
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1593
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1594
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1595
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1596
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1597
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1598
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1600
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1601
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1602
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1603
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1604
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1605
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1606
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1607
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1608
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1609
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1610
|
+
[1;31munknown node p in CrayHtml[0m
|
1611
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1612
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1613
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1614
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1615
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1616
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1617
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1618
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1619
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1620
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1621
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1622
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1623
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1624
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1625
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1626
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1627
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
data/test/html_test.rb
CHANGED
@@ -28,11 +28,29 @@ class HtmlTest < ActiveSupport::TestCase
|
|
28
28
|
@html = ::Crayfish::Html.new(nil,nil)
|
29
29
|
end
|
30
30
|
|
31
|
+
test "should locate public files" do
|
32
|
+
::Rails.stubs(:public_path).returns('/pub')
|
33
|
+
::Rails.configuration.assets.stubs(:paths).returns([])
|
34
|
+
File.expects(:exists?).with("/pub/a.file").returns(true)
|
35
|
+
assert_equal "/pub/a.file", @html.public_path_to_fs_path('a.file')
|
36
|
+
end
|
37
|
+
|
38
|
+
test "should locate public files in a asset path" do
|
39
|
+
::Rails.stubs(:public_path).returns('/pub')
|
40
|
+
::Rails.configuration.assets.stubs(:paths).returns(['/assets'])
|
41
|
+
File.expects(:exists?).with("/pub/a.file").returns(false)
|
42
|
+
File.expects(:exists?).with("/assets/a.file").returns(true)
|
43
|
+
assert_equal "/assets/a.file", @html.public_path_to_fs_path('a.file')
|
44
|
+
end
|
45
|
+
|
31
46
|
test "compile img" do
|
32
47
|
img = stub('html img')
|
33
48
|
img.stubs(:name).returns(:img)
|
34
|
-
img.stubs(:attributes).returns({ 'src' => OpenStruct.new(:value => '
|
35
|
-
|
49
|
+
img.stubs(:attributes).returns({ 'src' => OpenStruct.new(:value => 'a.file')})
|
50
|
+
::Rails.stubs(:public_path).returns('/pub')
|
51
|
+
::Rails.configuration.assets.stubs(:paths).returns([])
|
52
|
+
File.expects(:exists?).with("/pub//images/a.file").returns(true)
|
53
|
+
assert_equal @html.compile(img), :image=>"/pub//images/a.file"
|
36
54
|
end
|
37
55
|
|
38
56
|
test "compile empty td" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crayfish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-05-14 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70107095324480 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70107095324480
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: prawn
|
27
|
-
requirement: &
|
27
|
+
requirement: &70107095323160 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70107095323160
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: nokogiri
|
38
|
-
requirement: &
|
38
|
+
requirement: &70107095321480 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70107095321480
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: sqlite3
|
49
|
-
requirement: &
|
49
|
+
requirement: &70107095319680 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70107095319680
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: mocha
|
60
|
-
requirement: &
|
60
|
+
requirement: &70107095318780 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70107095318780
|
69
69
|
description: Crayfish - PDF templating for Rails
|
70
70
|
email:
|
71
71
|
- patrick.hanevold@gmail.com
|
@@ -133,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
133
|
version: '0'
|
134
134
|
segments:
|
135
135
|
- 0
|
136
|
-
hash:
|
136
|
+
hash: 4351079184167744567
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
segments:
|
144
144
|
- 0
|
145
|
-
hash:
|
145
|
+
hash: 4351079184167744567
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
148
|
rubygems_version: 1.8.15
|