hechima 0.0.2

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.
Files changed (93) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +62 -0
  4. data/Rakefile +32 -0
  5. data/lib/hechima.rb +4 -0
  6. data/lib/hechima/file.rb +10 -0
  7. data/lib/hechima/hechima_controller.rb +5 -0
  8. data/lib/hechima/loader.rb +55 -0
  9. data/lib/hechima/version.rb +3 -0
  10. data/lib/tasks/hechima_tasks.rake +5 -0
  11. data/spec/dummy/app_4.1.6/Gemfile +41 -0
  12. data/spec/dummy/app_4.1.6/Gemfile.lock +150 -0
  13. data/spec/dummy/app_4.1.6/README.rdoc +28 -0
  14. data/spec/dummy/app_4.1.6/Rakefile +6 -0
  15. data/spec/dummy/app_4.1.6/app/assets/javascripts/application.js +16 -0
  16. data/spec/dummy/app_4.1.6/app/assets/stylesheets/application.css +15 -0
  17. data/spec/dummy/app_4.1.6/app/controllers/application_controller.rb +5 -0
  18. data/spec/dummy/app_4.1.6/app/controllers/top_controller.rb +4 -0
  19. data/spec/dummy/app_4.1.6/app/controllers/users_controller.rb +74 -0
  20. data/spec/dummy/app_4.1.6/app/helpers/application_helper.rb +2 -0
  21. data/spec/dummy/app_4.1.6/app/models/user.rb +2 -0
  22. data/spec/dummy/app_4.1.6/app/views/about/index.html.erb +1 -0
  23. data/spec/dummy/app_4.1.6/app/views/contact/company/index.html.erb +1 -0
  24. data/spec/dummy/app_4.1.6/app/views/contact/company/recruit.html.erb +1 -0
  25. data/spec/dummy/app_4.1.6/app/views/contact/index.html.erb +1 -0
  26. data/spec/dummy/app_4.1.6/app/views/layouts/application.html.erb +14 -0
  27. data/spec/dummy/app_4.1.6/app/views/memo.html.erb +1 -0
  28. data/spec/dummy/app_4.1.6/app/views/top/index.html.erb +2 -0
  29. data/spec/dummy/app_4.1.6/app/views/users/_form.html.erb +21 -0
  30. data/spec/dummy/app_4.1.6/app/views/users/edit.html.erb +6 -0
  31. data/spec/dummy/app_4.1.6/app/views/users/index.html.erb +25 -0
  32. data/spec/dummy/app_4.1.6/app/views/users/index.json.jbuilder +4 -0
  33. data/spec/dummy/app_4.1.6/app/views/users/new.html.erb +5 -0
  34. data/spec/dummy/app_4.1.6/app/views/users/show.html.erb +9 -0
  35. data/spec/dummy/app_4.1.6/app/views/users/show.json.jbuilder +1 -0
  36. data/spec/dummy/app_4.1.6/bin/bundle +3 -0
  37. data/spec/dummy/app_4.1.6/bin/rails +8 -0
  38. data/spec/dummy/app_4.1.6/bin/rake +8 -0
  39. data/spec/dummy/app_4.1.6/bin/spring +18 -0
  40. data/spec/dummy/app_4.1.6/config.ru +4 -0
  41. data/spec/dummy/app_4.1.6/config/application.rb +26 -0
  42. data/spec/dummy/app_4.1.6/config/boot.rb +4 -0
  43. data/spec/dummy/app_4.1.6/config/database.yml +25 -0
  44. data/spec/dummy/app_4.1.6/config/environment.rb +5 -0
  45. data/spec/dummy/app_4.1.6/config/environments/development.rb +37 -0
  46. data/spec/dummy/app_4.1.6/config/environments/production.rb +78 -0
  47. data/spec/dummy/app_4.1.6/config/environments/test.rb +39 -0
  48. data/spec/dummy/app_4.1.6/config/initializers/assets.rb +8 -0
  49. data/spec/dummy/app_4.1.6/config/initializers/backtrace_silencers.rb +7 -0
  50. data/spec/dummy/app_4.1.6/config/initializers/cookies_serializer.rb +3 -0
  51. data/spec/dummy/app_4.1.6/config/initializers/filter_parameter_logging.rb +4 -0
  52. data/spec/dummy/app_4.1.6/config/initializers/inflections.rb +16 -0
  53. data/spec/dummy/app_4.1.6/config/initializers/mime_types.rb +4 -0
  54. data/spec/dummy/app_4.1.6/config/initializers/session_store.rb +3 -0
  55. data/spec/dummy/app_4.1.6/config/initializers/wrap_parameters.rb +14 -0
  56. data/spec/dummy/app_4.1.6/config/locales/en.yml +23 -0
  57. data/spec/dummy/app_4.1.6/config/routes.rb +6 -0
  58. data/spec/dummy/app_4.1.6/config/secrets.yml +22 -0
  59. data/spec/dummy/app_4.1.6/db/development.sqlite3 +0 -0
  60. data/spec/dummy/app_4.1.6/db/migrate/20141027130956_create_users.rb +9 -0
  61. data/spec/dummy/app_4.1.6/db/schema.rb +22 -0
  62. data/spec/dummy/app_4.1.6/db/seeds.rb +7 -0
  63. data/spec/dummy/app_4.1.6/log/development.log +49 -0
  64. data/spec/dummy/app_4.1.6/public/404.html +67 -0
  65. data/spec/dummy/app_4.1.6/public/422.html +67 -0
  66. data/spec/dummy/app_4.1.6/public/500.html +66 -0
  67. data/spec/dummy/app_4.1.6/public/favicon.ico +0 -0
  68. data/spec/dummy/app_4.1.6/public/robots.txt +5 -0
  69. data/spec/dummy/app_4.1.6/spec/models/user_spec.rb +5 -0
  70. data/spec/dummy/app_4.1.6/spec/requests/users_spec.rb +10 -0
  71. data/spec/dummy/app_4.1.6/spec/routing/users_routing_spec.rb +35 -0
  72. data/spec/dummy/app_4.1.6/spec/views/top/index.html.erb_spec.rb +5 -0
  73. data/spec/dummy/app_4.1.6/spec/views/users/edit.html.erb_spec.rb +18 -0
  74. data/spec/dummy/app_4.1.6/spec/views/users/index.html.erb_spec.rb +19 -0
  75. data/spec/dummy/app_4.1.6/spec/views/users/new.html.erb_spec.rb +18 -0
  76. data/spec/dummy/app_4.1.6/spec/views/users/show.html.erb_spec.rb +14 -0
  77. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  78. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/2effd94b1c74c491799fb686687b3644 +0 -0
  79. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  80. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  81. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/52b7093727d476f444abb848c2219b99 +0 -0
  82. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/8a08ef484d958f709e309b02d2a1c851 +0 -0
  83. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/90432ba8419c47f36de60428c3fd2a42 +0 -0
  84. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/a094b9f01284b0f53a3c0e147ed58a88 +0 -0
  85. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/a277f0c96871f2aef26cf7e6a41f03bb +0 -0
  86. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/b28fe81781c8e274b2952b8a0eceff17 +0 -0
  87. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/bbf45f9b8242021207ce561081023865 +0 -0
  88. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  89. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  90. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  91. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/fce63545d7f15ef60a2cd4b33892c7b2 +0 -0
  92. data/spec/spec_helper.rb +102 -0
  93. metadata +273 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c599f519731a8db643cc57af656596da9af43d37
4
+ data.tar.gz: 889d70fc5cbccd54147af8ae8a3bbe7a927fd665
5
+ SHA512:
6
+ metadata.gz: 37116d61e64b140c90bbe20215d77a4118e9a8a127e65f05b0ebc0dbcf0c6a91ee7e5e452030f6a7e01e76dcbfd4b6e0e071a0e4076e64727f5384c2702c2961
7
+ data.tar.gz: 35d7208017ef91b1a4e1b2a77f216722a3191a368ae905dddd97aa0c511565f7634b5a0a743877e1143490595b2b4d68b5127c6af65ae4b9f5ee7b0c98e38248
@@ -0,0 +1,20 @@
1
+ Copyright 2014 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,62 @@
1
+ # Hechima
2
+
3
+ Enables to show View without Controller.
4
+
5
+
6
+ ## What is this?
7
+
8
+ Hechima can show View without Controller in Rails.
9
+ If you works with designer and developing Rails apps.
10
+ They don't want to touch "Black window". but you are busy! no time for execute "rails g controller" for them!!
11
+ or Simply want to show HTML that was made ​​in the mock-up in your apps.
12
+
13
+
14
+ ![hechima](https://s3-ap-northeast-1.amazonaws.com/jacoyutorius-public-files/gif/hechima.gif)
15
+
16
+ ## Usage
17
+
18
+ Add "Hechima.load self" to "routes.rb"
19
+
20
+ ```
21
+ Rails.application.routes.draw do
22
+ Hechima.load self
23
+ end
24
+ ```
25
+
26
+ make view file.
27
+
28
+ ```
29
+ touch app/views/about.html.erb
30
+ #=> localhost:3000/about
31
+ ```
32
+
33
+ It can show nested directory
34
+
35
+ ```
36
+ mkdir app/views/company
37
+ touch app/views/company/about.html.erb
38
+ #=> localhost:3000/company/about/
39
+
40
+ mkdir app/views/company/contact
41
+ touch app/views/company/contact/help.html.erb
42
+ #=> localhost:3000/company/contact/help/
43
+ ```
44
+
45
+ Only if filename is "index.html.erb", the url makes like this.
46
+
47
+ ```
48
+ mkdir app/views/contact
49
+ touch app/views/contact/index.html.erb
50
+ #=> localhost:3000/contact
51
+ ```
52
+
53
+
54
+
55
+ ## License
56
+ This project rocks and uses MIT-LICENSE.
57
+
58
+ ## Author
59
+
60
+ #### Yuto Ogi
61
+ * github [https://github.com/jacoyutorius](https://github.com/jacoyutorius)
62
+ * Blog [http://jacoyutorius.com/](http://jacoyutorius.com/)
@@ -0,0 +1,32 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'Hechima'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.rdoc')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+
18
+
19
+
20
+ Bundler::GemHelper.install_tasks
21
+
22
+ require 'rake/testtask'
23
+
24
+ Rake::TestTask.new(:test) do |t|
25
+ t.libs << 'lib'
26
+ t.libs << 'test'
27
+ t.pattern = 'test/**/*_test.rb'
28
+ t.verbose = false
29
+ end
30
+
31
+
32
+ task default: :test
@@ -0,0 +1,4 @@
1
+ require "hechima/loader"
2
+
3
+ module Hechima
4
+ end
@@ -0,0 +1,10 @@
1
+ class File
2
+ def self.remove_ext file
3
+ return file if File::ftype(file) == "directory"
4
+ path_array = file.split("/")
5
+ filename = path_array.last
6
+ path_array.delete_at -1
7
+ path_array << filename.slice(0, filename.index("."))
8
+ path_array.join("/")
9
+ end
10
+ end
@@ -0,0 +1,5 @@
1
+ class HechimaController < ApplicationController
2
+ def index
3
+ render "/#{params[:file]}"
4
+ end
5
+ end
@@ -0,0 +1,55 @@
1
+ require "hechima/file"
2
+
3
+ module Hechima
4
+ def self.load routing, views_dir="/app/views"
5
+
6
+ target_dir = File.join(Rails.root.to_s, views_dir)
7
+ anonymous_views = get_no_controller_views target_dir
8
+ exclude_views = get_has_controller_views
9
+
10
+
11
+ (anonymous_views - exclude_views).each do |path|
12
+
13
+ if path.split("/").count > 1
14
+ path_array = path.split("/")
15
+ path_array.delete(path_array.last) if %w(index).include? path_array.last
16
+ route = path_array.join "/"
17
+
18
+ routing.get "#{route}" => "hechima#index", :defaults => {:file => "#{path}"}
19
+ else
20
+
21
+ routing.get "#{path}" => "hechima#index", :defaults => {:file => "#{path}"}
22
+ end
23
+
24
+ end
25
+
26
+
27
+ require "hechima/hechima_controller"
28
+
29
+ end
30
+
31
+
32
+ private
33
+ def self.get_no_controller_views target_dir
34
+ list = []
35
+ Dir::glob(File.join(target_dir, "/**/")).each do |dir|
36
+ Dir::glob(File.join(dir, "*")).each do |file|
37
+ next unless File.extname(file) == ".erb"
38
+ next if File.basename(file)[0] == "_"
39
+
40
+ list << File.remove_ext(file).match(/#{target_dir}\/(.+)/)[1]
41
+ end
42
+ end
43
+
44
+ list
45
+ end
46
+
47
+ def self.get_has_controller_views
48
+ list = %w(layouts/application)
49
+ Rails.application.routes.routes.each do |route|
50
+ list << "#{route.defaults[:controller]}/#{route.defaults[:action]}"
51
+ end
52
+
53
+ list
54
+ end
55
+ end
@@ -0,0 +1,3 @@
1
+ module Hechima
2
+ VERSION = "0.0.2"
3
+ end
@@ -0,0 +1,5 @@
1
+ desc "Explaining what the task does"
2
+ task :hechima do
3
+ # Task goes here
4
+ puts "???"
5
+ end
@@ -0,0 +1,41 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4
+ gem 'rails', '4.1.6'
5
+ # Use sqlite3 as the database for Active Record
6
+ gem 'sqlite3'
7
+ # Use SCSS for stylesheets
8
+ gem 'sass-rails', '~> 4.0.3'
9
+ # Use Uglifier as compressor for JavaScript assets
10
+ gem 'uglifier', '>= 1.3.0'
11
+ # Use CoffeeScript for .js.coffee assets and views
12
+ gem 'coffee-rails', '~> 4.0.0'
13
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
14
+ # gem 'therubyracer', platforms: :ruby
15
+
16
+ # Use jquery as the JavaScript library
17
+ gem 'jquery-rails'
18
+ # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
19
+ gem 'turbolinks'
20
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
21
+ gem 'jbuilder', '~> 2.0'
22
+ # bundle exec rake doc:rails generates the API under doc/api.
23
+ gem 'sdoc', '~> 0.4.0', group: :doc
24
+
25
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
26
+ gem 'spring', group: :development
27
+
28
+ # Use ActiveModel has_secure_password
29
+ # gem 'bcrypt', '~> 3.1.7'
30
+
31
+ # Use unicorn as the app server
32
+ # gem 'unicorn'
33
+
34
+ # Use Capistrano for deployment
35
+ # gem 'capistrano-rails', group: :development
36
+
37
+ # Use debugger
38
+ # gem 'debugger', group: [:development, :test]
39
+
40
+ gemspec path: File.expand_path('../../../../', __FILE__)
41
+
@@ -0,0 +1,150 @@
1
+ PATH
2
+ remote: /Users/yuto-ogi/Work/fourier/hechima
3
+ specs:
4
+ hechima (0.0.1)
5
+ rails (~> 4.1.4)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actionmailer (4.1.6)
11
+ actionpack (= 4.1.6)
12
+ actionview (= 4.1.6)
13
+ mail (~> 2.5, >= 2.5.4)
14
+ actionpack (4.1.6)
15
+ actionview (= 4.1.6)
16
+ activesupport (= 4.1.6)
17
+ rack (~> 1.5.2)
18
+ rack-test (~> 0.6.2)
19
+ actionview (4.1.6)
20
+ activesupport (= 4.1.6)
21
+ builder (~> 3.1)
22
+ erubis (~> 2.7.0)
23
+ activemodel (4.1.6)
24
+ activesupport (= 4.1.6)
25
+ builder (~> 3.1)
26
+ activerecord (4.1.6)
27
+ activemodel (= 4.1.6)
28
+ activesupport (= 4.1.6)
29
+ arel (~> 5.0.0)
30
+ activesupport (4.1.6)
31
+ i18n (~> 0.6, >= 0.6.9)
32
+ json (~> 1.7, >= 1.7.7)
33
+ minitest (~> 5.1)
34
+ thread_safe (~> 0.1)
35
+ tzinfo (~> 1.1)
36
+ arel (5.0.1.20140414130214)
37
+ builder (3.2.2)
38
+ coffee-rails (4.0.1)
39
+ coffee-script (>= 2.2.0)
40
+ railties (>= 4.0.0, < 5.0)
41
+ coffee-script (2.3.0)
42
+ coffee-script-source
43
+ execjs
44
+ coffee-script-source (1.8.0)
45
+ diff-lcs (1.2.5)
46
+ erubis (2.7.0)
47
+ execjs (2.2.2)
48
+ hike (1.2.3)
49
+ i18n (0.6.11)
50
+ jbuilder (2.2.4)
51
+ activesupport (>= 3.0.0, < 5)
52
+ multi_json (~> 1.2)
53
+ jquery-rails (3.1.2)
54
+ railties (>= 3.0, < 5.0)
55
+ thor (>= 0.14, < 2.0)
56
+ json (1.8.1)
57
+ mail (2.6.1)
58
+ mime-types (>= 1.16, < 3)
59
+ mime-types (2.4.3)
60
+ minitest (5.4.2)
61
+ multi_json (1.10.1)
62
+ rack (1.5.2)
63
+ rack-test (0.6.2)
64
+ rack (>= 1.0)
65
+ rails (4.1.6)
66
+ actionmailer (= 4.1.6)
67
+ actionpack (= 4.1.6)
68
+ actionview (= 4.1.6)
69
+ activemodel (= 4.1.6)
70
+ activerecord (= 4.1.6)
71
+ activesupport (= 4.1.6)
72
+ bundler (>= 1.3.0, < 2.0)
73
+ railties (= 4.1.6)
74
+ sprockets-rails (~> 2.0)
75
+ railties (4.1.6)
76
+ actionpack (= 4.1.6)
77
+ activesupport (= 4.1.6)
78
+ rake (>= 0.8.7)
79
+ thor (>= 0.18.1, < 2.0)
80
+ rake (10.3.2)
81
+ rdoc (4.1.2)
82
+ json (~> 1.4)
83
+ rspec (3.1.0)
84
+ rspec-core (~> 3.1.0)
85
+ rspec-expectations (~> 3.1.0)
86
+ rspec-mocks (~> 3.1.0)
87
+ rspec-core (3.1.7)
88
+ rspec-support (~> 3.1.0)
89
+ rspec-expectations (3.1.2)
90
+ diff-lcs (>= 1.2.0, < 2.0)
91
+ rspec-support (~> 3.1.0)
92
+ rspec-mocks (3.1.3)
93
+ rspec-support (~> 3.1.0)
94
+ rspec-rails (3.1.0)
95
+ actionpack (>= 3.0)
96
+ activesupport (>= 3.0)
97
+ railties (>= 3.0)
98
+ rspec-core (~> 3.1.0)
99
+ rspec-expectations (~> 3.1.0)
100
+ rspec-mocks (~> 3.1.0)
101
+ rspec-support (~> 3.1.0)
102
+ rspec-support (3.1.2)
103
+ sass (3.2.19)
104
+ sass-rails (4.0.3)
105
+ railties (>= 4.0.0, < 5.0)
106
+ sass (~> 3.2.0)
107
+ sprockets (~> 2.8, <= 2.11.0)
108
+ sprockets-rails (~> 2.0)
109
+ sdoc (0.4.1)
110
+ json (~> 1.7, >= 1.7.7)
111
+ rdoc (~> 4.0)
112
+ spring (1.1.3)
113
+ sprockets (2.11.0)
114
+ hike (~> 1.2)
115
+ multi_json (~> 1.0)
116
+ rack (~> 1.0)
117
+ tilt (~> 1.1, != 1.3.0)
118
+ sprockets-rails (2.2.0)
119
+ actionpack (>= 3.0)
120
+ activesupport (>= 3.0)
121
+ sprockets (>= 2.8, < 4.0)
122
+ sqlite3 (1.3.9)
123
+ thor (0.19.1)
124
+ thread_safe (0.3.4)
125
+ tilt (1.4.1)
126
+ turbolinks (2.4.0)
127
+ coffee-rails
128
+ tzinfo (1.2.2)
129
+ thread_safe (~> 0.1)
130
+ uglifier (2.5.3)
131
+ execjs (>= 0.3.0)
132
+ json (>= 1.8.0)
133
+
134
+ PLATFORMS
135
+ ruby
136
+
137
+ DEPENDENCIES
138
+ coffee-rails (~> 4.0.0)
139
+ hechima!
140
+ jbuilder (~> 2.0)
141
+ jquery-rails
142
+ rails (= 4.1.6)
143
+ rspec
144
+ rspec-rails
145
+ sass-rails (~> 4.0.3)
146
+ sdoc (~> 0.4.0)
147
+ spring
148
+ sqlite3
149
+ turbolinks
150
+ uglifier (>= 1.3.0)
@@ -0,0 +1,28 @@
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>.
@@ -0,0 +1,6 @@
1
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
2
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
+
4
+ require File.expand_path('../config/application', __FILE__)
5
+
6
+ Rails.application.load_tasks