joosy 1.2.0.alpha.15 → 1.2.0.alpha.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5dd10943aa7e77f3b2b8819b0fe66a8849bf6f6
4
- data.tar.gz: e97611fc855f28795886e99af976aaabc3a048ca
3
+ metadata.gz: 5b6d420b026dc867a790a19704a93a47202ee174
4
+ data.tar.gz: 334ea2c00b4b1816d4ed9b43c4efaa01145111eb
5
5
  SHA512:
6
- metadata.gz: 054a7481dab1f1f7f354d7390eb18fcd0d962531f361cc5b5844dcf8e18315794b2f101b32695e3526c973c50b4e615ccc039e6916c99292a0e8f03becc30b17
7
- data.tar.gz: 3dd8453a8d90b61f489a4b5a699aed6d42d61fd593fa626951dc9b72c2562c1557603e0f7fd1933b183181b5ee8e503555111e871dda2cc9e25de45dfdc5c293
6
+ metadata.gz: 9f0925229eff52f7aeee38a731584c59222fa014eb79b811e7939598412c934484b8773ea0153f20017312de0241652ab1ba7fe1705b5c8520f127a14b4e6be0
7
+ data.tar.gz: 01c12eced7035981241a017614a522ac8d802f03158292fb815a1eebfa325199252ebfb0c872d18e3c1e9cc7e5f63794524151c8bc8cf7ead87d70c1ff968576
data/Gemfile CHANGED
@@ -1,5 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
 
3
+ gem 'pry'
4
+
3
5
  gemspec
4
6
 
5
- gem 'pry'
data/Gruntfile.coffee CHANGED
@@ -28,9 +28,9 @@ module.exports = (grunt) ->
28
28
  outfile: "#{category}.html"
29
29
  vendor: [
30
30
  'components/sinonjs/sinon.js',
31
+ 'components/sugar/release/sugar-full.min.js',
31
32
  'components/jquery/jquery.js',
32
- 'components/jquery-form/jquery.form.js',
33
- 'components/sugar/release/sugar-full.min.js'
33
+ 'components/jquery-form/jquery.form.js'
34
34
  ],
35
35
  specs: "#{locations.specs.build}/#{specs}"
36
36
  helpers: locations.specs.build + '/' + locations.specs.helpers
@@ -91,8 +91,8 @@ module.exports = (grunt) ->
91
91
  dest: locations.source.extensions('resources').build
92
92
  form:
93
93
  include: [locations.source.path]
94
- src: locations.source.extensions('form').root
95
- dest: locations.source.extensions('form').build
94
+ src: locations.source.extensions('resources-form').root
95
+ dest: locations.source.extensions('resources-form').build
96
96
 
97
97
  coffeelint:
98
98
  source:
@@ -109,7 +109,7 @@ module.exports = (grunt) ->
109
109
 
110
110
  extensions:
111
111
  options: specOptions('extensions', locations.specs.units.extensions)
112
- src: [locations.source.build].include ['preloaders', 'resources', 'form'].map (x) ->
112
+ src: [locations.source.build].include ['preloaders', 'resources', 'resources-form'].map (x) ->
113
113
  locations.source.extensions(x).build
114
114
 
115
115
  grunt.event.on 'watch', (action, filepath) ->
data/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joosy",
3
- "version": "1.2.0-alpha.15",
3
+ "version": "1.2.0-alpha.16",
4
4
  "main": "lib/joosy.js",
5
5
  "ignore": [
6
6
  "bin",
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- /*** src/joosy/extensions/form/form ***/
3
+ /*** src/joosy/extensions/resources-form/form ***/
4
4
 
5
5
  var __hasProp = {}.hasOwnProperty,
6
6
  __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
@@ -350,7 +350,7 @@ Joosy.Form = (function(_super) {
350
350
  })(Joosy.Module);
351
351
 
352
352
 
353
- /*** src/joosy/extensions/form/helpers/form ***/
353
+ /*** src/joosy/extensions/resources-form/helpers/form ***/
354
354
 
355
355
  Joosy.helpers('Application', function() {
356
356
  var Form, description, input,
@@ -586,7 +586,7 @@ Joosy.helpers('Application', function() {
586
586
  });
587
587
 
588
588
 
589
- /*** src/joosy/extensions/form/index ***/
589
+ /*** src/joosy/extensions/resources-form/index ***/
590
590
 
591
591
 
592
592
  ;
data/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "joosy"
6
6
  ],
7
- "version": "1.2.0-alpha.15",
7
+ "version": "1.2.0-alpha.16",
8
8
  "author": "Boris Staal <boris@staal.io>",
9
9
  "bin": {
10
10
  "joosy": "bin/joosy"
data/tasks/joosy.coffee CHANGED
@@ -14,7 +14,7 @@ module.exports = (grunt) ->
14
14
 
15
15
  grunt.registerTask 'joosy:compile:playground', ->
16
16
  hamlc = require 'haml-coffee'
17
- grunt.file.write 'public/index.html', hamlc.compile(grunt.file.read 'source/index.haml')()
17
+ grunt.file.write 'public/index.html', hamlc.compile(grunt.file.read 'source/index.haml')(environment: 'production')
18
18
 
19
19
  grunt.registerTask 'joosy:server', ->
20
20
  @async()
@@ -38,7 +38,7 @@ module.exports = (grunt) ->
38
38
 
39
39
  server.use '/', (req, res, next) ->
40
40
  if req.url == '/'
41
- res.end hamlc.compile(grunt.file.read 'source/index.haml')()
41
+ res.end hamlc.compile(grunt.file.read 'source/index.haml')(environment: 'development')
42
42
  else
43
43
  next()
44
44
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joosy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.alpha.15
4
+ version: 1.2.0.alpha.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Staal
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-06-27 00:00:00.000000000 Z
14
+ date: 2013-06-28 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: sprockets
@@ -55,8 +55,8 @@ files:
55
55
  - bin/joosy
56
56
  - bower.json
57
57
  - joosy.gemspec
58
- - lib/extensions/form.js
59
58
  - lib/extensions/preloaders.js
59
+ - lib/extensions/resources-form.js
60
60
  - lib/extensions/resources.js
61
61
  - lib/joosy.js
62
62
  - lib/joosy.rb
@@ -107,12 +107,12 @@ files:
107
107
  - src/joosy/core/router.coffee
108
108
  - src/joosy/core/templaters/rails_jst.coffee
109
109
  - src/joosy/core/widget.coffee
110
- - src/joosy/extensions/form/form.coffee
111
- - src/joosy/extensions/form/helpers/form.coffee
112
- - src/joosy/extensions/form/index.coffee
113
110
  - src/joosy/extensions/preloaders/caching.coffee
114
111
  - src/joosy/extensions/preloaders/index.coffee
115
112
  - src/joosy/extensions/preloaders/inline.coffee
113
+ - src/joosy/extensions/resources-form/form.coffee
114
+ - src/joosy/extensions/resources-form/helpers/form.coffee
115
+ - src/joosy/extensions/resources-form/index.coffee
116
116
  - src/joosy/extensions/resources/base.coffee
117
117
  - src/joosy/extensions/resources/collection.coffee
118
118
  - src/joosy/extensions/resources/index.coffee