xml_to_form 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +5 -1
- data/lib/xml_to_form/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e1a789fde67eaff11c6665aa84c10f3e0093ddc
|
4
|
+
data.tar.gz: 3fd46b7d987de1d53b54c01fee7e6efbd99be5ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4475d7bf64de7b4339526a6efda9bdaf365447a21c7ef5975a6aa3cd74e5f1fa55ca7c2ca43e6776b7a5c9415ae1ee5eb23c7fb2bb8c6ff5735afaef601e299
|
7
|
+
data.tar.gz: aaac051ceec3ea1b4b3334a7c292f89b1b13bcf4fdd6dbaa29e69e63afd605d1a6be24f32e7380b05d68994416d0704936e2c59e67195b72b4960d07e4bfe6e1
|
data/README.rdoc
CHANGED
@@ -16,13 +16,17 @@ Copy the migration file:
|
|
16
16
|
|
17
17
|
<tt>$ rake xml_to_form:install:migrations</tt>
|
18
18
|
|
19
|
+
Migrate it in db:
|
20
|
+
|
21
|
+
<tt>$ rake db:migrate</tt>
|
22
|
+
|
19
23
|
== Usage
|
20
24
|
|
21
25
|
To use this gem you just need to mount it in your route file *config/routes.rb*
|
22
26
|
|
23
27
|
<tt>mount XmlToForm::Engine => "/xml_handler" </tt>
|
24
28
|
|
25
|
-
Then hit the url <tt> localhost:3000/xml_handler
|
29
|
+
Then hit the url <tt> localhost:3000/xml_handler/upload_file</tt>:
|
26
30
|
|
27
31
|
then you will see a file upload button to upload a xml file after uploading a file you will see nested rails form for updating xml file whatever value you will update it will update the xml file and will create an updated.xml file.
|
28
32
|
|
data/lib/xml_to_form/version.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xml_to_form
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nitanshu verma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activemodel
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: nokogiri
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: As it is basically a converter of xml file to rails nested form it takes
|