dojox-rails 0.12.0 → 0.13.0

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.
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- # Dojox-rails 0.12.0
1
+ # Version 0.13.0
2
+
3
+ * Fix a bad require statement
4
+
5
+ # Version 0.12.0
2
6
 
3
7
  * Fix a bad example in the README file
4
8
  * Inconsistent module names (pgn84)
data/CONTRIBUTORS.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # Contributors to dojox-rails <3
2
2
 
3
3
  * pgn84
4
-
4
+ * Niko Roberts
data/README.md CHANGED
@@ -15,9 +15,26 @@ Just run the `bundle` command to install the gems. Then, in your javascript file
15
15
 
16
16
  ```coffeescript
17
17
  require(["dojox/charting/Chart", "dojox/charting/themes/Claro"], (chart, theme) ->
18
- # ... Here your code
18
+ # ... Here is your code
19
19
  )
20
20
  ```
21
+ ## Usage with Asset Pipeline in Production
22
+
23
+ To use with production and asset pipeline from Rails 3.1 you will need to have the [djConfig](http://dojotoolkit.org/documentation/tutorials/1.8/dojo_config/) hash set before you load the dojo/dojo library
24
+
25
+ *This is critical for production mode because otherwise the require[ ] statements will not load libraries correctly*
26
+
27
+ Example contents of application.js
28
+ ```coffeescript
29
+ //= require dojo_config
30
+ //= require dojo/dojo
31
+ ```
32
+ Contents of dojo_config.js
33
+ ```javascript
34
+ dojoConfig = {
35
+ baseUrl: '/assets/dojo/'
36
+ };
37
+ ```
21
38
 
22
39
  ## Contributing
23
40
 
@@ -38,4 +55,4 @@ For issues and bugs, please open a [new ticket](https://github.com/robin850/dojo
38
55
 
39
56
  ## License
40
57
 
41
- This project is released under the MIT license. See the `LICENSE` file for more information. Dojo Toolkit is available under either the terms of the modified BSD license or the Academic Free License version 2.1. Please see the `DOJO_LICENSE` file or [visit the official page](http://dojotoolkit.org/license) for more information.
58
+ This project is released under the MIT license. See the `LICENSE` file for more information. Dojo Toolkit is available under either the terms of the modified BSD license or the Academic Free License version 2.1. Please see the `DOJO_LICENSE` file or [visit the official page](http://dojotoolkit.org/license) for more information.
@@ -1,7 +1,7 @@
1
1
  module Dojox
2
2
  module Rails
3
3
  MAJOR = 0
4
- MINOR = 12
4
+ MINOR = 13
5
5
  TINY = 0
6
6
 
7
7
  VERSION = [MAJOR, MINOR, TINY].compact.join(".")
data/lib/dojox-rails.rb CHANGED
@@ -1,4 +1,4 @@
1
- require "dojox-rails/version"
1
+ require "dojox/rails/version"
2
2
 
3
3
  module Dojox
4
4
  module Rails
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dojox-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.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-12-15 00:00:00.000000000 Z
12
+ date: 2013-02-02 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Dojox with Ruby on Rails
15
15
  email: