chingu 0.8 → 0.8.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/chingu.gemspec +4 -4
- data/examples/example21.yml +40 -40
- data/lib/chingu.rb +1 -1
- metadata +4 -2
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ begin
|
|
18
18
|
gemspec.add_development_dependency 'rspec', '>= 2.1.0'
|
19
19
|
gemspec.add_development_dependency 'watchr'
|
20
20
|
gemspec.add_development_dependency 'rcov'
|
21
|
-
gemspec.add_development_dependency '
|
21
|
+
gemspec.add_development_dependency 'rest-client'
|
22
22
|
gemspec.add_development_dependency 'crack'
|
23
23
|
end
|
24
24
|
Jeweler::GemcutterTasks.new
|
data/chingu.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{chingu}
|
8
|
-
s.version = "0.8"
|
8
|
+
s.version = "0.8.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["ippa"]
|
@@ -241,14 +241,14 @@ Gem::Specification.new do |s|
|
|
241
241
|
s.add_development_dependency(%q<rspec>, [">= 2.1.0"])
|
242
242
|
s.add_development_dependency(%q<watchr>, [">= 0"])
|
243
243
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
244
|
-
s.add_development_dependency(%q<
|
244
|
+
s.add_development_dependency(%q<rest-client>, [">= 0"])
|
245
245
|
s.add_development_dependency(%q<crack>, [">= 0"])
|
246
246
|
else
|
247
247
|
s.add_dependency(%q<gosu>, [">= 0.7.25"])
|
248
248
|
s.add_dependency(%q<rspec>, [">= 2.1.0"])
|
249
249
|
s.add_dependency(%q<watchr>, [">= 0"])
|
250
250
|
s.add_dependency(%q<rcov>, [">= 0"])
|
251
|
-
s.add_dependency(%q<
|
251
|
+
s.add_dependency(%q<rest-client>, [">= 0"])
|
252
252
|
s.add_dependency(%q<crack>, [">= 0"])
|
253
253
|
end
|
254
254
|
else
|
@@ -256,7 +256,7 @@ Gem::Specification.new do |s|
|
|
256
256
|
s.add_dependency(%q<rspec>, [">= 2.1.0"])
|
257
257
|
s.add_dependency(%q<watchr>, [">= 0"])
|
258
258
|
s.add_dependency(%q<rcov>, [">= 0"])
|
259
|
-
s.add_dependency(%q<
|
259
|
+
s.add_dependency(%q<rest-client>, [">= 0"])
|
260
260
|
s.add_dependency(%q<crack>, [">= 0"])
|
261
261
|
end
|
262
262
|
end
|
data/examples/example21.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
- CogWheel:
|
3
3
|
:x: 1088.0
|
4
4
|
:y: 352.0
|
5
|
-
:angle:
|
5
|
+
:angle: 126.94561631445532
|
6
6
|
:zorder: 95
|
7
7
|
:factor_x: 1.68525252525252
|
8
8
|
:factor_y: 1.68525252525252
|
@@ -930,7 +930,7 @@
|
|
930
930
|
- CogWheel:
|
931
931
|
:x: 1792.0
|
932
932
|
:y: 320.0
|
933
|
-
:angle:
|
933
|
+
:angle: 317.05494261380574
|
934
934
|
:zorder: 95
|
935
935
|
:factor_x: 1.68525252525252
|
936
936
|
:factor_y: 1.68525252525252
|
@@ -946,7 +946,7 @@
|
|
946
946
|
- CogWheel:
|
947
947
|
:x: 2464.0
|
948
948
|
:y: 288.0
|
949
|
-
:angle:
|
949
|
+
:angle: 239.59893686097482
|
950
950
|
:zorder: 95
|
951
951
|
:factor_x: 1.68525252525252
|
952
952
|
:factor_y: 1.68525252525252
|
@@ -954,7 +954,7 @@
|
|
954
954
|
- CogWheel:
|
955
955
|
:x: 2460.0
|
956
956
|
:y: 960.0
|
957
|
-
:angle:
|
957
|
+
:angle: 319.05494261380574
|
958
958
|
:zorder: 95
|
959
959
|
:factor_x: 1.68525252525252
|
960
960
|
:factor_y: 1.68525252525252
|
@@ -1025,7 +1025,7 @@
|
|
1025
1025
|
:alpha: 255
|
1026
1026
|
- Block:
|
1027
1027
|
:x: 448.0
|
1028
|
-
:y:
|
1028
|
+
:y: 512.0
|
1029
1029
|
:angle: 0
|
1030
1030
|
:zorder: 100
|
1031
1031
|
:factor_x: 0.286995515695065
|
@@ -1066,7 +1066,7 @@
|
|
1066
1066
|
- Saw:
|
1067
1067
|
:x: 2304.0
|
1068
1068
|
:y: 42982.52618296432
|
1069
|
-
:angle:
|
1069
|
+
:angle: 37.111987381768955
|
1070
1070
|
:zorder: 100
|
1071
1071
|
:factor_x: 0.317794486215539
|
1072
1072
|
:factor_y: 0.320401002506266
|
@@ -1074,7 +1074,7 @@
|
|
1074
1074
|
- Saw:
|
1075
1075
|
:x: 2016.0
|
1076
1076
|
:y: 32179.99471564744
|
1077
|
-
:angle:
|
1077
|
+
:angle: 347.4979869153366
|
1078
1078
|
:zorder: 100
|
1079
1079
|
:factor_x: 0.398395989974937
|
1080
1080
|
:factor_y: 0.401002506265664
|
@@ -1082,7 +1082,7 @@
|
|
1082
1082
|
- Saw:
|
1083
1083
|
:x: 1696.0
|
1084
1084
|
:y: 14501.157370140168
|
1085
|
-
:angle:
|
1085
|
+
:angle: 98.38644116513633
|
1086
1086
|
:zorder: 100
|
1087
1087
|
:factor_x: 0.958395989974934
|
1088
1088
|
:factor_y: 0.961002506265664
|
@@ -1090,7 +1090,7 @@
|
|
1090
1090
|
- Saw:
|
1091
1091
|
:x: 1056.0
|
1092
1092
|
:y: 24039.250707326933
|
1093
|
-
:angle:
|
1093
|
+
:angle: 233.0168186104608
|
1094
1094
|
:zorder: 100
|
1095
1095
|
:factor_x: 0.637794486215539
|
1096
1096
|
:factor_y: 0.640401002506266
|
@@ -1098,7 +1098,7 @@
|
|
1098
1098
|
- Saw:
|
1099
1099
|
:x: 1344.0
|
1100
1100
|
:y: 24039.250707326933
|
1101
|
-
:angle:
|
1101
|
+
:angle: 236.0168186104618
|
1102
1102
|
:zorder: 100
|
1103
1103
|
:factor_x: 0.637794486215539
|
1104
1104
|
:factor_y: 0.640401002506266
|
@@ -1354,7 +1354,7 @@
|
|
1354
1354
|
- Saw:
|
1355
1355
|
:x: 2176.0
|
1356
1356
|
:y: 42822.52618296432
|
1357
|
-
:angle:
|
1357
|
+
:angle: 40.111987381768934
|
1358
1358
|
:zorder: 100
|
1359
1359
|
:factor_x: 0.317794486215539
|
1360
1360
|
:factor_y: 0.320401002506266
|
@@ -1362,7 +1362,7 @@
|
|
1362
1362
|
- Saw:
|
1363
1363
|
:x: 1280.0
|
1364
1364
|
:y: 30828.455270887032
|
1365
|
-
:angle:
|
1365
|
+
:angle: 53.12569458732053
|
1366
1366
|
:zorder: 100
|
1367
1367
|
:factor_x: 0.47739348370927
|
1368
1368
|
:factor_y: 0.48
|
@@ -1370,7 +1370,7 @@
|
|
1370
1370
|
- Saw:
|
1371
1371
|
:x: 1055.0
|
1372
1372
|
:y: 91503.18461541468
|
1373
|
-
:angle:
|
1373
|
+
:angle: 101.57540868514272
|
1374
1374
|
:zorder: 100
|
1375
1375
|
:factor_x: 0.156390977443606
|
1376
1376
|
:factor_y: 0.158997493734336
|
@@ -1378,7 +1378,7 @@
|
|
1378
1378
|
- Saw:
|
1379
1379
|
:x: 960.0
|
1380
1380
|
:y: 91567.18461541476
|
1381
|
-
:angle:
|
1381
|
+
:angle: 104.57540868514073
|
1382
1382
|
:zorder: 100
|
1383
1383
|
:factor_x: 0.156390977443606
|
1384
1384
|
:factor_y: 0.158997493734336
|
@@ -1386,7 +1386,7 @@
|
|
1386
1386
|
- Saw:
|
1387
1387
|
:x: 1120.0
|
1388
1388
|
:y: 91567.18461541476
|
1389
|
-
:angle:
|
1389
|
+
:angle: 104.57540868514073
|
1390
1390
|
:zorder: 100
|
1391
1391
|
:factor_x: 0.156390977443606
|
1392
1392
|
:factor_y: 0.158997493734336
|
@@ -1394,7 +1394,7 @@
|
|
1394
1394
|
- Saw:
|
1395
1395
|
:x: 864.0
|
1396
1396
|
:y: 91503.18461541468
|
1397
|
-
:angle:
|
1397
|
+
:angle: 107.57540868514073
|
1398
1398
|
:zorder: 100
|
1399
1399
|
:factor_x: 0.156390977443606
|
1400
1400
|
:factor_y: 0.158997493734336
|
@@ -1402,7 +1402,7 @@
|
|
1402
1402
|
- Saw:
|
1403
1403
|
:x: 1247.0
|
1404
1404
|
:y: 27760.30945377652
|
1405
|
-
:angle:
|
1405
|
+
:angle: 74.82881072660678
|
1406
1406
|
:zorder: 100
|
1407
1407
|
:factor_x: 0.477192982456137
|
1408
1408
|
:factor_y: 0.479799498746867
|
@@ -1410,7 +1410,7 @@
|
|
1410
1410
|
- Saw:
|
1411
1411
|
:x: 1088.0
|
1412
1412
|
:y: 54687.2512711895
|
1413
|
-
:angle:
|
1413
|
+
:angle: 59.949947324596195
|
1414
1414
|
:zorder: 100
|
1415
1415
|
:factor_x: 0.236591478696738
|
1416
1416
|
:factor_y: 0.239197994987469
|
@@ -1418,7 +1418,7 @@
|
|
1418
1418
|
- Saw:
|
1419
1419
|
:x: 960.0
|
1420
1420
|
:y: 54687.2512711895
|
1421
|
-
:angle:
|
1421
|
+
:angle: 62.94994732459631
|
1422
1422
|
:zorder: 100
|
1423
1423
|
:factor_x: 0.236591478696738
|
1424
1424
|
:factor_y: 0.239197994987469
|
@@ -1537,24 +1537,24 @@
|
|
1537
1537
|
:alpha: 255
|
1538
1538
|
- Saw:
|
1539
1539
|
:x: 2272.0
|
1540
|
-
:y:
|
1541
|
-
:angle:
|
1540
|
+
:y: 1410.3384499245103
|
1541
|
+
:angle: 153.0717161552861
|
1542
1542
|
:zorder: 100
|
1543
1543
|
:factor_x: 0.398395989974937
|
1544
1544
|
:factor_y: 0.401002506265664
|
1545
1545
|
:alpha: 255
|
1546
1546
|
- Saw:
|
1547
1547
|
:x: 1792.0
|
1548
|
-
:y:
|
1549
|
-
:angle:
|
1548
|
+
:y: 1494.6806427316221
|
1549
|
+
:angle: 337.03866432312634
|
1550
1550
|
:zorder: 100
|
1551
1551
|
:factor_x: 0.79859649122807
|
1552
1552
|
:factor_y: 0.801203007518797
|
1553
1553
|
:alpha: 255
|
1554
1554
|
- Saw:
|
1555
1555
|
:x: 2112.0
|
1556
|
-
:y:
|
1557
|
-
:angle:
|
1556
|
+
:y: 1552.6155143338804
|
1557
|
+
:angle: 85.62297471459313
|
1558
1558
|
:zorder: 100
|
1559
1559
|
:factor_x: 0.237794486215539
|
1560
1560
|
:factor_y: 0.240401002506266
|
@@ -1562,63 +1562,63 @@
|
|
1562
1562
|
- Saw:
|
1563
1563
|
:x: 1504.0
|
1564
1564
|
:y: 1554.4759087066618
|
1565
|
-
:angle:
|
1565
|
+
:angle: 109.59763313675188
|
1566
1566
|
:zorder: 100
|
1567
1567
|
:factor_x: 0.23719298245614
|
1568
1568
|
:factor_y: 0.239799498746867
|
1569
1569
|
:alpha: 255
|
1570
1570
|
- Saw:
|
1571
1571
|
:x: 1344.0
|
1572
|
-
:y:
|
1573
|
-
:angle:
|
1572
|
+
:y: 1432.3347421809058
|
1573
|
+
:angle: 112.59763313675495
|
1574
1574
|
:zorder: 100
|
1575
1575
|
:factor_x: 0.23719298245614
|
1576
1576
|
:factor_y: 0.239799498746867
|
1577
1577
|
:alpha: 255
|
1578
1578
|
- Saw:
|
1579
1579
|
:x: 1152.0
|
1580
|
-
:y:
|
1581
|
-
:angle:
|
1580
|
+
:y: 1454.3469991547051
|
1581
|
+
:angle: 115.59763313675192
|
1582
1582
|
:zorder: 100
|
1583
1583
|
:factor_x: 0.23719298245614
|
1584
1584
|
:factor_y: 0.239799498746867
|
1585
1585
|
:alpha: 255
|
1586
1586
|
- Saw:
|
1587
1587
|
:x: 992.0
|
1588
|
-
:y:
|
1589
|
-
:angle:
|
1588
|
+
:y: 1494.363984674324
|
1589
|
+
:angle: 310.71519417990186
|
1590
1590
|
:zorder: 100
|
1591
1591
|
:factor_x: 0.156992481203007
|
1592
1592
|
:factor_y: 0.159598997493734
|
1593
1593
|
:alpha: 255
|
1594
1594
|
- Saw:
|
1595
1595
|
:x: 800.0
|
1596
|
-
:y:
|
1597
|
-
:angle:
|
1596
|
+
:y: 1494.363984674324
|
1597
|
+
:angle: 313.71519417990186
|
1598
1598
|
:zorder: 100
|
1599
1599
|
:factor_x: 0.156992481203007
|
1600
1600
|
:factor_y: 0.159598997493734
|
1601
1601
|
:alpha: 255
|
1602
1602
|
- Saw:
|
1603
1603
|
:x: 1248.0
|
1604
|
-
:y:
|
1605
|
-
:angle:
|
1604
|
+
:y: 1460.7296529968453
|
1605
|
+
:angle: 73.13839164574799
|
1606
1606
|
:zorder: 100
|
1607
1607
|
:factor_x: 0.317794486215539
|
1608
1608
|
:factor_y: 0.320401002506266
|
1609
1609
|
:alpha: 255
|
1610
1610
|
- Saw:
|
1611
1611
|
:x: 928.0
|
1612
|
-
:y:
|
1613
|
-
:angle:
|
1612
|
+
:y: 1462.666666666672
|
1613
|
+
:angle: 316.71519417990186
|
1614
1614
|
:zorder: 100
|
1615
1615
|
:factor_x: 0.156992481203007
|
1616
1616
|
:factor_y: 0.159598997493734
|
1617
1617
|
:alpha: 255
|
1618
1618
|
- Saw:
|
1619
1619
|
:x: 672.0
|
1620
|
-
:y:
|
1621
|
-
:angle:
|
1620
|
+
:y: 1439.3722860792025
|
1621
|
+
:angle: 313.71519417990186
|
1622
1622
|
:zorder: 100
|
1623
1623
|
:factor_x: 0.156992481203007
|
1624
1624
|
:factor_y: 0.159598997493734
|
data/lib/chingu.rb
CHANGED
metadata
CHANGED
@@ -5,7 +5,9 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 8
|
8
|
-
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.8.0.1
|
9
11
|
platform: ruby
|
10
12
|
authors:
|
11
13
|
- ippa
|
@@ -73,7 +75,7 @@ dependencies:
|
|
73
75
|
type: :development
|
74
76
|
version_requirements: *id004
|
75
77
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
78
|
+
name: rest-client
|
77
79
|
prerelease: false
|
78
80
|
requirement: &id005 !ruby/object:Gem::Requirement
|
79
81
|
none: false
|