Permalink
Browse files

all but share/keyboard tests passing

  • Loading branch information...
1 parent ba3eca6 commit 67b1103272c596532b84bdd8b80755b7c9d5ce59 @collin committed Dec 11, 2012
Showing with 1,669 additions and 513 deletions.
  1. +22 −5 Assetfile
  2. +5 −0 Gemfile
  3. +31 −1 Gemfile.lock
  4. +7 −188 alpha_simprini.sublime-workspace
  5. +5 −3 src/alpha_simprini.coffee
  6. +1 −1 src/alpha_simprini/client/binding/check_box.coffee
  7. +1 −1 src/alpha_simprini/client/binding/file.coffee
  8. +72 −47 src/alpha_simprini/client/binding/model.coffee
  9. +1 −1 src/alpha_simprini/client/models/targets.coffee
  10. +4 −1 src/alpha_simprini/client/view.coffee
  11. +1 −1 src/alpha_simprini/client/views/dialog.coffee
  12. +3 −2 src/alpha_simprini/core/model/local.coffee
  13. +1 −1 src/alpha_simprini/core/model/share.coffee
  14. +0 −1 src/alpha_simprini/core/model/store.coffee
  15. +3 −4 src/alpha_simprini/core/properties/belongs_to.coffee
  16. +31 −35 src/alpha_simprini/core/properties/field.coffee
  17. +2 −1 src/alpha_simprini/core/properties/has_many.coffee
  18. +12 −11 src/alpha_simprini/core/properties/has_one.coffee
  19. +1 −1 src/alpha_simprini/css/views/angle_picker.coffee
  20. +1 −1 src/alpha_simprini/css/views/color_picker.coffee
  21. +2 −2 src/alpha_simprini/css/views/color_stop_picker.coffee
  22. +37 −0 src/dev-channel.coffee
  23. +93 −0 src/dev-channel.rb
  24. +5 −0 test/client.js
  25. +54 −0 test/client/application.js
  26. +26 −0 test/client/binding.js
  27. +2 −5 test/client/binding/model.coffee
  28. +74 −0 test/client/binding_group.js
  29. +42 −0 test/client/dom.js
  30. +17 −13 test/client/models/targets.coffee
  31. +269 −0 test/client/view.js
  32. +57 −0 test/client/view_events.js
  33. +2 −2 test/client/view_model.coffee
  34. +43 −0 test/client/view_model.js
  35. +5 −0 test/client_helper.js
  36. +2 −2 test/core.coffee
  37. +57 −0 test/core.js
  38. +36 −0 test/core/callbacks.js
  39. +149 −0 test/core/collection.js
  40. +136 −0 test/core/filtered_collection.js
  41. +42 −0 test/core/instance_methods.js
  42. +5 −0 test/core/logging.js
  43. +21 −0 test/core/model.js
  44. +50 −50 test/core/properties/belongs_to.coffee
  45. +50 −50 test/core/properties/field.coffee
  46. +79 −79 test/core/properties/has_many.coffee
  47. +2 −2 test/core/properties/virtual_property.coffee
  48. +2 −1 test/core/state_machine.coffee
  49. 0 test/core/state_machine.js
  50. +3 −1 test/helper.coffee
  51. +103 −0 test/helper.js
