angular-ujs 0.4.12 → 0.4.13

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: f143a5b5970e7e6e8a43edaddcec51a862cccdb2
4
- data.tar.gz: 71d0f5edea2a764ad2adfd507559b9b41963f56b
3
+ metadata.gz: 1d90ebad2f934a2bb334c32b5d5955a73e8d99d8
4
+ data.tar.gz: 69fa7a1ed3c0726676bde8c4655106493f2ea928
5
5
  SHA512:
6
- metadata.gz: ec44eef948dfc055d3ea608c16796d093ccbc63881a3d499f6341bdee45860b262fe56cd26121e19828db0ce7a2d471e727711b527e260017ad6017b21ee21f1
7
- data.tar.gz: 8c3dbb69a8f8f3a95e1fe8f71744811b505fe6ddd89aa60a780e904d4e192f8ce9e28a8666739a6a7e2cf44bce265850a3e2c03c238fddd87a2cfd7d4b7987bf
6
+ metadata.gz: cfcb643d22577f95535a8289295d6e5dc83f9a1f4be34dd95195690de14c4f439752aa17ba7f953c0bc3750f8e46711d79dab255e5cda5a431855d8fee782054
7
+ data.tar.gz: 639878f9b4c0a0a25abb387cbe7c399315a26902f00d632029355baab3ff79f2c301aa818e5ceec2d6d8993ff184612c2dcf9073363693460a8a673dd86445aa
data/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # angular-ujs
2
2
  > Distributed via
3
3
 
