dijit-rails 0.10.4 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ list.txt
data/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2012 Robin Dupret
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the "Software"),
5
+ to deal in the Software without restriction, including without limitation the
6
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
+ sell copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
19
+ DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # Dijit with Ruby on Rails
2
+
3
+ If you want to use Dijit (a Dojo Toolkit component) with Ruby on Rails, this gem is certainly the answer to your problem. There is no real implementation of Dojo and its components for Rails so this gem should make you smile. Please also see [dojo-rails](https://github.com/robin850/dojo-rails) and [dojox-rails](https://github.com/robin850/dojox-rails).
4
+
5
+ ## Setup
6
+
7
+ Just open your application's `Gemfile` and edit it adding the gem to your assets group:
8
+
9
+ ```ruby
10
+ group :assets do
11
+ # ...
12
+ gem 'dojo-rails'
13
+ gem 'dijit-rails'
14
+ end
15
+ ```
16
+
17
+ Just run the `bundle` comand yo install it. Then in your javascript/Coffeescript file, you can add Dijit packages to your require package list just like that:
18
+
19
+ ```coffeescript
20
+ require(["dijit/Editor"], (editor) ->
21
+ # ... your code
22
+ )
23
+ ```
24
+ ## Contributing
25
+
26
+ ### Code
27
+
28
+ If you found a bug or just want to improve the project at some level, you should just:
29
+
30
+ * Fork the project
31
+ * Clone the repository on your local machine
32
+ * Create a new branch with `git checkout -b new_feature`
33
+ * Make changes and commit them
34
+ * Then `git push origin master`
35
+ * And finally open a new pull request on this repo
36
+
37
+ ### Issues and bugs
38
+
39
+ For issues and bugs, please open a [new ticket](https://github.com/robin850/dijit-rails/issues/new) to the issue tracker. Thanks for your help!
40
+
41
+ ## License
42
+
43
+ This project is realeased under the MIT license. Please see the `LICENSE` file for more information.
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
@@ -1,8 +1,8 @@
1
1
  module Dijit
2
2
  module Rails
3
3
  MAJOR = 0
4
- MINOR = 10
5
- TINY = 4
4
+ MINOR = 11
5
+ TINY = 0
6
6
  VERSION = [MAJOR, MINOR, TINY].compact.join(".")
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dijit-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.11.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-21 00:00:00.000000000 Z
12
+ date: 2012-11-02 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Dijit with Ruby on Rails
15
15
  email:
@@ -19,6 +19,9 @@ extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - .gitignore
22
+ - LICENSE
23
+ - README.md
24
+ - Rakefile
22
25
  - dijit-rails.gemspec
23
26
  - lib/dijit-rails.rb
24
27
  - lib/dijit/rails.rb