View
@@ -1,11 +1,20 @@
require "rake-pipeline-web-filters"
+require "pathology-rakep"
require "json"
# require "uglifier"
+output "lib"
+input "src" do
+ match "**/*.coffee" do |input|
+ filter PathologyConstantFilter
+ coffee_script
+ end
+end
+
output "dist"
input "lib" do
match "**/*.js" do
- minispade rewrite_requires: true, module_id_generator: proc { |input|
+ minispade rewrite_requires: true, string:true, module_id_generator: proc { |input|
id = input.path.dup
id.sub!('/lib/', '/')
id.sub!(/\.js$/, '')
@@ -17,9 +26,17 @@ input "lib" do
end
end
-input "./", "alpha_simprini.erb" do
- require "./version"
- filter(Rake::Pipeline::Web::Filters::TiltFilter, {}, Object) do |input|
- "alpha_simprini.html"
+output "tmp/test"
+input "test" do
+ match "**/*.coffee" do
+ filter PathologyConstantFilter
+ coffee_script
end
end
+# input "./", "alpha_simprini.erb" do
+# require "./version"
+
+# filter(Rake::Pipeline::Web::Filters::TiltFilter, {}, Object) do |input|
+# "alpha_simprini.html"
+# end
+# end
View
@@ -4,6 +4,11 @@ source "https://rubygems.org"
gem "rake-pipeline", :git => "https://github.com/livingsocial/rake-pipeline.git"
gem "rake-pipeline-web-filters", :git => "https://github.com/wycats/rake-pipeline-web-filters.git"
gem "pathology-rake", git: "git://gist.github.com/4194390.git"
+gem "reel"
+gem "celluloid"
+gem "color"
+gem "listen"
+gem 'rb-fsevent', '~> 0.9.1'
gem "colored"
gem "uglifier", "~> 1.0.3"
gem "coffee-script"
View
@@ -1,6 +1,6 @@
GIT
remote: git://gist.github.com/4194390.git
- revision: 58b17c2276b7b4df6e6743f408df651d5db49184
+ revision: 6f2a54b654f47b18605126c56219057d21f4f5e1
specs:
pathology-rake (0.2.0)
@@ -34,13 +34,22 @@ GEM
remote: https://rubygems.org/
specs:
addressable (2.2.7)
+ celluloid (0.12.3)
+ facter (>= 1.6.12)
+ timers (>= 1.0.0)
+ celluloid-io (0.12.0)
+ celluloid (~> 0.12.0)
+ nio4r (>= 0.4.0)
+ certified (0.1.1)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.2.0)
+ color (1.4.1)
colored (1.2)
execjs (1.3.0)
multi_json (~> 1.0)
+ facter (1.6.16)
faraday (0.7.6)
addressable (~> 2.2)
multipart-post (~> 1.1)
@@ -55,36 +64,57 @@ GEM
github_api (= 0.4.11)
rest-client
hashie (1.2.0)
+ http (0.4.0)
+ certified
+ http_parser.rb
+ http_parser.rb (0.5.3)
+ listen (0.6.0)
mime-types (1.18)
multi_json (1.3.2)
multipart-post (1.1.5)
+ nio4r (0.4.3)
nokogiri (1.5.5)
oauth2 (0.5.2)
faraday (~> 0.7)
multi_json (~> 1.0)
rack (1.4.1)
rake (0.9.2.2)
+ rb-fsevent (0.9.2)
+ reel (0.2.0)
+ celluloid-io (>= 0.8.0)
+ http (>= 0.2.0)
+ http_parser.rb (>= 0.5.3)
+ rack (>= 1.4.0)
+ websocket_parser (>= 0.1.0)
rest-client (1.6.7)
mime-types (>= 1.16)
thor (0.16.0)
tilt (1.3.3)
+ timers (1.0.1)
uglifier (1.0.4)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
watchr (0.7)
+ websocket_parser (0.1.1)
+ http
PLATFORMS
ruby
DEPENDENCIES
+ celluloid
coffee-script
+ color
colored
github_uploader (~> 0.1.0)
html_package!
+ listen
pathology-rake!
rake
rake-pipeline!
rake-pipeline-web-filters!
+ rb-fsevent (~> 0.9.1)
+ reel
tilt
uglifier (~> 1.0.3)
watchr
@@ -519,46 +519,6 @@
},
"buffers":
[
- {
- "file": "src/doc.coffee",
- "settings":
- {
- "buffer_size": 2630,
- "line_ending": "Unix"
- }
- },
- {
- "file": "docs/index.html",
- "settings":
- {
- "buffer_size": 2587,
- "line_ending": "Unix"
- }
- },
- {
- "file": "test/core/callbacks.coffee",
- "settings":
- {
- "buffer_size": 452,
- "line_ending": "Unix"
- }
- },
- {
- "file": "src/alpha_simprini/core/callbacks.coffee",
- "settings":
- {
- "buffer_size": 706,
- "line_ending": "Unix"
- }
- },
- {
- "file": "Rakefile",
- "settings":
- {
- "buffer_size": 3970,
- "line_ending": "Unix"
- }
- }
],
"build_system": "",
"command_palette":
@@ -600,6 +560,11 @@
},
"file_history":
[
+ "/Users/collin/Code/alpha_simprini/Rakefile",
+ "/Users/collin/Code/alpha_simprini/src/alpha_simprini/core/callbacks.coffee",
+ "/Users/collin/Code/alpha_simprini/test/core/callbacks.coffee",
+ "/Users/collin/Code/alpha_simprini/docs/index.html",
+ "/Users/collin/Code/alpha_simprini/src/doc.coffee",
"/Users/collin/Code/cms/public/javascripts/application.js",
"/Users/collin/Code/alpha_simprini/test/core/properties/has_many.coffee",
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/core/model/share.coffee",
@@ -609,7 +574,6 @@
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/client/binding/if.coffee",
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/core/properties/field.coffee",
"/Users/collin/Code/alpha_simprini/Assetfile",
- "/Users/collin/Code/alpha_simprini/Rakefile",
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/core/filtered_collection.coffee",
"/Users/collin/Code/alpha_simprini/src/alpha_simprini.coffee",
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/core/model.coffee",
@@ -624,12 +588,10 @@
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/client/application.coffee",
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/client.coffee",
"/Users/collin/Code/alpha_simprini/test/index.html",
- "/Users/collin/Code/alpha_simprini/docs/index.html",
"/Users/collin/Code/alpha_simprini/Assetfile-docs",
"/Users/collin/Code/alpha_simprini/test/client/dom.coffee",
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/client/dom.coffee",
"/Users/collin/Code/alpha_simprini/autobuild.watchr",
- "/Users/collin/Code/alpha_simprini/src/doc.coffee",
"/Users/collin/Code/alpha_simprini/test/client.coffee",
"/Users/collin/Code/alpha_simprini/docs/doc.js",
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/core/properties/has_many.coffee",
@@ -725,17 +687,15 @@
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/color.coffee",
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/color/models/color_stops.coffee",
"/Users/collin/Code/alpha_simprini/src/alpha_simprini/color/views/color_stop_picker.coffee",
- "/Users/collin/Code/alpha_simprini/src/alpha_simprini/color/models/color_stop.coffee",
- "/Users/collin/Code/alpha_simprini/lib/alpha_simprini/client/binding/edit_line.js",
- "/Users/collin/Code/alpha_simprini/src/alpha_simprini/core/logging.coffee"
+ "/Users/collin/Code/alpha_simprini/src/alpha_simprini/color/models/color_stop.coffee"
],
"find":
{
"height": 35.0
},
"find_in_files":
{
- "height": 93.0,
+ "height": 0.0,
"where_history":
[
"*.coffee,/Users/collin/Code/alpha_simprini/src",
@@ -1007,149 +967,8 @@
"groups":
[
{
- "selected": 0,
"sheets":
[
- {
- "buffer": 0,
- "file": "src/doc.coffee",
- "settings":
- {
- "buffer_size": 2630,
- "regions":
- {
- },
- "selection":
- [
- [
- 767,
- 767
- ]
- ],
- "settings":
- {
- "syntax": "Packages/CofeeScript/CoffeeScript.tmLanguage",
- "tab_size": 2,
- "translate_tabs_to_spaces": true
- },
- "translation.x": 0.0,
- "translation.y": 0.0,
- "zoom_level": 1.0
- },
- "type": "text"
- },
- {
- "buffer": 1,
- "file": "docs/index.html",
- "settings":
- {
- "buffer_size": 2587,
- "regions":
- {
- },
- "selection":
- [
- [
- 2245,
- 2245
- ]
- ],
- "settings":
- {
- "syntax": "Packages/HTML/HTML.tmLanguage",
- "tab_size": 2,
- "translate_tabs_to_spaces": true
- },
- "translation.x": 0.0,
- "translation.y": 1031.0,
- "zoom_level": 1.0
- },
- "type": "text"
- },
- {
- "buffer": 2,
- "file": "test/core/callbacks.coffee",
- "settings":
- {
- "buffer_size": 452,
- "regions":
- {
- },
- "selection":
- [
- [
- 0,
- 0
- ]
- ],
- "settings":
- {
- "syntax": "Packages/CofeeScript/CoffeeScript.tmLanguage",
- "tab_size": 2,
- "translate_tabs_to_spaces": true
- },
- "translation.x": 0.0,
- "translation.y": 0.0,
- "zoom_level": 1.0
- },
- "type": "text"
- },
- {
- "buffer": 3,
- "file": "src/alpha_simprini/core/callbacks.coffee",
- "settings":
- {
- "buffer_size": 706,
- "regions":
- {
- },
- "selection":
- [
- [
- 232,
- 232
- ]
- ],
- "settings":
- {
- "syntax": "Packages/CofeeScript/CoffeeScript.tmLanguage",
- "tab_size": 2,
- "translate_tabs_to_spaces": true
- },
- "translation.x": 0.0,
- "translation.y": 0.0,
- "zoom_level": 1.0
- },
- "type": "text"
- },
- {
- "buffer": 4,
- "file": "Rakefile",
- "settings":
- {
- "buffer_size": 3970,
- "regions":
- {
- },
- "selection":
- [
- [
- 2033,
- 2033
- ]
- ],
- "settings":
- {
- "syntax": "Packages/Ruby/Ruby.tmLanguage",
- "tab_size": 2,
- "translate_tabs_to_spaces": true
- },
- "translation.x": 0.0,
- "translation.y": 843.0,
- "zoom_level": 1.0
- },
- "type": "text"
- }
]
}
],
Oops, something went wrong.

0 comments on commit 67b1103

Please sign in to comment.