echo_base 0.1.3 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +2 -2
- data/.rspec +1 -0
- data/Gemfile +15 -0
- data/{LICENSE → LICENSE.txt} +1 -1
- data/README.rdoc +32 -32
- data/Rakefile +51 -40
- data/bin/echo_base +7 -0
- data/echo_base.gemspec +150 -134
- data/lib/echo_base.rb +122 -0
- data/lib/{generators/echo_base/templates → templates}/Capfile +0 -0
- data/lib/{generators/echo_base/templates → templates}/Gemfile +8 -6
- data/lib/{generators/echo_base/templates → templates}/app/controllers/application_controller.rb +0 -0
- data/lib/{generators/echo_base/templates → templates}/app/controllers/sessions_controller.rb +0 -0
- data/lib/{generators/echo_base/templates → templates}/app/controllers/users_controller.rb +0 -0
- data/lib/{generators/echo_base/templates → templates}/app/models/authorization.rb +0 -0
- data/lib/{generators/echo_base/templates → templates}/app/models/user.rb +0 -0
- data/lib/{generators/echo_base/templates/application.html.erb → templates/app/views/layouts/application.html.erb.tt} +4 -3
- data/lib/{generators/echo_base/templates → templates}/app/views/shared/_js.html.erb +2 -3
- data/lib/{generators/echo_base/templates → templates}/app/views/users/_form.html.erb +0 -0
- data/lib/{generators/echo_base/templates → templates}/app/views/users/_sidebar.html.erb +0 -0
- data/lib/{generators/echo_base/templates → templates}/app/views/users/edit.html.erb +0 -0
- data/lib/{generators/echo_base/templates → templates}/app/views/users/index.html.erb +0 -0
- data/lib/{generators/echo_base/templates → templates}/app/views/users/new.html.erb +0 -0
- data/lib/{generators/echo_base/templates → templates}/app/views/users/show.html.erb +0 -0
- data/lib/{generators/echo_base/templates → templates}/config/deploy.rb +0 -0
- data/lib/{generators/echo_base/templates → templates}/config/initializers/hoptoad.rb +0 -1
- data/lib/{generators/echo_base/templates → templates}/config/initializers/omniauth.rb +0 -0
- data/lib/{generators/echo_base/templates/public/favicon.ico → templates/config/newrelic.yml.example} +0 -0
- data/lib/{generators/echo_base/templates → templates}/config/omniauth.yml +0 -0
- data/lib/templates/config/omniauth.yml.example +62 -0
- data/lib/{generators/echo_base/templates → templates}/db/migrate/20101008210657_create_authorizations.rb +0 -0
- data/lib/{generators/echo_base/templates → templates}/db/migrate/20101009192412_create_users.rb +0 -0
- data/lib/templates/gitignore +17 -0
- data/lib/{generators/echo_base/templates → templates}/public/404.html +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/422.html +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/500.html +0 -0
- data/lib/{generators/echo_base/templates/public/stylesheets/.gitkeep → templates/public/favicon.ico} +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/arrow.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/avatar.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/boxbar-background.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/breadcrumb.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/button-background-active.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/button-background.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/about +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/anchor-hover.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/anchor.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/cross-hover.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/cross.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/download-hover.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/download.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/edit-hover.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/edit.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/export-hover.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/export.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/show-hover.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/24/show.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/add.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/application_edit.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/calendar-hover.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/calendar.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/cross.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/delete.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/download.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/edit.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/key.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/pdf.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/search.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/see-less.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/see-more.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/send-mail.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/show.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/source +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/tick.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/icons/upload.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/logo.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/menubar-background.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/search-button.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/session/account.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/session/config.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/session/home.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/session/logout.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/images/web-app-theme/tipsy.gif +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/javascripts/application.js +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/javascripts/dd_belatedpng.js +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/javascripts/jquery-1.4.2.min.js +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/javascripts/modernizr-1.5.min.js +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/javascripts/rails.js +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/robots.txt +0 -0
- data/lib/templates/public/stylesheets/.gitkeep +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/stylesheets/handheld.css +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/stylesheets/style.css +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/stylesheets/web-app-theme/base.css +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/stylesheets/web-app-theme/override.css +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/stylesheets/web-app-theme/themes/default/images/arrow.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/stylesheets/web-app-theme/themes/default/images/boxbar-background.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/stylesheets/web-app-theme/themes/default/images/button-background-active.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/stylesheets/web-app-theme/themes/default/images/button-background.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/stylesheets/web-app-theme/themes/default/images/menubar-background.png +0 -0
- data/lib/{generators/echo_base/templates → templates}/public/stylesheets/web-app-theme/themes/default/style.css +0 -0
- data/spec/echo_base_spec.rb +77 -0
- data/spec/spec_helper.rb +12 -0
- metadata +314 -138
- data/.gitignore +0 -21
- data/VERSION +0 -1
- data/lib/generators/echo_base/USAGE +0 -5
- data/lib/generators/echo_base/echo_base_generator.rb +0 -51
- data/lib/generators/echo_base/templates/.infinity_test +0 -25
- data/lib/generators/echo_base/templates/.rspec +0 -1
- data/lib/generators/echo_base/templates/.rvmrc +0 -1
- data/lib/generators/echo_base/templates/app/helpers/application_helper.rb +0 -2
- data/lib/generators/echo_base/templates/app/helpers/sessions_helper.rb +0 -2
- data/lib/generators/echo_base/templates/app/helpers/users_helper.rb +0 -2
- data/lib/generators/echo_base/templates/autotest/discover.rb +0 -2
- data/lib/generators/echo_base/templates/config/cucumber.yml +0 -8
- data/lib/generators/echo_base/templates/config/newrelic.yml +0 -1
- data/lib/generators/echo_base/templates/features/manage_authentications.feature +0 -45
- data/lib/generators/echo_base/templates/features/manage_users.feature +0 -45
- data/lib/generators/echo_base/templates/features/step_definitions/authentication_steps.rb +0 -14
- data/lib/generators/echo_base/templates/features/step_definitions/users_steps.rb +0 -14
- data/lib/generators/echo_base/templates/features/step_definitions/web_steps.rb +0 -219
- data/lib/generators/echo_base/templates/features/support/env.rb +0 -57
- data/lib/generators/echo_base/templates/features/support/paths.rb +0 -39
- data/lib/generators/echo_base/templates/spec/controllers/sessions_controller_spec.rb +0 -5
- data/lib/generators/echo_base/templates/spec/controllers/users_controller_spec.rb +0 -125
- data/lib/generators/echo_base/templates/spec/helpers/users_helper_spec.rb +0 -15
- data/lib/generators/echo_base/templates/spec/models/authorization_spec.rb +0 -5
- data/lib/generators/echo_base/templates/spec/models/user_spec.rb +0 -5
- data/lib/generators/echo_base/templates/spec/routing/users_routing_spec.rb +0 -35
- data/lib/generators/echo_base/templates/spec/spec_helper.rb +0 -16
- data/lib/generators/echo_base/templates/spec/views/users/edit.html.erb_spec.rb +0 -27
- data/lib/generators/echo_base/templates/spec/views/users/index.html.erb_spec.rb +0 -36
- data/lib/generators/echo_base/templates/spec/views/users/new.html.erb_spec.rb +0 -27
- data/lib/generators/echo_base/templates/spec/views/users/show.html.erb_spec.rb +0 -27
- data/test/helper.rb +0 -10
- data/test/test_echo_base.rb +0 -7
data/.document
CHANGED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/Gemfile
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
gem 'rails', "~> 3.0.5"
|
4
|
+
gem 'cucumber-rails', "~> 0.3.2"
|
5
|
+
gem 'rspec-rails', "~> 2.3.1"
|
6
|
+
|
7
|
+
group :development do
|
8
|
+
gem "test-unit"
|
9
|
+
gem "rspec", "~> 2.3.0"
|
10
|
+
gem "yard", "~> 0.6.0"
|
11
|
+
gem "bundler", "~> 1.0.0"
|
12
|
+
gem "jeweler", "~> 1.5.2"
|
13
|
+
gem "rcov", ">= 0"
|
14
|
+
gem "reek", "~> 1.2.8"
|
15
|
+
end
|
data/{LICENSE → LICENSE.txt}
RENAMED
data/README.rdoc
CHANGED
@@ -1,31 +1,27 @@
|
|
1
1
|
= Echo Base
|
2
|
-
Is a starting point for fast prototyping of Rails 3 apps (demo here: http://echo-base.heroku.com)
|
2
|
+
Is a starting point for fast prototyping of Rails 3 apps (demo here: http://echo-base.heroku.com/demo)
|
3
3
|
|
4
|
-
|
4
|
+
You can install echo_base with:
|
5
5
|
|
6
|
-
|
7
|
-
gem 'echo_base'
|
8
|
-
end
|
9
|
-
|
10
|
-
Bundle and then run the generator:
|
11
|
-
|
12
|
-
rails g echo_base "my awesome app name"
|
13
|
-
|
14
|
-
The generator will add the gems listed below, along with the default layout/theme from the web-app-theme gem, and a very basic setup for omniauth. After running the generator, add your api keys to config/omniauth.yml and then:
|
6
|
+
gem install echo_base
|
15
7
|
|
16
|
-
|
17
|
-
rake db:migrate
|
18
|
-
unicorn_rails
|
8
|
+
Then run the generator:
|
19
9
|
|
20
|
-
|
10
|
+
echo_base my_app_name
|
11
|
+
|
12
|
+
Additional options coming soon
|
13
|
+
|
14
|
+
The generator will:
|
21
15
|
|
22
|
-
|
16
|
+
* create a new Rails 3 app
|
17
|
+
* add the gems listed below (and bundle)
|
18
|
+
* install the default layout/theme from the web-app-theme gem
|
19
|
+
* install Rspec and Cucumber, configured with Factory Girl and Webmock
|
23
20
|
|
24
21
|
==Gems included:
|
25
22
|
|
26
23
|
* Omniauth (http://github.com/intridea/omniauth)
|
27
24
|
* Rspec2 (http://github.com/dchelimsky/rspec)
|
28
|
-
* Infinity Test (http://github.com/tomas-stefano/infinity_test)
|
29
25
|
* Cucumber (http://github.com/aslakhellesoy/cucumber)
|
30
26
|
* Capybara (http://github.com/jnicklas/capybara)
|
31
27
|
* Factory Girl (http://github.com/thoughtbot/factory_girl)
|
@@ -40,23 +36,27 @@ Check out the docs on web-app-theme at http://github.com/pilu/web-app-theme for
|
|
40
36
|
|
41
37
|
==Coming soon
|
42
38
|
|
43
|
-
*
|
44
|
-
* Better
|
45
|
-
*
|
46
|
-
*
|
47
|
-
*
|
48
|
-
*
|
39
|
+
* HTML5/CSS3 layouts
|
40
|
+
* Better web theme
|
41
|
+
* Heroku integration
|
42
|
+
* Heroku add-on support
|
43
|
+
* Devise setup
|
44
|
+
* Full i18n support
|
45
|
+
* Database options (postgres|redis|couch)
|
46
|
+
* Test options (capybara|steak|minitest)
|
49
47
|
|
50
|
-
==
|
48
|
+
== Contributing to echo_base
|
51
49
|
|
52
|
-
*
|
53
|
-
*
|
54
|
-
*
|
55
|
-
|
56
|
-
* Commit
|
57
|
-
|
58
|
-
*
|
50
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
51
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
52
|
+
* Fork the project
|
53
|
+
* Start a feature/bugfix branch
|
54
|
+
* Commit and push until you are happy with your contribution
|
55
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
56
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
59
57
|
|
60
58
|
== Copyright
|
61
59
|
|
62
|
-
Copyright (c)
|
60
|
+
Copyright (c) 2011 Seenmyfate. See LICENSE.txt for
|
61
|
+
further details.
|
62
|
+
|
data/Rakefile
CHANGED
@@ -1,51 +1,62 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require '
|
3
|
-
|
2
|
+
require 'bundler'
|
4
3
|
begin
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
gem.email = "seenmyfate@gmail.com"
|
11
|
-
gem.homepage = "http://github.com/seenmyfate/echo_base"
|
12
|
-
gem.authors = ["seenmyfate"]
|
13
|
-
end
|
14
|
-
Jeweler::GemcutterTasks.new
|
15
|
-
rescue LoadError
|
16
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
17
9
|
end
|
18
|
-
|
10
|
+
require 'rake'
|
19
11
|
require 'rake/testtask'
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
12
|
+
|
13
|
+
Rake::TestTask.new(:test) do |t|
|
14
|
+
t.libs << 'lib'
|
15
|
+
t.libs << 'test'
|
16
|
+
t.pattern = 'test/*_test.rb'
|
17
|
+
t.verbose = true
|
24
18
|
end
|
19
|
+
require 'jeweler'
|
20
|
+
Jeweler::Tasks.new do |gem|
|
21
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
22
|
+
gem.name = "echo_base"
|
23
|
+
gem.version = "0.2.1"
|
24
|
+
gem.homepage = "http://github.com/seenmyfate/echo_base"
|
25
|
+
gem.license = "MIT"
|
26
|
+
gem.summary = %Q{A starting point for fast prototyping of Rails 3 apps}
|
27
|
+
gem.description = %Q{Generates everything you need to get moving fas}
|
28
|
+
gem.email = "seenmyfate@gmail.com"
|
29
|
+
gem.authors = ["seenmyfate"]
|
30
|
+
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
31
|
+
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
32
|
+
gem.bindir = "bin"
|
33
|
+
gem.executables = %w(echo_base)
|
34
|
+
gem.add_dependency("thor", "~> 0.14")
|
35
|
+
gem.add_dependency("rails", "~> 3.0.5")
|
36
|
+
gem.add_dependency("rake", "~> 0.8")
|
37
|
+
# gem.add_development_dependency 'rspec', '> 1.2.3'
|
38
|
+
end
|
39
|
+
Jeweler::RubygemsDotOrgTasks.new
|
25
40
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
test.pattern = 'test/**/test_*.rb'
|
31
|
-
test.verbose = true
|
32
|
-
end
|
33
|
-
rescue LoadError
|
34
|
-
task :rcov do
|
35
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
36
|
-
end
|
41
|
+
require 'rspec/core'
|
42
|
+
require 'rspec/core/rake_task'
|
43
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
44
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
37
45
|
end
|
38
46
|
|
39
|
-
|
47
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
48
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
49
|
+
spec.rcov = true
|
50
|
+
end
|
40
51
|
|
41
|
-
task
|
52
|
+
require 'reek/rake/task'
|
53
|
+
Reek::Rake::Task.new do |t|
|
54
|
+
t.fail_on_error = true
|
55
|
+
t.verbose = false
|
56
|
+
t.source_files = 'lib/**/*.rb'
|
57
|
+
end
|
42
58
|
|
43
|
-
|
44
|
-
Rake::RDocTask.new do |rdoc|
|
45
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
59
|
+
task :default => :spec
|
46
60
|
|
47
|
-
|
48
|
-
|
49
|
-
rdoc.rdoc_files.include('README*')
|
50
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
51
|
-
end
|
61
|
+
require 'yard'
|
62
|
+
YARD::Rake::YardocTask.new
|
data/bin/echo_base
ADDED
data/echo_base.gemspec
CHANGED
@@ -1,157 +1,134 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{echo_base}
|
8
|
-
s.version = "0.1
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["seenmyfate"]
|
12
|
-
s.date = %q{
|
13
|
-
s.
|
12
|
+
s.date = %q{2011-03-26}
|
13
|
+
s.default_executable = %q{echo_base}
|
14
|
+
s.description = %q{Generates everything you need to get moving fas}
|
14
15
|
s.email = %q{seenmyfate@gmail.com}
|
16
|
+
s.executables = ["echo_base"]
|
15
17
|
s.extra_rdoc_files = [
|
16
|
-
"LICENSE",
|
17
|
-
|
18
|
+
"LICENSE.txt",
|
19
|
+
"README.rdoc"
|
18
20
|
]
|
19
21
|
s.files = [
|
20
22
|
".document",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
"lib/generators/echo_base/templates/public/robots.txt",
|
122
|
-
"lib/generators/echo_base/templates/public/stylesheets/.gitkeep",
|
123
|
-
"lib/generators/echo_base/templates/public/stylesheets/handheld.css",
|
124
|
-
"lib/generators/echo_base/templates/public/stylesheets/style.css",
|
125
|
-
"lib/generators/echo_base/templates/public/stylesheets/web-app-theme/base.css",
|
126
|
-
"lib/generators/echo_base/templates/public/stylesheets/web-app-theme/override.css",
|
127
|
-
"lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/images/arrow.png",
|
128
|
-
"lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/images/boxbar-background.png",
|
129
|
-
"lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/images/button-background-active.png",
|
130
|
-
"lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/images/button-background.png",
|
131
|
-
"lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/images/menubar-background.png",
|
132
|
-
"lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/style.css",
|
133
|
-
"lib/generators/echo_base/templates/spec/controllers/sessions_controller_spec.rb",
|
134
|
-
"lib/generators/echo_base/templates/spec/controllers/users_controller_spec.rb",
|
135
|
-
"lib/generators/echo_base/templates/spec/helpers/users_helper_spec.rb",
|
136
|
-
"lib/generators/echo_base/templates/spec/models/authorization_spec.rb",
|
137
|
-
"lib/generators/echo_base/templates/spec/models/user_spec.rb",
|
138
|
-
"lib/generators/echo_base/templates/spec/routing/users_routing_spec.rb",
|
139
|
-
"lib/generators/echo_base/templates/spec/spec_helper.rb",
|
140
|
-
"lib/generators/echo_base/templates/spec/views/users/edit.html.erb_spec.rb",
|
141
|
-
"lib/generators/echo_base/templates/spec/views/users/index.html.erb_spec.rb",
|
142
|
-
"lib/generators/echo_base/templates/spec/views/users/new.html.erb_spec.rb",
|
143
|
-
"lib/generators/echo_base/templates/spec/views/users/show.html.erb_spec.rb",
|
144
|
-
"test/helper.rb",
|
145
|
-
"test/test_echo_base.rb"
|
23
|
+
".rspec",
|
24
|
+
"Gemfile",
|
25
|
+
"LICENSE.txt",
|
26
|
+
"README.rdoc",
|
27
|
+
"Rakefile",
|
28
|
+
"bin/echo_base",
|
29
|
+
"echo_base.gemspec",
|
30
|
+
"lib/echo_base.rb",
|
31
|
+
"lib/templates/Capfile",
|
32
|
+
"lib/templates/Gemfile",
|
33
|
+
"lib/templates/app/controllers/application_controller.rb",
|
34
|
+
"lib/templates/app/controllers/sessions_controller.rb",
|
35
|
+
"lib/templates/app/controllers/users_controller.rb",
|
36
|
+
"lib/templates/app/models/authorization.rb",
|
37
|
+
"lib/templates/app/models/user.rb",
|
38
|
+
"lib/templates/app/views/layouts/application.html.erb.tt",
|
39
|
+
"lib/templates/app/views/shared/_js.html.erb",
|
40
|
+
"lib/templates/app/views/users/_form.html.erb",
|
41
|
+
"lib/templates/app/views/users/_sidebar.html.erb",
|
42
|
+
"lib/templates/app/views/users/edit.html.erb",
|
43
|
+
"lib/templates/app/views/users/index.html.erb",
|
44
|
+
"lib/templates/app/views/users/new.html.erb",
|
45
|
+
"lib/templates/app/views/users/show.html.erb",
|
46
|
+
"lib/templates/config/deploy.rb",
|
47
|
+
"lib/templates/config/initializers/hoptoad.rb",
|
48
|
+
"lib/templates/config/initializers/omniauth.rb",
|
49
|
+
"lib/templates/config/newrelic.yml.example",
|
50
|
+
"lib/templates/config/omniauth.yml",
|
51
|
+
"lib/templates/config/omniauth.yml.example",
|
52
|
+
"lib/templates/db/migrate/20101008210657_create_authorizations.rb",
|
53
|
+
"lib/templates/db/migrate/20101009192412_create_users.rb",
|
54
|
+
"lib/templates/gitignore",
|
55
|
+
"lib/templates/public/404.html",
|
56
|
+
"lib/templates/public/422.html",
|
57
|
+
"lib/templates/public/500.html",
|
58
|
+
"lib/templates/public/favicon.ico",
|
59
|
+
"lib/templates/public/images/web-app-theme/arrow.png",
|
60
|
+
"lib/templates/public/images/web-app-theme/avatar.png",
|
61
|
+
"lib/templates/public/images/web-app-theme/boxbar-background.png",
|
62
|
+
"lib/templates/public/images/web-app-theme/breadcrumb.png",
|
63
|
+
"lib/templates/public/images/web-app-theme/button-background-active.png",
|
64
|
+
"lib/templates/public/images/web-app-theme/button-background.png",
|
65
|
+
"lib/templates/public/images/web-app-theme/icons/24/about",
|
66
|
+
"lib/templates/public/images/web-app-theme/icons/24/anchor-hover.png",
|
67
|
+
"lib/templates/public/images/web-app-theme/icons/24/anchor.png",
|
68
|
+
"lib/templates/public/images/web-app-theme/icons/24/cross-hover.png",
|
69
|
+
"lib/templates/public/images/web-app-theme/icons/24/cross.png",
|
70
|
+
"lib/templates/public/images/web-app-theme/icons/24/download-hover.png",
|
71
|
+
"lib/templates/public/images/web-app-theme/icons/24/download.png",
|
72
|
+
"lib/templates/public/images/web-app-theme/icons/24/edit-hover.png",
|
73
|
+
"lib/templates/public/images/web-app-theme/icons/24/edit.png",
|
74
|
+
"lib/templates/public/images/web-app-theme/icons/24/export-hover.png",
|
75
|
+
"lib/templates/public/images/web-app-theme/icons/24/export.png",
|
76
|
+
"lib/templates/public/images/web-app-theme/icons/24/show-hover.png",
|
77
|
+
"lib/templates/public/images/web-app-theme/icons/24/show.png",
|
78
|
+
"lib/templates/public/images/web-app-theme/icons/add.png",
|
79
|
+
"lib/templates/public/images/web-app-theme/icons/application_edit.png",
|
80
|
+
"lib/templates/public/images/web-app-theme/icons/calendar-hover.png",
|
81
|
+
"lib/templates/public/images/web-app-theme/icons/calendar.png",
|
82
|
+
"lib/templates/public/images/web-app-theme/icons/cross.png",
|
83
|
+
"lib/templates/public/images/web-app-theme/icons/delete.png",
|
84
|
+
"lib/templates/public/images/web-app-theme/icons/download.png",
|
85
|
+
"lib/templates/public/images/web-app-theme/icons/edit.png",
|
86
|
+
"lib/templates/public/images/web-app-theme/icons/key.png",
|
87
|
+
"lib/templates/public/images/web-app-theme/icons/pdf.png",
|
88
|
+
"lib/templates/public/images/web-app-theme/icons/search.png",
|
89
|
+
"lib/templates/public/images/web-app-theme/icons/see-less.png",
|
90
|
+
"lib/templates/public/images/web-app-theme/icons/see-more.png",
|
91
|
+
"lib/templates/public/images/web-app-theme/icons/send-mail.png",
|
92
|
+
"lib/templates/public/images/web-app-theme/icons/show.png",
|
93
|
+
"lib/templates/public/images/web-app-theme/icons/source",
|
94
|
+
"lib/templates/public/images/web-app-theme/icons/tick.png",
|
95
|
+
"lib/templates/public/images/web-app-theme/icons/upload.png",
|
96
|
+
"lib/templates/public/images/web-app-theme/logo.png",
|
97
|
+
"lib/templates/public/images/web-app-theme/menubar-background.png",
|
98
|
+
"lib/templates/public/images/web-app-theme/search-button.png",
|
99
|
+
"lib/templates/public/images/web-app-theme/session/account.png",
|
100
|
+
"lib/templates/public/images/web-app-theme/session/config.png",
|
101
|
+
"lib/templates/public/images/web-app-theme/session/home.png",
|
102
|
+
"lib/templates/public/images/web-app-theme/session/logout.png",
|
103
|
+
"lib/templates/public/images/web-app-theme/tipsy.gif",
|
104
|
+
"lib/templates/public/javascripts/application.js",
|
105
|
+
"lib/templates/public/javascripts/dd_belatedpng.js",
|
106
|
+
"lib/templates/public/javascripts/jquery-1.4.2.min.js",
|
107
|
+
"lib/templates/public/javascripts/modernizr-1.5.min.js",
|
108
|
+
"lib/templates/public/javascripts/rails.js",
|
109
|
+
"lib/templates/public/robots.txt",
|
110
|
+
"lib/templates/public/stylesheets/.gitkeep",
|
111
|
+
"lib/templates/public/stylesheets/handheld.css",
|
112
|
+
"lib/templates/public/stylesheets/style.css",
|
113
|
+
"lib/templates/public/stylesheets/web-app-theme/base.css",
|
114
|
+
"lib/templates/public/stylesheets/web-app-theme/override.css",
|
115
|
+
"lib/templates/public/stylesheets/web-app-theme/themes/default/images/arrow.png",
|
116
|
+
"lib/templates/public/stylesheets/web-app-theme/themes/default/images/boxbar-background.png",
|
117
|
+
"lib/templates/public/stylesheets/web-app-theme/themes/default/images/button-background-active.png",
|
118
|
+
"lib/templates/public/stylesheets/web-app-theme/themes/default/images/button-background.png",
|
119
|
+
"lib/templates/public/stylesheets/web-app-theme/themes/default/images/menubar-background.png",
|
120
|
+
"lib/templates/public/stylesheets/web-app-theme/themes/default/style.css",
|
121
|
+
"spec/echo_base_spec.rb",
|
122
|
+
"spec/spec_helper.rb"
|
146
123
|
]
|
147
124
|
s.homepage = %q{http://github.com/seenmyfate/echo_base}
|
148
|
-
s.
|
125
|
+
s.licenses = ["MIT"]
|
149
126
|
s.require_paths = ["lib"]
|
150
127
|
s.rubygems_version = %q{1.3.7}
|
151
128
|
s.summary = %q{A starting point for fast prototyping of Rails 3 apps}
|
152
129
|
s.test_files = [
|
153
|
-
"
|
154
|
-
|
130
|
+
"spec/echo_base_spec.rb",
|
131
|
+
"spec/spec_helper.rb"
|
155
132
|
]
|
156
133
|
|
157
134
|
if s.respond_to? :specification_version then
|
@@ -159,9 +136,48 @@ Gem::Specification.new do |s|
|
|
159
136
|
s.specification_version = 3
|
160
137
|
|
161
138
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
139
|
+
s.add_runtime_dependency(%q<rails>, ["~> 3.0.5"])
|
140
|
+
s.add_runtime_dependency(%q<cucumber-rails>, ["~> 0.3.2"])
|
141
|
+
s.add_runtime_dependency(%q<rspec-rails>, ["~> 2.3.1"])
|
142
|
+
s.add_development_dependency(%q<test-unit>, [">= 0"])
|
143
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
144
|
+
s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
|
145
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
146
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
147
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
148
|
+
s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
|
149
|
+
s.add_runtime_dependency(%q<thor>, ["~> 0.14"])
|
150
|
+
s.add_runtime_dependency(%q<rails>, ["~> 3.0.5"])
|
151
|
+
s.add_runtime_dependency(%q<rake>, ["~> 0.8"])
|
162
152
|
else
|
153
|
+
s.add_dependency(%q<rails>, ["~> 3.0.5"])
|
154
|
+
s.add_dependency(%q<cucumber-rails>, ["~> 0.3.2"])
|
155
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.3.1"])
|
156
|
+
s.add_dependency(%q<test-unit>, [">= 0"])
|
157
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
158
|
+
s.add_dependency(%q<yard>, ["~> 0.6.0"])
|
159
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
160
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
161
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
162
|
+
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
163
|
+
s.add_dependency(%q<thor>, ["~> 0.14"])
|
164
|
+
s.add_dependency(%q<rails>, ["~> 3.0.5"])
|
165
|
+
s.add_dependency(%q<rake>, ["~> 0.8"])
|
163
166
|
end
|
164
167
|
else
|
168
|
+
s.add_dependency(%q<rails>, ["~> 3.0.5"])
|
169
|
+
s.add_dependency(%q<cucumber-rails>, ["~> 0.3.2"])
|
170
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.3.1"])
|
171
|
+
s.add_dependency(%q<test-unit>, [">= 0"])
|
172
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
173
|
+
s.add_dependency(%q<yard>, ["~> 0.6.0"])
|
174
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
175
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
176
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
177
|
+
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
178
|
+
s.add_dependency(%q<thor>, ["~> 0.14"])
|
179
|
+
s.add_dependency(%q<rails>, ["~> 3.0.5"])
|
180
|
+
s.add_dependency(%q<rake>, ["~> 0.8"])
|
165
181
|
end
|
166
182
|
end
|
167
183
|
|