4
- [![Version ](https://img.shields.io/gem/v/angular-ujs.svg) ](https://rubygems.org/gems/angular-ujs)
4
+ [![Version ](https://img.shields.io/gem/v/angular-ujs.svg) ](https://rubygems.org/gems/angular-ujs)
5
5
 
6
6
  > Unobtrusive scripting for AngularJS ( without jQuery dependency )
7
7
 
8
- [![Travis CI ](https://img.shields.io/travis/tomchentw/angular-ujs/master.svg) ](https://travis-ci.org/tomchentw/angular-ujs)
9
- [![Quality ](https://img.shields.io/codeclimate/github/tomchentw/angular-ujs.svg) ](https://codeclimate.com/github/tomchentw/angular-ujs)
10
- [![Coverage ](https://img.shields.io/coveralls/tomchentw/angular-ujs.svg) ](https://coveralls.io/r/tomchentw/angular-ujs)
11
- [![Dependencies](https://img.shields.io/gemnasium/tomchentw/angular-ujs.svg) ](https://gemnasium.com/tomchentw/angular-ujs)
8
+ [![Travis CI ](https://travis-ci.org/tomchentw/angular-ujs.svg?branch=master) ](https://travis-ci.org/tomchentw/angular-ujs)
9
+ [![Quality ](https://img.shields.io/codeclimate/github/tomchentw/angular-ujs.svg) ](https://codeclimate.com/github/tomchentw/angular-ujs)
10
+ [![Coverage ](https://img.shields.io/coveralls/tomchentw/angular-ujs.svg) ](https://coveralls.io/r/tomchentw/angular-ujs)
11
+ [![Dependencies](https://gemnasium.com/tomchentw/angular-ujs.svg) ](https://gemnasium.com/tomchentw/angular-ujs)
12
12
 
13
13
 
14
14
  ## Project philosophy
@@ -39,6 +39,7 @@ Then include them through script tag in your HTML.
39
39
 
40
40
  ### **Rails** projects (Only support 3.1+)
41
41
  Add this line to your application's Gemfile:
42
+
42
43
  ```ruby
43
44
  gem 'ng-rails-csrf' # Optional
44
45
  gem 'angular-ujs'
@@ -57,12 +58,13 @@ Then add these lines to the top of your `app/assets/javascripts/application.js`
57
58
  ```
58
59
 
59
60
  And include in your `angular` module definition:
60
-
61
- /* 'angular.ujs' DO NOT depend on 'ng-rails-csrf' module.
62
- * You need to include it yourself.
63
- */
64
- var module = angular.module('my-awesome-project', ['angular.ujs']).
65
61
 
62
+ ```javascript
63
+ /* 'angular.ujs' DO NOT depend on 'ng-rails-csrf' module.
64
+ * You need to include it yourself.
65
+ */
66
+ var module = angular.module('my-awesome-project', ['angular.ujs']).
67
+ ```
66
68
 
67
69
 
68
70
  ## Usage
@@ -113,4 +115,4 @@ For `angularjs` apps, **ONLY** those items with `ng-model` will be submitted wit
113
115
  2. Create your feature branch (`git checkout -b my-new-feature`)
114
116
  3. Commit your changes (`git commit -am 'Add some feature'`)
115
117
  4. Push to the branch (`git push origin my-new-feature`)
116
- 5. Create new Pull Request
118
+ 5. Create new Pull Request
@@ -1,13 +1,9 @@
1
1
  {
2
2
  "name": "angular-ujs",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "Unobtrusive scripting for AngularJS ( without jQuery dependency )",
5
5
  "longDescription": "Ruby on Rails replacement for unobtrusive scripting library `jquery_ujs` implemented in AngularJS without jQuery dependency",
6
6
  "main": "angular-ujs.js",
7
- "scripts": {
8
- "postinstall": "bower install",
9
- "test": "make test"
10
- },
11
7
  "repository": {
12
8
  "type": "git",
13
9
  "url": "https://github.com/tomchentw/angular-ujs"
@@ -33,33 +29,44 @@
33
29
  "url": "https://github.com/tomchentw/angular-ujs/issues"
34
30
  },
35
31
  "homepage": "https://github.com/tomchentw/angular-ujs",
36
- "devDependencies": {
32
+ "engines": {
33
+ "node": "0.10.x"
34
+ },
35
+ "scripts": {
36
+ "start": "make server"
37
+ },
38
+ "dependencies": {
37
39
  "LiveScript": "^1.2.0",
38
40
  "bower": "^1.2.8",
39
- "tiny-lr": "^0.0.5",
41
+ "q": "^1.0.0",
40
42
  "connect": "^2.13.0",
41
- "connect-livereload": "^0.3.2",
42
- "protractor": "^0.20.1",
43
- "coveralls": "^2.8.0",
43
+ "highlight.js": "^8.0.0",
44
44
  "gulp": "^3.5.2",
45
- "gulp-util": "^2.2.14",
46
45
  "gulp-livescript": "^0.2.0",
47
- "gulp-header": "^1.0.2",
48
46
  "gulp-uglify": "^0.2.1",
49
- "gulp-rename": "^1.1.0",
50
- "gulp-bump": "^0.1.4",
51
- "gulp-conventional-changelog": "^0.1.2",
52
- "gulp-jade": "^0.4.1",
53
- "gulp-ruby-sass": "^0.3.0",
54
47
  "gulp-angular-templatecache": "^1.1.0",
48
+ "gulp-jade": "^0.5.0",
49
+ "gulp-sass": "^0.7.1",
50
+ "gulp-minify-css": "^0.3.0",
55
51
  "gulp-concat": "^2.1.7",
52
+ "gulp-rev": "^0.3.2",
53
+ "gulp-header": "^1.0.2"
54
+ },
55
+ "devDependencies": {
56
+ "tiny-lr": "0.0.5",
57
+ "gulp-bump": "^0.1.4",
58
+ "gulp-rename": "^1.2.0",
59
+ "gulp-conventional-changelog": "^0.1.2",
56
60
  "gulp-livereload": "^1.1.1",
57
- "karma": "^0.10.9",
61
+ "gulp-nodemon": "^1.0.2",
62
+ "coveralls": "^2.8.0",
63
+ "protractor": "^0.21.0",
64
+ "karma": "^0.12.9",
58
65
  "karma-live-preprocessor": "^0.2.2",
59
66
  "karma-script-launcher": "^0.1.0",
60
67
  "karma-chrome-launcher": "^0.1.2",
61
68
  "karma-firefox-launcher": "^0.1.3",
62
- "karma-jasmine": "^0.1.5",
69
+ "karma-jasmine": "^0.1.x",
63
70
  "karma-phantomjs-launcher": "^0.1.2",
64
71
  "karma-coverage": "^0.2.0"
65
72
  }
@@ -1,13 +1,11 @@
1
- /*! angular-ujs - v 0.4.12 - Fri Mar 14 2014 12:56:09 GMT+0800 (CST)
1
+ /*! angular-ujs - v 0.4.13 - Wed Apr 23 2014 21:24:18 GMT+0800 (CST)
2
2
  * https://github.com/tomchentw/angular-ujs
3
3
  * Copyright (c) 2014 [tomchentw](https://github.com/tomchentw);
4
4
  * Licensed [MIT](http://tomchentw.mit-license.org)
5
5
  */
6
6
  /*global angular:false*/
7
- (function(){
7
+ (function(angular, bind){
8
8
  'use strict';
9
- var bind;
10
- bind = angular.bind;
11
9
  function denyDefaultAction(event){
12
10
  event.preventDefault();
13
11
  event.stopPropagation();
@@ -207,4 +205,4 @@
207
205
  }
208
206
  };
209
207
  }));
210
- }).call(this);
208
+ }.call(this, angular, angular.bind));
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angular-ujs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.12
4
+ version: 0.4.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - tomchentw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-14 00:00:00.000000000 Z
11
+ date: 2014-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,4 +91,3 @@ signing_key:
91
91
  specification_version: 4
92
92
  summary: Unobtrusive scripting for AngularJS ( without jQuery dependency )
93
93
  test_files: []
94
- has_rdoc: