rorchado 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74ca265d8406c125d26a78f7b9283db74adbc06f
4
- data.tar.gz: b75eaf4af8592097f813266744bb1ec7c07af760
3
+ metadata.gz: 353d20350bdbaad3e52f27266d73c33fb13b3c9d
4
+ data.tar.gz: 2d22e85bbd2cd595864e07ef33e8e7a3b0944341
5
5
  SHA512:
6
- metadata.gz: 8ce4f9898e3d2cace8b02dac2475b08ef5c44efae19ffba6bd038f7f3349bfc234003a657dc90fc8aef6eecdfcd008629bd5b71643d9bc897116988b38a3394f
7
- data.tar.gz: 6fac5c0c0462b318958adbe6f6e8ed75780b5405817177f60182cc0ca1129db5f8d7ceca2511e852f246943211f004be887eab234e49d059ddd4a64ce4065455
6
+ metadata.gz: 00a7b2a5159489d1bee406f0778d43793df5fde26407990a084e95e855958a92c6783e9a86873063382efb5073a60613682d0e231caeb88971db2d6507fb7dc2
7
+ data.tar.gz: 74d61b84e0e5ffa5a57fe334d3fddc74eab3c560807378a01fb3c0750d0fecece5ed50d94d0c51cbc4649a9ceb0c794b0ca56616e905dfb73f73ce2cf45cdfae
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rorchado
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Marountas
@@ -49,11 +49,8 @@ files:
49
49
  - lib/rails/generators/rorchado/USAGE
50
50
  - lib/rails/generators/rorchado/rorchado_generator.rb
51
51
  - lib/rails/generators/rorchado/templates/controllers/contact_controller.rb
52
- - lib/rails/generators/rorchado/templates/controllers/contact_controller.rb~
53
52
  - lib/rails/generators/rorchado/templates/controllers/cv_controller.rb
54
- - lib/rails/generators/rorchado/templates/controllers/cv_controller.rb~
55
53
  - lib/rails/generators/rorchado/templates/controllers/cvterm_controller.rb
56
- - lib/rails/generators/rorchado/templates/controllers/cvterm_controller.rb~
57
54
  - lib/rails/generators/rorchado/templates/controllers/stock_controller.rb
58
55
  - lib/rails/generators/rorchado/templates/db_schemas/chado_schema.xml
59
56
  - lib/rails/generators/rorchado/templates/migrations/generic_migration_create.erb
@@ -1,83 +0,0 @@
1
- class ContactsController < ApplicationController
2
- # GET /contacts
3
- # GET /contacts.json
4
- def index
5
- @contacts = Contact.all
6
-
7
- respond_to do |format|
8
- format.html # index.html.erb
9
- format.json { render :json => @contacts }
10
- end
11
- end
12
-
13
- # GET /contacts/1
14
- # GET /contacts/1.json
15
- def show
16
- @contact = Contact.find(params[:id])
17
-
18
- respond_to do |format|
19
- format.html # show.html.erb
20
- format.json { render :json => @contact }
21
- end
22
- end
23
-
24
- # GET /contacts/new
25
- # GET /contacts/new.json
26
- def new
27
- @contact = Contact.new
28
-
29
- respond_to do |format|
30
- format.html # new.html.erb
31
- format.json { render :json => @contact }
32
- end
33
- end
34
-
35
- # GET /contacts/1/edit
36
- def edit
37
- @contact = Contact.find(params[:id])
38
- end
39
-
40
- # POST /contacts
41
- # POST /contacts.json
42
- def create
43
- @contact = Contact.new(params[:contact])
44
-
45
- respond_to do |format|
46
- if @contact.save
47
- format.html { redirect_to @contact, :notice => 'Contact was successfully created.' }
48
- format.json { render :json => @contact, :status => :created, :location => @contact }
49
- else
50
- format.html { render :action => "new" }
51
- format.json { render :json => @contact.errors, :status => :unprocessable_entity }
52
- end
53
- end
54
- end
55
-
56
- # PUT /contacts/1
57
- # PUT /contacts/1.json
58
- def update
59
- @contact = Contact.find(params[:id])
60
-
61
- respond_to do |format|
62
- if @contact.update_attributes(params[:contact])
63
- format.html { redirect_to @contact, :notice => 'Contact was successfully updated.' }
64
- format.json { head :no_content }
65
- else
66
- format.html { render :action => "edit" }
67
- format.json { render :json => @contact.errors, :status => :unprocessable_entity }
68
- end
69
- end
70
- end
71
-
72
- # DELETE /contacts/1
73
- # DELETE /contacts/1.json
74
- def destroy
75
- @contact = Contact.find(params[:id])
76
- @contact.destroy
77
-
78
- respond_to do |format|
79
- format.html { redirect_to contacts_url }
80
- format.json { head :no_content }
81
- end
82
- end
83
- end
@@ -1,83 +0,0 @@
1
- class CvsController < ApplicationController
2
- # GET /cvs
3
- # GET /cvs.json
4
- def index
5
- @cvs = Cv.all
6
-
7
- respond_to do |format|
8
- format.html # index.html.erb
9
- format.json { render :json => @cvs }
10
- end
11
- end
12
-
13
- # GET /cvs/1
14
- # GET /cvs/1.json
15
- def show
16
- @cv = Cv.find(params[:id])
17
-
18
- respond_to do |format|
19
- format.html # show.html.erb
20
- format.json { render :json => @cv }
21
- end
22
- end
23
-
24
- # GET /cvs/new
25
- # GET /cvs/new.json
26
- def new
27
- @cv = Cv.new
28
-
29
- respond_to do |format|
30
- format.html # new.html.erb
31
- format.json { render :json => @cv }
32
- end
33
- end
34
-
35
- # GET /cvs/1/edit
36
- def edit
37
- @cv = Cv.find(params[:id])
38
- end
39
-
40
- # POST /cvs
41
- # POST /cvs.json
42
- def create
43
- @cv = Cv.new(params[:cv])
44
-
45
- respond_to do |format|
46
- if @cv.save
47
- format.html { redirect_to @cv, :notice => 'Cv was successfully created.' }
48
- format.json { render :json => @cv, :status => :created, :location => @cv }
49
- else
50
- format.html { render :action => "new" }
51
- format.json { render :json => @cv.errors, :status => :unprocessable_entity }
52
- end
53
- end
54
- end
55
-
56
- # PUT /cvs/1
57
- # PUT /cvs/1.json
58
- def update
59
- @cv = Cv.find(params[:id])
60
-
61
- respond_to do |format|
62
- if @cv.update_attributes(params[:cv])
63
- format.html { redirect_to @cv, :notice => 'Cv was successfully updated.' }
64
- format.json { head :no_content }
65
- else
66
- format.html { render :action => "edit" }
67
- format.json { render :json => @cv.errors, :status => :unprocessable_entity }
68
- end
69
- end
70
- end
71
-
72
- # DELETE /cvs/1
73
- # DELETE /cvs/1.json
74
- def destroy
75
- @cv = Cv.find(params[:id])
76
- @cv.destroy
77
-
78
- respond_to do |format|
79
- format.html { redirect_to cvs_url }
80
- format.json { head :no_content }
81
- end
82
- end
83
- end
@@ -1,83 +0,0 @@
1
- class CvtermsController < ApplicationController
2
- # GET /cvterms
3
- # GET /cvterms.json
4
- def index
5
- @cvterms = Cvterm.all
6
-
7
- respond_to do |format|
8
- format.html # index.html.erb
9
- format.json { render :json => @cvterms }
10
- end
11
- end
12
-
13
- # GET /cvterms/1
14
- # GET /cvterms/1.json
15
- def show
16
- @cvterm = Cvterm.find(params[:id])
17
-
18
- respond_to do |format|
19
- format.html # show.html.erb
20
- format.json { render :json => @cvterm }
21
- end
22
- end
23
-
24
- # GET /cvterms/new
25
- # GET /cvterms/new.json
26
- def new
27
- @cvterm = Cvterm.new
28
-
29
- respond_to do |format|
30
- format.html # new.html.erb
31
- format.json { render :json => @cvterm }
32
- end
33
- end
34
-
35
- # GET /cvterms/1/edit
36
- def edit
37
- @cvterm = Cvterm.find(params[:id])
38
- end
39
-
40
- # POST /cvterms
41
- # POST /cvterms.json
42
- def create
43
- @cvterm = Cvterm.new(params[:cvterm])
44
-
45
- respond_to do |format|
46
- if @cvterm.save
47
- format.html { redirect_to @cvterm, :notice => 'Cvterm was successfully created.' }
48
- format.json { render :json => @cvterm, :status => :created, :location => @cvterm }
49
- else
50
- format.html { render :action => "new" }
51
- format.json { render :json => @cvterm.errors, :status => :unprocessable_entity }
52
- end
53
- end
54
- end
55
-
56
- # PUT /cvterms/1
57
- # PUT /cvterms/1.json
58
- def update
59
- @cvterm = Cvterm.find(params[:id])
60
-
61
- respond_to do |format|
62
- if @cvterm.update_attributes(params[:cvterm])
63
- format.html { redirect_to @cvterm, :notice => 'Cvterm was successfully updated.' }
64
- format.json { head :no_content }
65
- else
66
- format.html { render :action => "edit" }
67
- format.json { render :json => @cvterm.errors, :status => :unprocessable_entity }
68
- end
69
- end
70
- end
71
-
72
- # DELETE /cvterms/1
73
- # DELETE /cvterms/1.json
74
- def destroy
75
- @cvterm = Cvterm.find(params[:id])
76
- @cvterm.destroy
77
-
78
- respond_to do |format|
79
- format.html { redirect_to cvterms_url }
80
- format.json { head :no_content }
81
- end
82
- end
83
- end