angular-ui-sortable-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +9 -10
- data/lib/angular-ui-sortable-rails.rb +1 -0
- data/lib/angular/ui/sortable/rails/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmM0MTcwOTA2M2JmZTY4NzQ0N2RlOTFiMzJhMmIwMDBmYjZhNjRiZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2Y0ZGM4MGE1NzM0OWU3ZTE4MTNjYTQ2MjAxYzc3NGEwNTg0MTY4Mg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2I1ZTM2ZDM2ZGNhMWVjMzQ1MTg5MTg0YWFkN2RiNWY3MjFiYzkyMGFjNGMx
|
10
|
+
MzY0NmE2MGI1NGNjMTI2OGQ2YzM4MDY1N2VkMGQzMmZiMmY2YTM2ZTQ0ZmU1
|
11
|
+
OWY0MTVmNjUxMGIzM2U5OGQzYmMyYThhNWExZWFjNWExNzQ0YzE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjhiY2M5NGRiNDJjMzEzN2QzZDYxMDJkMWY2Yjc1MzVkNWExZDE2MGJjYzky
|
14
|
+
NzMyZDliZmUzZThiNzAzOGRjYzNhNTMwNDYzMjE4NTBkNTU0YzJmMzdiN2M2
|
15
|
+
YjJhNmVlZTIzZjgxZWEzZjIzMjRjMDAyYTc1YTJjMDFkNTI2YmE=
|
data/README.md
CHANGED
@@ -4,21 +4,20 @@ TODO: Write a gem description
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
Add
|
7
|
+
Add gem to your Gemfile & run `bundle install` in the terminal:
|
8
8
|
|
9
9
|
gem 'angular-ui-sortable-rails'
|
10
10
|
|
11
|
-
And then execute:
|
12
|
-
|
13
|
-
$ bundle
|
14
|
-
|
15
|
-
Or install it yourself as:
|
16
|
-
|
17
|
-
$ gem install angular-ui-sortable-rails
|
18
|
-
|
19
11
|
## Usage
|
20
12
|
|
21
|
-
|
13
|
+
```
|
14
|
+
app = angular.module 'app', ['ui.sortable.rails']
|
15
|
+
```
|
16
|
+
|
17
|
+
```
|
18
|
+
div (ng-model='data.blocks' ui-sortable="{update: updateSrting, containment: 'parent', axis: 'y', cursor: 'move'}")
|
19
|
+
div.common-box (ng-repeat="block in data.blocks" dynamic-directive)
|
20
|
+
```
|
22
21
|
|
23
22
|
## Contributing
|
24
23
|
|
@@ -0,0 +1 @@
|
|
1
|
+
require "angular/ui/sortable/rails"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular-ui-sortable-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johnlinvc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- README.md
|
52
52
|
- Rakefile
|
53
53
|
- angular-ui-sortable-rails.gemspec
|
54
|
+
- lib/angular-ui-sortable-rails.rb
|
54
55
|
- lib/angular/ui/sortable/rails.rb
|
55
56
|
- lib/angular/ui/sortable/rails/version.rb
|
56
57
|
- vendor/assets/javascritps/angular-ui-sortable-rails.js
|