cornerstone-source 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +22 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +20 -0
- data/Rakefile +8 -0
- data/config.rb +79 -0
- data/config.ru +4 -0
- data/cornerstone.gemspec +22 -0
- data/doc_scraper.rb +51 -0
- data/game.js +4293 -0
- data/lib/assets/javascripts/cornerstone.js +4719 -0
- data/lib/cornerstone.rb +11 -0
- data/lib/cornerstone/rails.rb +5 -0
- data/lib/cornerstone/sprockets.rb +2 -0
- data/lib/cornerstone/version.rb +3 -0
- data/manifest.json +15 -0
- data/pixie.json +12 -0
- data/source/javascripts/_cornerstone/_object_extensions.js.coffee +108 -0
- data/source/javascripts/_cornerstone/array_extensions.js.coffee +570 -0
- data/source/javascripts/_cornerstone/bindable.js.coffee +125 -0
- data/source/javascripts/_cornerstone/command_stack.js.coffee +36 -0
- data/source/javascripts/_cornerstone/core_object.js.coffee +183 -0
- data/source/javascripts/_cornerstone/function_extensions.js.coffee +60 -0
- data/source/javascripts/_cornerstone/logging.js.coffee +19 -0
- data/source/javascripts/_cornerstone/matrix.js.coffee +337 -0
- data/source/javascripts/_cornerstone/number_extensions.js.coffee +491 -0
- data/source/javascripts/_cornerstone/point.js.coffee +641 -0
- data/source/javascripts/_cornerstone/random.js.coffee +86 -0
- data/source/javascripts/_cornerstone/rectangle.js.coffee +35 -0
- data/source/javascripts/_cornerstone/string_extensions.js.coffee +232 -0
- data/source/javascripts/_cornerstone/stubs.js.coffee +1042 -0
- data/source/javascripts/_cornerstone/uuid.js +96 -0
- data/source/javascripts/_test/array_extensions.coffee +173 -0
- data/source/javascripts/_test/bindable.coffee +68 -0
- data/source/javascripts/_test/command_stack.coffee +99 -0
- data/source/javascripts/_test/core_object.coffee +95 -0
- data/source/javascripts/_test/function_extensions.coffee +50 -0
- data/source/javascripts/_test/logging.coffee +7 -0
- data/source/javascripts/_test/matrix.coffee +174 -0
- data/source/javascripts/_test/number_extensions.coffee +138 -0
- data/source/javascripts/_test/object_extensions.coffee +53 -0
- data/source/javascripts/_test/point.coffee +196 -0
- data/source/javascripts/_test/random.coffee +22 -0
- data/source/javascripts/_test/rectangle.coffee +70 -0
- data/source/javascripts/_test/string_extensions.coffee +59 -0
- data/source/javascripts/cornerstone.js.coffee +1 -0
- data/source/javascripts/cornerstone_tests.js.coffee +2 -0
- data/source/test.html.haml +13 -0
- data/vendor/javascripts/qunit.js +1275 -0
- data/vendor/stylesheets/qunit.css.sass +115 -0
- metadata +141 -0
@@ -0,0 +1,115 @@
|
|
1
|
+
ol#qunit-tests
|
2
|
+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial
|
3
|
+
margin: 0
|
4
|
+
padding: 0
|
5
|
+
list-style-position: inside
|
6
|
+
font-size: smaller
|
7
|
+
li
|
8
|
+
padding: 0.4em 0.5em 0.4em 1em
|
9
|
+
border-bottom: 1px solid #fff
|
10
|
+
font-size: small
|
11
|
+
list-style-position: inside
|
12
|
+
ol
|
13
|
+
margin-top: 0.5em
|
14
|
+
margin-left: 0
|
15
|
+
padding: 0.5em
|
16
|
+
background-color: #fff
|
17
|
+
li
|
18
|
+
border-bottom: none
|
19
|
+
margin: 0.5em
|
20
|
+
background-color: #fff
|
21
|
+
list-style-position: inside
|
22
|
+
padding: 0.4em 0.5em 0.4em 0.5em
|
23
|
+
&.pass
|
24
|
+
border-left: 26px solid #C6E746
|
25
|
+
background-color: #fff
|
26
|
+
color: #5E740B
|
27
|
+
&.fail
|
28
|
+
border-left: 26px solid #EE5757
|
29
|
+
background-color: #fff
|
30
|
+
color: #710909
|
31
|
+
&.pass
|
32
|
+
background-color: #D2E0E6
|
33
|
+
color: #528CE0
|
34
|
+
&.fail
|
35
|
+
background-color: #EE5757
|
36
|
+
color: #000
|
37
|
+
&.pass span.test-name
|
38
|
+
color: #366097
|
39
|
+
&.fail span.test-name
|
40
|
+
color: #000000
|
41
|
+
&.pass span.module-name
|
42
|
+
&.fail span.module-name
|
43
|
+
color: #000000
|
44
|
+
li
|
45
|
+
&.fail span.test-actual
|
46
|
+
color: #EE5757
|
47
|
+
&.pass span
|
48
|
+
&.test-expected, &.test-actual
|
49
|
+
color: #999999
|
50
|
+
&.fail span.test-expected
|
51
|
+
color: green
|
52
|
+
strong
|
53
|
+
cursor: pointer
|
54
|
+
|
55
|
+
h1#qunit-header
|
56
|
+
background-color: #0d3349
|
57
|
+
margin: 0
|
58
|
+
padding: 0.5em 0 0.5em 1em
|
59
|
+
color: #fff
|
60
|
+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial
|
61
|
+
text-shadow: rgba(0, 0, 0, 0.5) 4px 4px 1px
|
62
|
+
|
63
|
+
h2#qunit-banner
|
64
|
+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial
|
65
|
+
height: 5px
|
66
|
+
margin: 0
|
67
|
+
padding: 0
|
68
|
+
&.qunit-pass
|
69
|
+
background-color: #C6E746
|
70
|
+
&.qunit-fail
|
71
|
+
background-color: #EE5757
|
72
|
+
|
73
|
+
#qunit-testrunner-toolbar
|
74
|
+
background-color: #EE5757
|
75
|
+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial
|
76
|
+
padding: 0
|
77
|
+
/*width:80%;
|
78
|
+
padding: 0em 0 0.5em 2em
|
79
|
+
font-size: small
|
80
|
+
|
81
|
+
h2#qunit-userAgent
|
82
|
+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial
|
83
|
+
background-color: #2b81af
|
84
|
+
margin: 0
|
85
|
+
padding: 0
|
86
|
+
color: #fff
|
87
|
+
font-size: small
|
88
|
+
padding: 0.5em 0 0.5em 2.5em
|
89
|
+
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px
|
90
|
+
|
91
|
+
p#qunit-testresult
|
92
|
+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial
|
93
|
+
margin: 0
|
94
|
+
font-size: small
|
95
|
+
color: #2b81af
|
96
|
+
background-color: #D2E0E6
|
97
|
+
padding: 0.5em 0.5em 0.5em 2.5em
|
98
|
+
|
99
|
+
strong b
|
100
|
+
&.fail
|
101
|
+
color: #710909
|
102
|
+
&.pass
|
103
|
+
color: #5E740B
|
104
|
+
|
105
|
+
#qunit-fixture
|
106
|
+
position: absolute
|
107
|
+
top: -10000px
|
108
|
+
left: -10000px
|
109
|
+
|
110
|
+
html
|
111
|
+
overflow: auto
|
112
|
+
|
113
|
+
body
|
114
|
+
height: 100%
|
115
|
+
overflow: auto
|
metadata
ADDED
@@ -0,0 +1,141 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cornerstone-source
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Matt Diebolt
|
9
|
+
- Daniel X. Moore
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2012-06-01 00:00:00.000000000Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: middleman
|
17
|
+
requirement: &9815040 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.0.0.beta.3
|
23
|
+
type: :development
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *9815040
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rb-inotify
|
28
|
+
requirement: &9814040 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *9814040
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: sass
|
39
|
+
requirement: &9812940 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
type: :development
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *9812940
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: therubyracer
|
50
|
+
requirement: &9812000 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :development
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *9812000
|
59
|
+
description: Cornerstone provides a solid foundation for working with JavaScript.
|
60
|
+
It aggressively shivs many of the core classes.
|
61
|
+
email:
|
62
|
+
- pixie@pixieengine.com
|
63
|
+
executables: []
|
64
|
+
extensions: []
|
65
|
+
extra_rdoc_files: []
|
66
|
+
files:
|
67
|
+
- .gitignore
|
68
|
+
- Gemfile
|
69
|
+
- LICENSE
|
70
|
+
- README.md
|
71
|
+
- Rakefile
|
72
|
+
- config.rb
|
73
|
+
- config.ru
|
74
|
+
- cornerstone.gemspec
|
75
|
+
- doc_scraper.rb
|
76
|
+
- game.js
|
77
|
+
- lib/assets/javascripts/cornerstone.js
|
78
|
+
- lib/cornerstone.rb
|
79
|
+
- lib/cornerstone/rails.rb
|
80
|
+
- lib/cornerstone/sprockets.rb
|
81
|
+
- lib/cornerstone/version.rb
|
82
|
+
- manifest.json
|
83
|
+
- pixie.json
|
84
|
+
- source/javascripts/_cornerstone/_object_extensions.js.coffee
|
85
|
+
- source/javascripts/_cornerstone/array_extensions.js.coffee
|
86
|
+
- source/javascripts/_cornerstone/bindable.js.coffee
|
87
|
+
- source/javascripts/_cornerstone/command_stack.js.coffee
|
88
|
+
- source/javascripts/_cornerstone/core_object.js.coffee
|
89
|
+
- source/javascripts/_cornerstone/function_extensions.js.coffee
|
90
|
+
- source/javascripts/_cornerstone/logging.js.coffee
|
91
|
+
- source/javascripts/_cornerstone/matrix.js.coffee
|
92
|
+
- source/javascripts/_cornerstone/number_extensions.js.coffee
|
93
|
+
- source/javascripts/_cornerstone/point.js.coffee
|
94
|
+
- source/javascripts/_cornerstone/random.js.coffee
|
95
|
+
- source/javascripts/_cornerstone/rectangle.js.coffee
|
96
|
+
- source/javascripts/_cornerstone/string_extensions.js.coffee
|
97
|
+
- source/javascripts/_cornerstone/stubs.js.coffee
|
98
|
+
- source/javascripts/_cornerstone/uuid.js
|
99
|
+
- source/javascripts/_test/array_extensions.coffee
|
100
|
+
- source/javascripts/_test/bindable.coffee
|
101
|
+
- source/javascripts/_test/command_stack.coffee
|
102
|
+
- source/javascripts/_test/core_object.coffee
|
103
|
+
- source/javascripts/_test/function_extensions.coffee
|
104
|
+
- source/javascripts/_test/logging.coffee
|
105
|
+
- source/javascripts/_test/matrix.coffee
|
106
|
+
- source/javascripts/_test/number_extensions.coffee
|
107
|
+
- source/javascripts/_test/object_extensions.coffee
|
108
|
+
- source/javascripts/_test/point.coffee
|
109
|
+
- source/javascripts/_test/random.coffee
|
110
|
+
- source/javascripts/_test/rectangle.coffee
|
111
|
+
- source/javascripts/_test/string_extensions.coffee
|
112
|
+
- source/javascripts/cornerstone.js.coffee
|
113
|
+
- source/javascripts/cornerstone_tests.js.coffee
|
114
|
+
- source/test.html.haml
|
115
|
+
- vendor/javascripts/qunit.js
|
116
|
+
- vendor/stylesheets/qunit.css.sass
|
117
|
+
homepage: https://github.com/PixieEngine/Cornerstone
|
118
|
+
licenses: []
|
119
|
+
post_install_message:
|
120
|
+
rdoc_options: []
|
121
|
+
require_paths:
|
122
|
+
- lib
|
123
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
125
|
+
requirements:
|
126
|
+
- - ! '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
129
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
requirements: []
|
136
|
+
rubyforge_project:
|
137
|
+
rubygems_version: 1.8.10
|
138
|
+
signing_key:
|
139
|
+
specification_version: 3
|
140
|
+
summary: A solid foundation for JavaScript
|
141
|
+
test_files: []
|