xml_to_form 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +11 -7
- data/app/controllers/xml_to_form/xml_handlers_controller.rb +11 -11
- data/db/migrate/20160411193812_create_xml_handlers.rb +1 -1
- data/lib/xml_to_form/version.rb +1 -1
- metadata +14 -214
- data/test/controllers/xml_to_form/xml_handlers_controller_test.rb +0 -13
- data/test/dummy/README.rdoc +0 -28
- data/test/dummy/Rakefile +0 -6
- data/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/app/controllers/application_controller.rb +0 -5
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/bin/bundle +0 -3
- data/test/dummy/bin/rails +0 -4
- data/test/dummy/bin/rake +0 -4
- data/test/dummy/bin/setup +0 -29
- data/test/dummy/config/application.rb +0 -26
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -41
- data/test/dummy/config/environments/production.rb +0 -79
- data/test/dummy/config/environments/test.rb +0 -42
- data/test/dummy/config/initializers/assets.rb +0 -11
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy/config/initializers/inflections.rb +0 -16
- data/test/dummy/config/initializers/mime_types.rb +0 -4
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -23
- data/test/dummy/config/routes.rb +0 -4
- data/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/config.ru +0 -4
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20160411194809_create_xml_to_form_xml_handlers.rb +0 -6
- data/test/dummy/db/schema.rb +0 -24
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -4663
- data/test/dummy/log/test.log +0 -8
- data/test/dummy/public/404.html +0 -67
- data/test/dummy/public/422.html +0 -67
- data/test/dummy/public/500.html +0 -66
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/-U/-Uny5QP43mWDSg0U2feoR5NpJQf-FuJDaU9ZAHvQmbA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/-s/-s7l8i0L1hx7Q4m2w4PbiDPam4XkRh0qA9g4h21pMfE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/10/10qvVeoBLNusrUgVclnLRdC3FNsgH38Ept6uae-Fm80.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1C/1CRNW_RTSdEZnfoBaPVBe9tdfzLdCmcmmqSn8eQUR0M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/50/50FdRPZQOhdMg8LFJFxdmNWwQVJfMk143HPVc_2FaFc.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5X/5XGHNnv3Fu1Ud5E94h7RAbORA65HNS82KhurTO48bXU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5l/5lnf7KHinTj6vwjVXOlo7cvuKEtGZRcGreUI45llZJ4.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6f/6fg3jX96AM1zIFUGeCvUQ8ARxyDdl-BMR3ZF_Ml6VmE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8o/8o4pevUm3uVIR-hpSAYO3ns95jNDw6Eb4kLGP_BjAAQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/G2/G2DdvXkMWwPziIsU5U1YnbNcBMEoC9NRRS065_exELY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/HJ/HJdXBDK9ZSNm-rlB2UF1y5BYUtp-j9UknPMlvDv7ftA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/MM/MMwBbXGivpqDHjaPV5FFp_dqdk4C99D4rbZtkms94I0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/NK/NKI-IS4wRkGAWHzF4TcvWJRzYk4bOoa3MFJ4SBz5tP0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q1/Q1ouXD5OyVQK2YTBt2LzMw48LzAyEJuUhPf2ost9Cxo.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qi/QiIWC1NMKS6hLfXq-Tit0E7su-_zz22ZZjvss212vR0.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/SD/SDziAeb8qUUyKXW_2L_voaKuKFkGwTcbETtAVHSFjDI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/S_/S_sevoAWKyppMRnqPeg-CBfLqeLnQ2GDhiFsqrgU6Ms.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/UP/UPuvLNzlBeEC_H41MweL3yVLsK0v4pPqp_kOm4I0Bgg.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Xh/XhPb2DFWpdyJBOY_pn-RxffBbvytoRaDyJN-ipoW3qs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Y0/Y07t50u-ukM4fQPi4vYn4KfbG6toEgX4VvJFv-lTgOA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/YE/YEyNwb78OHuOb0HMLTuJM4vBhgVZtpbwOYiITPELmr8.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/_g/_gvUaWcxAvD2v4xJtPnlnmAE7JX_MtmYP7_8mZb27CE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/do/doVwefT8rhkDSgqE_ZX3CQyGBGrUslv38C7zAxb8m1M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/eZ/eZsGM75lCQjeANTlZMUlfsTu7n7skbKAaFDT-tcDIs4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/fH/fH0ADmvCXCZChumlbeeVkbiDLu9OrVOJgcNVwLlj0sU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/j1/j1PapCxYmMcx3xX8cSm6JMdAVa0Io4jb2HjE0q8tMyM.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jT/jTdxw0bddolWW8KmM4BxLO8KxEGIOFn0iRODbdJPFSk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jx/jxZ1dDhJoMAWKazHIaFUXERtFffeGB9OVWVLuYbFfI8.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/l7/l7_Kv2jznYJaX_D4AZWIXi2Lypw3SQMXNmrOgLTREwg.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mA/mASRABYJRXDH4q-hIEG0Nptj6NqZJBU6e_7eilO6wBQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mt/mtXetL6U4rJoQvcROiP7XodKWzqvhb9ITvyGoOo0Sag.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/oX/oX44gT1mT0fUkkvh3mzwLB12iRjBUfKLBfaM9Si8RHQ.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pF/pFs51SvSCgO2duf0gMC9e_vI5x-ru06l9UCV1UcqWxg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pc/pcEvDKreSVXFM-yyjRA7qhI1ez6tGKo2R4EK8HQPnSQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rN/rNmSSIA9hDQGOHevCwV7w6QOOmnRk2hutBe2ZYhwHT8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rk/rknt4TU5zSvBWe4a1j3z5pnnbQutDG3lE_6RkeUwTt4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/uq/uqXdR_3CPhcgfLdo30Qd6wPRlwgFKh4APgjOldzM5Wg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/w2/w2kdjWh4olQ25caWvdJe_1Lr2lTu5-9qk0wwcMeoUUI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xH/xH0iGd8xJ4xsC637Je3u2tkwDdMdPM7Tq1UZg2xMN5c.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yA/yAOU4n6GljMkYW-TMghoc2eTnVNGgLCikJP661gUCh0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yR/yRQItO4cjRoKioEmsKjZu6BA-U9kPCq57L8w8P7sXLs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yZ/yZC9AdVFXFgQAzVijoyjawV97GPbpePBBP92BPTfzBo.cache +0 -1
- data/test/dummy/updated.xml +0 -88
- data/test/fixtures/xml_to_form/xml_handlers.yml +0 -11
- data/test/integration/navigation_test.rb +0 -8
- data/test/models/xml_to_form/xml_handler_test.rb +0 -9
- data/test/test_helper.rb +0 -21
- data/test/xml_to_form_test.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b38c078db69809c5ad0f0c419b74c5d50c2028b1
|
4
|
+
data.tar.gz: 0001015745b312d7da0dc3eb9e8d421dc4af9369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 659d1b8ef3a5db98fbd48953e2336c57fdefdc76733677c080ec8239d70a959fcd7a33c6830be4a3ac1b3d8d26f537d3c997c0a673421e17521bf903bbaee669
|
7
|
+
data.tar.gz: 70ef9b13fbad20ab553c608a5763787cb762fc2beab84fe053b7b5031f89d71b89d6b88bd592f4eb33dc73f821e3fb4103393d9cae19c17f97040933f9e7e06d
|
data/README.rdoc
CHANGED
@@ -1,24 +1,28 @@
|
|
1
|
-
=
|
1
|
+
= XmlToForm
|
2
2
|
|
3
|
-
XmlToForm gem enables you to upload any xml file and it will convert it to nested Rails Form with the help of <fieldset> and <legend> tags, then you can update that file and you will get an <tt>updated.xml</tt>
|
3
|
+
XmlToForm gem enables you to upload any xml file and it will convert it to nested Rails Form with the help of <fieldset> and <legend> tags, then you can update that file and you will get an <tt>updated.xml</tt> file.
|
4
4
|
|
5
5
|
== Installation
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
|
-
<tt>gem '
|
9
|
+
<tt>gem 'xml_to_form'</tt>
|
10
10
|
|
11
11
|
And then execute:
|
12
12
|
|
13
|
-
<tt>$ bundle</tt>
|
13
|
+
<tt>$ bundle install</tt>
|
14
|
+
|
15
|
+
Copy the migration file:
|
16
|
+
|
17
|
+
<tt>$ rake xml_to_form:install:migrations</tt>
|
14
18
|
|
15
19
|
== Usage
|
16
20
|
|
17
21
|
To use this gem you just need to mount it in your route file *config/routes.rb*
|
18
22
|
|
19
|
-
<tt>
|
23
|
+
<tt>mount XmlToForm::Engine => "/xml_handler" </tt>
|
20
24
|
|
21
|
-
Then
|
25
|
+
Then hit the url <tt> localhost:3000/xml_handler/</tt>:
|
22
26
|
|
23
|
-
then you will see a file upload button upload a xml file.
|
27
|
+
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.
|
24
28
|
|
@@ -5,14 +5,14 @@ require_dependency 'xml_to_form/xml_handler.rb'
|
|
5
5
|
module XmlToForm
|
6
6
|
class XmlHandlersController < ApplicationController
|
7
7
|
include NokoHacks
|
8
|
-
|
8
|
+
before_action :fetch_data, except: [:upload_file]
|
9
9
|
|
10
|
-
## @node_set is an array of each node with child and attributes which is representing the form in recursive way
|
11
|
-
## @attr_accessors is an hash where key is xml tag and their Base64 encoded path and value is there values
|
12
|
-
## @xml_obj is only the parsed object of nokogiri from xml
|
13
|
-
## @xml_data is the initialized object with their values which represents the form
|
14
|
-
def upload_file
|
10
|
+
## @node_set is an array of each node with child and attributes which is representing the form in recursive way
|
11
|
+
## @attr_accessors is an hash where key is xml tag and their Base64 encoded path and value is there values
|
12
|
+
## @xml_obj is only the parsed object of nokogiri from xml
|
13
|
+
## @xml_data is the initialized object with their values which represents the form
|
15
14
|
|
15
|
+
def upload_file
|
16
16
|
end
|
17
17
|
|
18
18
|
def xml_form
|
@@ -21,21 +21,21 @@ module XmlToForm
|
|
21
21
|
|
22
22
|
def xml_update
|
23
23
|
@xml = XmlHandler.new(params[:xml_data])
|
24
|
-
params[:xml_handler].each do |key,value|
|
24
|
+
params[:xml_handler].each do |key, value|
|
25
25
|
node = @xml_obj.at(decode_node_path(key))
|
26
26
|
update_xml(node, key, value)
|
27
27
|
if !node.content.empty? && !node.attributes.empty?
|
28
28
|
node.content = value
|
29
29
|
end
|
30
30
|
end
|
31
|
-
File.open('updated.xml', 'w') {|f| f.write(@xml_obj)}
|
32
|
-
|
31
|
+
File.open('public/updated.xml', 'w') { |f| f.write(@xml_obj) }
|
32
|
+
send_file(File.join(Rails.root, 'public', 'updated.xml'))
|
33
33
|
end
|
34
34
|
|
35
35
|
private
|
36
36
|
def fetch_data
|
37
|
-
params[:file]? @file= File.read(params[:file].tempfile) : @file = params[:file_content]
|
38
|
-
@node_set, @attr_accessors
|
37
|
+
params[:file] ? @file= File.read(params[:file].tempfile) : @file = params[:file_content]
|
38
|
+
@node_set, @attr_accessors, @xml_obj= XmlHandler.noko_meta_data(@file)
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
data/lib/xml_to_form/version.rb
CHANGED
metadata
CHANGED
@@ -1,76 +1,62 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nitanshu verma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-25 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
|
-
|
56
|
-
|
57
|
-
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
description: As it is basically a converter of xml file to rails form it takes help
|
70
|
-
from nokogiri do some hacks of nokogiri and update the xml file and create a updated.xml
|
71
|
-
in the current directory.
|
55
|
+
description: As it is basically a converter of xml file to rails nested form it takes
|
56
|
+
help from nokogiri do some hacks of nokogiri and update the xml file and create
|
57
|
+
an updated.xml file
|
72
58
|
email:
|
73
|
-
-
|
59
|
+
- nitanshu1991@gmail.com
|
74
60
|
executables: []
|
75
61
|
extensions: []
|
76
62
|
extra_rdoc_files: []
|
@@ -98,99 +84,6 @@ files:
|
|
98
84
|
- lib/xml_to_form.rb
|
99
85
|
- lib/xml_to_form/engine.rb
|
100
86
|
- lib/xml_to_form/version.rb
|
101
|
-
- test/controllers/xml_to_form/xml_handlers_controller_test.rb
|
102
|
-
- test/dummy/README.rdoc
|
103
|
-
- test/dummy/Rakefile
|
104
|
-
- test/dummy/app/assets/javascripts/application.js
|
105
|
-
- test/dummy/app/assets/stylesheets/application.css
|
106
|
-
- test/dummy/app/controllers/application_controller.rb
|
107
|
-
- test/dummy/app/helpers/application_helper.rb
|
108
|
-
- test/dummy/app/views/layouts/application.html.erb
|
109
|
-
- test/dummy/bin/bundle
|
110
|
-
- test/dummy/bin/rails
|
111
|
-
- test/dummy/bin/rake
|
112
|
-
- test/dummy/bin/setup
|
113
|
-
- test/dummy/config.ru
|
114
|
-
- test/dummy/config/application.rb
|
115
|
-
- test/dummy/config/boot.rb
|
116
|
-
- test/dummy/config/database.yml
|
117
|
-
- test/dummy/config/environment.rb
|
118
|
-
- test/dummy/config/environments/development.rb
|
119
|
-
- test/dummy/config/environments/production.rb
|
120
|
-
- test/dummy/config/environments/test.rb
|
121
|
-
- test/dummy/config/initializers/assets.rb
|
122
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
123
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
124
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
125
|
-
- test/dummy/config/initializers/inflections.rb
|
126
|
-
- test/dummy/config/initializers/mime_types.rb
|
127
|
-
- test/dummy/config/initializers/session_store.rb
|
128
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
129
|
-
- test/dummy/config/locales/en.yml
|
130
|
-
- test/dummy/config/routes.rb
|
131
|
-
- test/dummy/config/secrets.yml
|
132
|
-
- test/dummy/db/development.sqlite3
|
133
|
-
- test/dummy/db/migrate/20160411194809_create_xml_to_form_xml_handlers.rb
|
134
|
-
- test/dummy/db/schema.rb
|
135
|
-
- test/dummy/db/test.sqlite3
|
136
|
-
- test/dummy/log/development.log
|
137
|
-
- test/dummy/log/test.log
|
138
|
-
- test/dummy/public/404.html
|
139
|
-
- test/dummy/public/422.html
|
140
|
-
- test/dummy/public/500.html
|
141
|
-
- test/dummy/public/favicon.ico
|
142
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/-U/-Uny5QP43mWDSg0U2feoR5NpJQf-FuJDaU9ZAHvQmbA.cache
|
143
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/-s/-s7l8i0L1hx7Q4m2w4PbiDPam4XkRh0qA9g4h21pMfE.cache
|
144
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/10/10qvVeoBLNusrUgVclnLRdC3FNsgH38Ept6uae-Fm80.cache
|
145
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/1C/1CRNW_RTSdEZnfoBaPVBe9tdfzLdCmcmmqSn8eQUR0M.cache
|
146
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/50/50FdRPZQOhdMg8LFJFxdmNWwQVJfMk143HPVc_2FaFc.cache
|
147
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
|
148
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/5X/5XGHNnv3Fu1Ud5E94h7RAbORA65HNS82KhurTO48bXU.cache
|
149
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/5l/5lnf7KHinTj6vwjVXOlo7cvuKEtGZRcGreUI45llZJ4.cache
|
150
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/6f/6fg3jX96AM1zIFUGeCvUQ8ARxyDdl-BMR3ZF_Ml6VmE.cache
|
151
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/8o/8o4pevUm3uVIR-hpSAYO3ns95jNDw6Eb4kLGP_BjAAQ.cache
|
152
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/G2/G2DdvXkMWwPziIsU5U1YnbNcBMEoC9NRRS065_exELY.cache
|
153
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/HJ/HJdXBDK9ZSNm-rlB2UF1y5BYUtp-j9UknPMlvDv7ftA.cache
|
154
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/MM/MMwBbXGivpqDHjaPV5FFp_dqdk4C99D4rbZtkms94I0.cache
|
155
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/NK/NKI-IS4wRkGAWHzF4TcvWJRzYk4bOoa3MFJ4SBz5tP0.cache
|
156
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
|
157
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Q1/Q1ouXD5OyVQK2YTBt2LzMw48LzAyEJuUhPf2ost9Cxo.cache
|
158
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Qi/QiIWC1NMKS6hLfXq-Tit0E7su-_zz22ZZjvss212vR0.cache
|
159
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/SD/SDziAeb8qUUyKXW_2L_voaKuKFkGwTcbETtAVHSFjDI.cache
|
160
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/S_/S_sevoAWKyppMRnqPeg-CBfLqeLnQ2GDhiFsqrgU6Ms.cache
|
161
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/UP/UPuvLNzlBeEC_H41MweL3yVLsK0v4pPqp_kOm4I0Bgg.cache
|
162
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Xh/XhPb2DFWpdyJBOY_pn-RxffBbvytoRaDyJN-ipoW3qs.cache
|
163
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Y0/Y07t50u-ukM4fQPi4vYn4KfbG6toEgX4VvJFv-lTgOA.cache
|
164
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/YE/YEyNwb78OHuOb0HMLTuJM4vBhgVZtpbwOYiITPELmr8.cache
|
165
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/_g/_gvUaWcxAvD2v4xJtPnlnmAE7JX_MtmYP7_8mZb27CE.cache
|
166
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/do/doVwefT8rhkDSgqE_ZX3CQyGBGrUslv38C7zAxb8m1M.cache
|
167
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/eZ/eZsGM75lCQjeANTlZMUlfsTu7n7skbKAaFDT-tcDIs4.cache
|
168
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/fH/fH0ADmvCXCZChumlbeeVkbiDLu9OrVOJgcNVwLlj0sU.cache
|
169
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
|
170
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/j1/j1PapCxYmMcx3xX8cSm6JMdAVa0Io4jb2HjE0q8tMyM.cache
|
171
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/jT/jTdxw0bddolWW8KmM4BxLO8KxEGIOFn0iRODbdJPFSk.cache
|
172
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/jx/jxZ1dDhJoMAWKazHIaFUXERtFffeGB9OVWVLuYbFfI8.cache
|
173
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/l7/l7_Kv2jznYJaX_D4AZWIXi2Lypw3SQMXNmrOgLTREwg.cache
|
174
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/mA/mASRABYJRXDH4q-hIEG0Nptj6NqZJBU6e_7eilO6wBQ.cache
|
175
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/mt/mtXetL6U4rJoQvcROiP7XodKWzqvhb9ITvyGoOo0Sag.cache
|
176
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/oX/oX44gT1mT0fUkkvh3mzwLB12iRjBUfKLBfaM9Si8RHQ.cache
|
177
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
|
178
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/pF/pFs51SvSCgO2duf0gMC9e_vI5x-ru06l9UCV1UcqWxg.cache
|
179
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/pc/pcEvDKreSVXFM-yyjRA7qhI1ez6tGKo2R4EK8HQPnSQ.cache
|
180
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/rN/rNmSSIA9hDQGOHevCwV7w6QOOmnRk2hutBe2ZYhwHT8.cache
|
181
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/rk/rknt4TU5zSvBWe4a1j3z5pnnbQutDG3lE_6RkeUwTt4.cache
|
182
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/uq/uqXdR_3CPhcgfLdo30Qd6wPRlwgFKh4APgjOldzM5Wg.cache
|
183
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/w2/w2kdjWh4olQ25caWvdJe_1Lr2lTu5-9qk0wwcMeoUUI.cache
|
184
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/xH/xH0iGd8xJ4xsC637Je3u2tkwDdMdPM7Tq1UZg2xMN5c.cache
|
185
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/yA/yAOU4n6GljMkYW-TMghoc2eTnVNGgLCikJP661gUCh0.cache
|
186
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/yR/yRQItO4cjRoKioEmsKjZu6BA-U9kPCq57L8w8P7sXLs.cache
|
187
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/yZ/yZC9AdVFXFgQAzVijoyjawV97GPbpePBBP92BPTfzBo.cache
|
188
|
-
- test/dummy/updated.xml
|
189
|
-
- test/fixtures/xml_to_form/xml_handlers.yml
|
190
|
-
- test/integration/navigation_test.rb
|
191
|
-
- test/models/xml_to_form/xml_handler_test.rb
|
192
|
-
- test/test_helper.rb
|
193
|
-
- test/xml_to_form_test.rb
|
194
87
|
homepage: https://github.com/nitanshu/xmlToForm
|
195
88
|
licenses:
|
196
89
|
- MIT
|
@@ -211,101 +104,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
104
|
version: '0'
|
212
105
|
requirements: []
|
213
106
|
rubyforge_project:
|
214
|
-
rubygems_version: 2.4.
|
107
|
+
rubygems_version: 2.4.6
|
215
108
|
signing_key:
|
216
109
|
specification_version: 4
|
217
110
|
summary: It converts a xml file to rails form and you can update it through that form.
|
218
|
-
test_files:
|
219
|
-
- test/fixtures/xml_to_form/xml_handlers.yml
|
220
|
-
- test/integration/navigation_test.rb
|
221
|
-
- test/test_helper.rb
|
222
|
-
- test/xml_to_form_test.rb
|
223
|
-
- test/controllers/xml_to_form/xml_handlers_controller_test.rb
|
224
|
-
- test/dummy/log/development.log
|
225
|
-
- test/dummy/log/test.log
|
226
|
-
- test/dummy/config.ru
|
227
|
-
- test/dummy/README.rdoc
|
228
|
-
- test/dummy/bin/bundle
|
229
|
-
- test/dummy/bin/rake
|
230
|
-
- test/dummy/bin/setup
|
231
|
-
- test/dummy/bin/rails
|
232
|
-
- test/dummy/public/404.html
|
233
|
-
- test/dummy/public/422.html
|
234
|
-
- test/dummy/public/favicon.ico
|
235
|
-
- test/dummy/public/500.html
|
236
|
-
- test/dummy/config/locales/en.yml
|
237
|
-
- test/dummy/config/secrets.yml
|
238
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
239
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
240
|
-
- test/dummy/config/initializers/mime_types.rb
|
241
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
242
|
-
- test/dummy/config/initializers/session_store.rb
|
243
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
244
|
-
- test/dummy/config/initializers/inflections.rb
|
245
|
-
- test/dummy/config/initializers/assets.rb
|
246
|
-
- test/dummy/config/database.yml
|
247
|
-
- test/dummy/config/environments/production.rb
|
248
|
-
- test/dummy/config/environments/development.rb
|
249
|
-
- test/dummy/config/environments/test.rb
|
250
|
-
- test/dummy/config/routes.rb
|
251
|
-
- test/dummy/config/environment.rb
|
252
|
-
- test/dummy/config/boot.rb
|
253
|
-
- test/dummy/config/application.rb
|
254
|
-
- test/dummy/Rakefile
|
255
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/50/50FdRPZQOhdMg8LFJFxdmNWwQVJfMk143HPVc_2FaFc.cache
|
256
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Y0/Y07t50u-ukM4fQPi4vYn4KfbG6toEgX4VvJFv-lTgOA.cache
|
257
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/S_/S_sevoAWKyppMRnqPeg-CBfLqeLnQ2GDhiFsqrgU6Ms.cache
|
258
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/MM/MMwBbXGivpqDHjaPV5FFp_dqdk4C99D4rbZtkms94I0.cache
|
259
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/8o/8o4pevUm3uVIR-hpSAYO3ns95jNDw6Eb4kLGP_BjAAQ.cache
|
260
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Xh/XhPb2DFWpdyJBOY_pn-RxffBbvytoRaDyJN-ipoW3qs.cache
|
261
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/YE/YEyNwb78OHuOb0HMLTuJM4vBhgVZtpbwOYiITPELmr8.cache
|
262
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Q1/Q1ouXD5OyVQK2YTBt2LzMw48LzAyEJuUhPf2ost9Cxo.cache
|
263
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/fH/fH0ADmvCXCZChumlbeeVkbiDLu9OrVOJgcNVwLlj0sU.cache
|
264
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/xH/xH0iGd8xJ4xsC637Je3u2tkwDdMdPM7Tq1UZg2xMN5c.cache
|
265
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/mt/mtXetL6U4rJoQvcROiP7XodKWzqvhb9ITvyGoOo0Sag.cache
|
266
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/oX/oX44gT1mT0fUkkvh3mzwLB12iRjBUfKLBfaM9Si8RHQ.cache
|
267
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/jT/jTdxw0bddolWW8KmM4BxLO8KxEGIOFn0iRODbdJPFSk.cache
|
268
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/eZ/eZsGM75lCQjeANTlZMUlfsTu7n7skbKAaFDT-tcDIs4.cache
|
269
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/-s/-s7l8i0L1hx7Q4m2w4PbiDPam4XkRh0qA9g4h21pMfE.cache
|
270
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/6f/6fg3jX96AM1zIFUGeCvUQ8ARxyDdl-BMR3ZF_Ml6VmE.cache
|
271
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/yZ/yZC9AdVFXFgQAzVijoyjawV97GPbpePBBP92BPTfzBo.cache
|
272
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/SD/SDziAeb8qUUyKXW_2L_voaKuKFkGwTcbETtAVHSFjDI.cache
|
273
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/UP/UPuvLNzlBeEC_H41MweL3yVLsK0v4pPqp_kOm4I0Bgg.cache
|
274
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/rk/rknt4TU5zSvBWe4a1j3z5pnnbQutDG3lE_6RkeUwTt4.cache
|
275
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
|
276
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/yA/yAOU4n6GljMkYW-TMghoc2eTnVNGgLCikJP661gUCh0.cache
|
277
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/yR/yRQItO4cjRoKioEmsKjZu6BA-U9kPCq57L8w8P7sXLs.cache
|
278
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/pF/pFs51SvSCgO2duf0gMC9e_vI5x-ru06l9UCV1UcqWxg.cache
|
279
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/NK/NKI-IS4wRkGAWHzF4TcvWJRzYk4bOoa3MFJ4SBz5tP0.cache
|
280
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/w2/w2kdjWh4olQ25caWvdJe_1Lr2lTu5-9qk0wwcMeoUUI.cache
|
281
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/-U/-Uny5QP43mWDSg0U2feoR5NpJQf-FuJDaU9ZAHvQmbA.cache
|
282
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/10/10qvVeoBLNusrUgVclnLRdC3FNsgH38Ept6uae-Fm80.cache
|
283
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/rN/rNmSSIA9hDQGOHevCwV7w6QOOmnRk2hutBe2ZYhwHT8.cache
|
284
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/l7/l7_Kv2jznYJaX_D4AZWIXi2Lypw3SQMXNmrOgLTREwg.cache
|
285
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/uq/uqXdR_3CPhcgfLdo30Qd6wPRlwgFKh4APgjOldzM5Wg.cache
|
286
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Qi/QiIWC1NMKS6hLfXq-Tit0E7su-_zz22ZZjvss212vR0.cache
|
287
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/do/doVwefT8rhkDSgqE_ZX3CQyGBGrUslv38C7zAxb8m1M.cache
|
288
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/5X/5XGHNnv3Fu1Ud5E94h7RAbORA65HNS82KhurTO48bXU.cache
|
289
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/1C/1CRNW_RTSdEZnfoBaPVBe9tdfzLdCmcmmqSn8eQUR0M.cache
|
290
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/G2/G2DdvXkMWwPziIsU5U1YnbNcBMEoC9NRRS065_exELY.cache
|
291
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
|
292
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
|
293
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/j1/j1PapCxYmMcx3xX8cSm6JMdAVa0Io4jb2HjE0q8tMyM.cache
|
294
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/mA/mASRABYJRXDH4q-hIEG0Nptj6NqZJBU6e_7eilO6wBQ.cache
|
295
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/_g/_gvUaWcxAvD2v4xJtPnlnmAE7JX_MtmYP7_8mZb27CE.cache
|
296
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/pc/pcEvDKreSVXFM-yyjRA7qhI1ez6tGKo2R4EK8HQPnSQ.cache
|
297
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
|
298
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/jx/jxZ1dDhJoMAWKazHIaFUXERtFffeGB9OVWVLuYbFfI8.cache
|
299
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/HJ/HJdXBDK9ZSNm-rlB2UF1y5BYUtp-j9UknPMlvDv7ftA.cache
|
300
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/5l/5lnf7KHinTj6vwjVXOlo7cvuKEtGZRcGreUI45llZJ4.cache
|
301
|
-
- test/dummy/app/helpers/application_helper.rb
|
302
|
-
- test/dummy/app/views/layouts/application.html.erb
|
303
|
-
- test/dummy/app/assets/javascripts/application.js
|
304
|
-
- test/dummy/app/assets/stylesheets/application.css
|
305
|
-
- test/dummy/app/controllers/application_controller.rb
|
306
|
-
- test/dummy/updated.xml
|
307
|
-
- test/dummy/db/schema.rb
|
308
|
-
- test/dummy/db/migrate/20160411194809_create_xml_to_form_xml_handlers.rb
|
309
|
-
- test/dummy/db/development.sqlite3
|
310
|
-
- test/dummy/db/test.sqlite3
|
311
|
-
- test/models/xml_to_form/xml_handler_test.rb
|
111
|
+
test_files: []
|
data/test/dummy/README.rdoc
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
== README
|
2
|
-
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
4
|
-
application up and running.
|
5
|
-
|
6
|
-
Things you may want to cover:
|
7
|
-
|
8
|
-
* Ruby version
|
9
|
-
|
10
|
-
* System dependencies
|
11
|
-
|
12
|
-
* Configuration
|
13
|
-
|
14
|
-
* Database creation
|
15
|
-
|
16
|
-
* Database initialization
|
17
|
-
|
18
|
-
* How to run the test suite
|
19
|
-
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
21
|
-
|
22
|
-
* Deployment instructions
|
23
|
-
|
24
|
-
* ...
|
25
|
-
|
26
|
-
|
27
|
-
Please feel free to use a different markup language if you do not plan to run
|
28
|
-
<tt>rake doc:app</tt>.
|
data/test/dummy/Rakefile
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
//= require_tree .
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
-
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
-
* file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
6
|
-
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<%= yield %>
|
12
|
-
|
13
|
-
</body>
|
14
|
-
</html>
|
data/test/dummy/bin/bundle
DELETED
data/test/dummy/bin/rails
DELETED
data/test/dummy/bin/rake
DELETED
data/test/dummy/bin/setup
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
# path to your application root.
|
5
|
-
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
6
|
-
|
7
|
-
Dir.chdir APP_ROOT do
|
8
|
-
# This script is a starting point to setup your application.
|
9
|
-
# Add necessary setup steps to this file:
|
10
|
-
|
11
|
-
puts "== Installing dependencies =="
|
12
|
-
system "gem install bundler --conservative"
|
13
|
-
system "bundle check || bundle install"
|
14
|
-
|
15
|
-
# puts "\n== Copying sample files =="
|
16
|
-
# unless File.exist?("config/database.yml")
|
17
|
-
# system "cp config/database.yml.sample config/database.yml"
|
18
|
-
# end
|
19
|
-
|
20
|
-
puts "\n== Preparing database =="
|
21
|
-
system "bin/rake db:setup"
|
22
|
-
|
23
|
-
puts "\n== Removing old logs and tempfiles =="
|
24
|
-
system "rm -f log/*"
|
25
|
-
system "rm -rf tmp/cache"
|
26
|
-
|
27
|
-
puts "\n== Restarting application server =="
|
28
|
-
system "touch tmp/restart.txt"
|
29
|
-
end
|
@@ -1,26 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
require 'rails/all'
|
4
|
-
|
5
|
-
Bundler.require(*Rails.groups)
|
6
|
-
require "xml_to_form"
|
7
|
-
|
8
|
-
module Dummy
|
9
|
-
class Application < Rails::Application
|
10
|
-
# Settings in config/environments/* take precedence over those specified here.
|
11
|
-
# Application configuration should go into files in config/initializers
|
12
|
-
# -- all .rb files in that directory are automatically loaded.
|
13
|
-
|
14
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
-
|
18
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
-
# config.i18n.default_locale = :de
|
21
|
-
|
22
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
23
|
-
config.active_record.raise_in_transactional_callbacks = true
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
data/test/dummy/config/boot.rb
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3
|
3
|
-
#
|
4
|
-
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
-
# gem 'sqlite3'
|
6
|
-
#
|
7
|
-
default: &default
|
8
|
-
adapter: sqlite3
|
9
|
-
pool: 5
|
10
|
-
timeout: 5000
|
11
|
-
|
12
|
-
development:
|
13
|
-
<<: *default
|
14
|
-
database: db/development.sqlite3
|
15
|
-
|
16
|
-
# Warning: The database defined as "test" will be erased and
|
17
|
-
# re-generated from your development database when you run "rake".
|
18
|
-
# Do not set this db to the same as development or production.
|
19
|
-
test:
|
20
|
-
<<: *default
|
21
|
-
database: db/test.sqlite3
|
22
|
-
|
23
|
-
production:
|
24
|
-
<<: *default
|
25
|
-
database: db/production.sqlite3
|