angular-ujs 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +4 -4
- data/package.json +16 -18
- data/vendor/assets/javascripts/angular-ujs.js +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d1b1c21dcfad948cf44bc5bfbe2eb59b78e69cc
|
|
4
|
+
data.tar.gz: 9dd5978d60e9bef25c38c0ba92275b6222e96077
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e381b8a09da85d80c401cc9e6c212234ca28f9215fa004617633004969e10388075c9609ed52f672b7e15beadc0444eaf12d5b42d7ed6d75352cc84b1bbb9e85
|
|
7
|
+
data.tar.gz: b54383c8ab7d0fefd3c993b8e5cac03432fb7497fe664f4eca5af85ade3093bbe344fbdd5d53bb353bc0a6d477e09ed6a2a37d4910a9a70c9cd6e889175fb0f2
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright ©
|
|
3
|
+
Copyright © 2014 Tom Chen <developer@tomchentw.com>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# angular-ujs
|
|
1
|
+
# angular-ujs
|
|
2
2
|
|
|
3
|
-
[](http://badge.fury.io/rb/angular-ujs) [](http://travis-ci.org/tomchentw/angular-ujs) [](https://codeclimate.com/github/tomchentw/angular-ujs)
|
|
3
|
+
[](http://badge.fury.io/rb/angular-ujs) [](http://travis-ci.org/tomchentw/angular-ujs) [](https://codeclimate.com/github/tomchentw/angular-ujs) [](https://gemnasium.com/tomchentw/angular-ujs)
|
|
4
4
|
|
|
5
5
|
Ruby on Rails unobtrusive scripting adapter for angularjs ( Without jQuery dependency )
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ We use the similarity between them and provides seamless intergration with `jque
|
|
|
14
14
|
[LiveScript](http://livescript.net/) is a compile-to-js language, which provides us more robust way to write JavaScript.
|
|
15
15
|
It also has great readibility and lots of syntax sugar just like you're writting python/ruby.
|
|
16
16
|
|
|
17
|
-
### Spec/Scenario coverage
|
|
17
|
+
### Spec / Scenario coverage
|
|
18
18
|
We use `krama` to run unit test against [angular-ujs.spec.ls](https://github.com/tomchentw/angular-ujs/blob/master/src/angular-ujs.spec.ls) and use `protractor` to run intergration test via [angular-ujs.scenario.ls](https://github.com/tomchentw/angular-ujs/blob/master/src/angular-ujs.scenario.ls).
|
|
19
19
|
|
|
20
20
|
## Installation
|
|
@@ -24,7 +24,7 @@ However, we recommend you add [`ng-rails-csrf`](https://github.com/xrd/ng-rails-
|
|
|
24
24
|
|
|
25
25
|
### Just use it
|
|
26
26
|
|
|
27
|
-
* (
|
|
27
|
+
* (_Optional_) Download and include [`ng-rails-csrf.js`](https://github.com/xrd/ng-rails-csrf/blob/master/vendor/assets/javascripts/ng-rails-csrf.js).
|
|
28
28
|
* Download and include [`angular-ujs.js`](https://github.com/tomchentw/angular-ujs/blob/master/angular-ujs.js) OR [`angular-ujs.min.js`](https://github.com/tomchentw/angular-ujs/blob/master/angular-ujs.min.js).
|
|
29
29
|
|
|
30
30
|
Then include them through script tag in your HTML.
|
data/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-ujs",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Unobtrusive scripting adapter for angularjs",
|
|
5
5
|
"summary": "Ruby on Rails unobtrusive scripting adapter for angularjs ( Without jQuery dependency )",
|
|
6
6
|
"main": "angular-ujs.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"test": "
|
|
8
|
+
"test": "gulp test --require LiveScript",
|
|
9
|
+
"build": "gulp build --require LiveScript",
|
|
10
|
+
"watch": "gulp watch --require LiveScript",
|
|
11
|
+
"release": "gulp release --require LiveScript"
|
|
9
12
|
},
|
|
10
13
|
"repository": {
|
|
11
14
|
"type": "git",
|
|
@@ -32,26 +35,21 @@
|
|
|
32
35
|
},
|
|
33
36
|
"homepage": "https://github.com/tomchentw/angular-ujs",
|
|
34
37
|
"devDependencies": {
|
|
35
|
-
"grunt": "~0.4.2",
|
|
36
|
-
"grunt-contrib-uglify": "~0.2.7",
|
|
37
|
-
"grunt-livescript": "~0.5.1",
|
|
38
|
-
"grunt-contrib-copy": "~0.5.0",
|
|
39
38
|
"karma-script-launcher": "~0.1.0",
|
|
39
|
+
"karma-phantomjs-launcher": "~0.1.1",
|
|
40
40
|
"karma-chrome-launcher": "~0.1.2",
|
|
41
41
|
"karma-firefox-launcher": "~0.1.3",
|
|
42
|
-
"karma-html2js-preprocessor": "~0.1.0",
|
|
43
42
|
"karma-jasmine": "~0.1.5",
|
|
44
|
-
"karma-coffee-preprocessor": "~0.1.2",
|
|
45
|
-
"requirejs": "~2.1.9",
|
|
46
|
-
"karma-requirejs": "~0.2.1",
|
|
47
|
-
"karma-phantomjs-launcher": "~0.1.1",
|
|
48
43
|
"karma": "~0.10.8",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
44
|
+
"LiveScript": "~1.2.0",
|
|
45
|
+
"event-stream": "~3.1.0",
|
|
46
|
+
"gulp": "~3.3.1",
|
|
47
|
+
"gulp-livescript": "0.0.12",
|
|
48
|
+
"gulp-header": "~0.4.0",
|
|
49
|
+
"gulp-uglify": "~0.1.0",
|
|
50
|
+
"gulp-rename": "~0.2.1",
|
|
51
|
+
"gulp-bump": "~0.1.0",
|
|
52
|
+
"gulp-exec": "~1.0.3",
|
|
53
|
+
"gulp-conventional-changelog": "0.0.8"
|
|
56
54
|
}
|
|
57
55
|
}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/*! angular-ujs - v 0.4.4 - 2014-01-12T17:40:17.125Z
|
|
2
|
+
* https://github.com/tomchentw/angular-ujs
|
|
3
|
+
* Copyright (c) 2014 [tomchentw](https://github.com/tomchentw/);
|
|
4
|
+
* Licensed [MIT](http://tomchentw.mit-license.org/)
|
|
5
|
+
*/
|
|
1
6
|
/*global angular:false*/
|
|
2
7
|
(function(){
|
|
3
8
|
'use strict';
|
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.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- tomchentw
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-01-
|
|
11
|
+
date: 2014-01-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|