modulargrid-rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,17 +1,5 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
1
+ .rvmrc
2
+ doc
5
3
  .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
4
  pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
5
+ Gemfile.lock
data/README.md CHANGED
@@ -7,9 +7,7 @@ Rails wrapper implementation of [ModularGrid.js](http://github.com/aishek/modula
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- group :development do
11
- gem 'modulargrid-rails'
12
- end
10
+ gem 'modulargrid-rails'
13
11
  ```
14
12
 
15
13
  And then execute:
@@ -22,6 +20,18 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
23
+ Load Modulargrid in your application layout:
24
+
25
+ ```haml
26
+ = javascript_include_tag 'modulargrid' if Rails.env == 'development'
27
+ ```
28
+
29
+ or call in application.js
30
+
31
+ ```javascript
32
+ //= require modulargrid
33
+ ```
34
+
25
35
  Grid keybindings:
26
36
 
27
37
  * Ctrl + ' - show/hide grid
@@ -1,5 +1,5 @@
1
1
  module Modulargrid
2
2
  module Rails
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
17
17
  gem.files = `git ls-files`.split($/)
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency "railties", "~> 3.1"
20
+ gem.add_dependency "railties", ">= 3.1"
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modulargrid-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,14 +9,14 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-21 00:00:00.000000000 Z
12
+ date: 2013-07-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: '3.1'
22
22
  type: :runtime
@@ -24,7 +24,7 @@ dependencies:
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.1'
30
30
  description: Rails wrapper implementation of Modulargrid.js
@@ -68,3 +68,4 @@ signing_key:
68
68
  specification_version: 3
69
69
  summary: Modulargrid.js Rails implementation
70
70
  test_files: []
71
+ has_rdoc: