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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjVmODdlODY5NzAyNzA5ZDJhMjFlNjgxMzE5NTMwYjA1ZmI0Nzg3Ng==
4
+ YmM0MTcwOTA2M2JmZTY4NzQ0N2RlOTFiMzJhMmIwMDBmYjZhNjRiZA==
5
5
  data.tar.gz: !binary |-
6
- NWM3ZDYzZWZlMWNiYmM2MTVkZjUzZjI1ZjhiZTdhNDQyNWNjNTZlOQ==
6
+ M2Y0ZGM4MGE1NzM0OWU3ZTE4MTNjYTQ2MjAxYzc3NGEwNTg0MTY4Mg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGI0ZTEyY2ZhZjU2NDFlZjkyYjlhOTk4MmZiY2NkNzhhNDgzZmU1NWQ3NDRl
10
- ZTI5NjQ5NGEzOTFiMzYzOWRjZTc3MWQzY2E3ZGZjMzQzZWJiYjZlM2ZkZjFh
11
- YjdhNWE3YTYwOThjYmMzNTQ0NzI0YzI5YTE2Zjc2ZjdmYzlhMGY=
9
+ M2I1ZTM2ZDM2ZGNhMWVjMzQ1MTg5MTg0YWFkN2RiNWY3MjFiYzkyMGFjNGMx
10
+ MzY0NmE2MGI1NGNjMTI2OGQ2YzM4MDY1N2VkMGQzMmZiMmY2YTM2ZTQ0ZmU1
11
+ OWY0MTVmNjUxMGIzM2U5OGQzYmMyYThhNWExZWFjNWExNzQ0YzE=
12
12
  data.tar.gz: !binary |-
13
- NzdiZjExODliOTM1MDY1NWMwMDA3YjgxNDEzOGVhOTNmOWJmMTQxZjRiMWM1
14
- MzhiMzAwNDk5NmM5OWY2YzUzMDBiMzMyYWM1ZDI1Y2E1OTE1YmQ4YWY3Nzkw
15
- Y2ZlMWI1MTNiZWQxMDgxNzE1NmYwYjkwZjI2MmE1ZTlkYjE0ZDk=
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 this line to your application's Gemfile:
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
- TODO: Write usage instructions here
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"
@@ -2,7 +2,7 @@ module Angular
2
2
  module Ui
3
3
  module Sortable
4
4
  module Rails
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
8
8
  end
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.1
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-16 00:00:00.000000000 Z
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