jsoneditor-rails 0.1.0 → 1.0.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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/Rakefile +2 -2
- data/lib/jsoneditor/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e1818882213183182ef11386489b26e6cc386c1
|
|
4
|
+
data.tar.gz: 5d4fd61bdbb25a6dec7ea1b7d7fc1f51406db068
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61638fc856e8bf2d12b3d2c5296bfe76167e309f732c97f39b73f08a9e36bc7e0b11f6e29ddc0ada90234925dda6d10c2da1506884682309e200fca0ae6c7851
|
|
7
|
+
data.tar.gz: 34bad4e11a56cf455e70ab543d85289ef731fce48fca24f4e75a4acaa8098300e1e7962b0d6258a046fca423c9e93d74b0390fde0dd88c50d312caf55476ca70
|
data/README.md
CHANGED
|
@@ -20,12 +20,12 @@ Or install it yourself as:
|
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
In your `app/assets/javascripts/application.js` add:
|
|
24
24
|
|
|
25
25
|
```js
|
|
26
26
|
//= require jsoneditor
|
|
27
27
|
|
|
28
|
-
// Or
|
|
28
|
+
// Or use the minimalist version instead
|
|
29
29
|
//= require jsoneditor-minimalist
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -39,8 +39,8 @@ Then add the JSON Editor CSS to your `app/assets/stylesheets/application.scss`:
|
|
|
39
39
|
|
|
40
40
|
* `git clone https://github.com/javierjulio/jsoneditor-rails.git`
|
|
41
41
|
* `bundle install`
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
* `rake update_json_editor_assets`
|
|
43
|
+
* Create pull request with latest changes
|
|
44
44
|
|
|
45
45
|
## Contributing
|
|
46
46
|
|
data/Rakefile
CHANGED
|
@@ -9,8 +9,8 @@ end
|
|
|
9
9
|
|
|
10
10
|
task :default => :test
|
|
11
11
|
|
|
12
|
-
desc "Update JSON Editor
|
|
13
|
-
task :
|
|
12
|
+
desc "Update JSON Editor assets"
|
|
13
|
+
task :update_json_editor_assets do
|
|
14
14
|
dist_url = "https://raw.githubusercontent.com/josdejong/jsoneditor/master/dist/"
|
|
15
15
|
|
|
16
16
|
puts "Downloading jsoneditor.js"
|