raygun 0.0.11 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -3
- data/.rbenv-version +1 -1
- data/README.md +2 -9
- data/Rakefile +1 -1
- data/TODO.md +0 -5
- data/app_prototype/.gitignore +15 -0
- data/app_prototype/.rspec +1 -0
- data/app_prototype/.rvmrc +1 -0
- data/{templates/Gemfile_customized → app_prototype/Gemfile} +1 -0
- data/{templates/Guardfile_customized → app_prototype/Guardfile} +6 -0
- data/{templates → app_prototype}/Procfile +0 -0
- data/{templates/README.md.erb → app_prototype/README.md} +0 -0
- data/app_prototype/Rakefile +10 -0
- data/app_prototype/app/assets/javascripts/application.js +16 -0
- data/app_prototype/app/assets/javascripts/users.js.coffee +3 -0
- data/{templates/_app → app_prototype/app}/assets/stylesheets/_footer.less +0 -0
- data/{templates/_app → app_prototype/app}/assets/stylesheets/application.css.less +0 -0
- data/{templates/_app → app_prototype/app}/controllers/application_controller.rb +1 -0
- data/{templates/_app → app_prototype/app}/controllers/password_resets_controller.rb +0 -0
- data/{templates/_app → app_prototype/app}/controllers/registrations_controller.rb +2 -0
- data/{templates/_app → app_prototype/app}/controllers/user_sessions_controller.rb +1 -1
- data/app_prototype/app/controllers/users_controller.rb +41 -0
- data/{templates/_app → app_prototype/app}/helpers/application_helper.rb +0 -0
- data/app_prototype/app/helpers/users_helper.rb +2 -0
- data/app_prototype/app/mailers/.gitkeep +0 -0
- data/{templates/_app → app_prototype/app}/mailers/user_mailer.rb +0 -0
- data/app_prototype/app/models/.gitkeep +0 -0
- data/{templates/_app → app_prototype/app}/models/ability.rb +0 -0
- data/{templates/_app → app_prototype/app}/models/user.rb +0 -0
- data/{templates/_app → app_prototype/app}/models/user_session.rb +0 -0
- data/{templates/_app/views/layouts/application.html.slim.erb → app_prototype/app/views/layouts/application.html.slim} +2 -2
- data/{templates/_app → app_prototype/app}/views/password_resets/edit.html.slim +0 -0
- data/{templates/_app → app_prototype/app}/views/password_resets/new.html.slim +0 -0
- data/{templates/_app → app_prototype/app}/views/registrations/new.html.slim +0 -0
- data/{templates/_app → app_prototype/app}/views/user_mailer/activation_needed_email.html.erb +0 -0
- data/{templates/_app → app_prototype/app}/views/user_mailer/activation_needed_email.text.erb +0 -0
- data/{templates/_app → app_prototype/app}/views/user_mailer/activation_success_email.html.erb +0 -0
- data/{templates/_app → app_prototype/app}/views/user_mailer/activation_success_email.text.erb +0 -0
- data/{templates/_app → app_prototype/app}/views/user_mailer/reset_password_email.html.erb +0 -0
- data/{templates/_app → app_prototype/app}/views/user_mailer/reset_password_email.text.erb +0 -0
- data/{templates/_app → app_prototype/app}/views/user_sessions/new.html.slim +0 -0
- data/app_prototype/app/views/users/_form.html.slim +12 -0
- data/app_prototype/app/views/users/edit.html.slim +5 -0
- data/app_prototype/app/views/users/index.html.slim +26 -0
- data/app_prototype/app/views/users/new.html.slim +4 -0
- data/app_prototype/app/views/users/show.html.slim +17 -0
- data/app_prototype/config.ru +8 -0
- data/app_prototype/config/application.rb +77 -0
- data/app_prototype/config/boot.rb +6 -0
- data/{templates/_config/database.yml.erb → app_prototype/config/database.yml} +2 -2
- data/app_prototype/config/environment.rb +5 -0
- data/app_prototype/config/environments/acceptance.rb +69 -0
- data/app_prototype/config/environments/development.rb +39 -0
- data/app_prototype/config/environments/production.rb +69 -0
- data/app_prototype/config/environments/test.rb +40 -0
- data/app_prototype/config/initializers/backtrace_silencers.rb +7 -0
- data/app_prototype/config/initializers/inflections.rb +15 -0
- data/app_prototype/config/initializers/mime_types.rb +5 -0
- data/app_prototype/config/initializers/secret_token.rb +7 -0
- data/app_prototype/config/initializers/session_store.rb +8 -0
- data/app_prototype/config/initializers/simple_form.rb +142 -0
- data/app_prototype/config/initializers/simple_form_bootstrap.rb +45 -0
- data/app_prototype/config/initializers/sorcery.rb +398 -0
- data/app_prototype/config/initializers/wrap_parameters.rb +14 -0
- data/app_prototype/config/locales/en.yml +5 -0
- data/app_prototype/config/locales/simple_form.en.yml +26 -0
- data/app_prototype/config/routes.rb +21 -0
- data/app_prototype/db/migrate/20121128215324_sorcery_core.rb +17 -0
- data/app_prototype/db/migrate/20121128215325_sorcery_brute_force_protection.rb +13 -0
- data/app_prototype/db/migrate/20121128215326_sorcery_activity_logging.rb +17 -0
- data/app_prototype/db/migrate/20121128215327_sorcery_user_activation.rb +17 -0
- data/app_prototype/db/migrate/20121128215328_sorcery_remember_me.rb +15 -0
- data/app_prototype/db/migrate/20121128215329_sorcery_reset_password.rb +17 -0
- data/app_prototype/db/migrate/20121128215330_sorcery_external.rb +14 -0
- data/app_prototype/db/migrate/20121128215337_add_admin_to_users.rb +5 -0
- data/{templates/_db → app_prototype/db}/sample_data.rb +0 -0
- data/app_prototype/db/schema.rb +53 -0
- data/app_prototype/db/seeds.rb +7 -0
- data/app_prototype/lib/assets/.gitkeep +0 -0
- data/app_prototype/lib/tasks/.gitkeep +0 -0
- data/{templates/_lib → app_prototype/lib}/tasks/coverage.rake +0 -0
- data/{templates/_lib → app_prototype/lib}/tasks/db.rake +0 -0
- data/{templates/_lib → app_prototype/lib}/tasks/spec.rake +0 -0
- data/{templates/_lib → app_prototype/lib}/templates/rails/scaffold_controller/controller.rb +0 -0
- data/{templates/_lib → app_prototype/lib}/templates/rspec/scaffold/controller_spec.rb +1 -1
- data/{templates/_lib → app_prototype/lib}/templates/slim/scaffold/_form.html.slim +0 -0
- data/{templates/_lib → app_prototype/lib}/templates/slim/scaffold/edit.html.slim +0 -0
- data/{templates/_lib → app_prototype/lib}/templates/slim/scaffold/index.html.slim +0 -0
- data/{templates/_lib → app_prototype/lib}/templates/slim/scaffold/new.html.slim +0 -0
- data/{templates/_lib → app_prototype/lib}/templates/slim/scaffold/show.html.slim +0 -0
- data/app_prototype/log/.gitkeep +0 -0
- data/app_prototype/public/404.html +26 -0
- data/app_prototype/public/422.html +26 -0
- data/app_prototype/public/500.html +25 -0
- data/app_prototype/public/favicon.ico +0 -0
- data/{templates/_public/index.html.erb → app_prototype/public/index.html} +2 -2
- data/app_prototype/public/robots.txt +5 -0
- data/app_prototype/script/rails +6 -0
- data/app_prototype/spec/controllers/user_sessions_controller_spec.rb +42 -0
- data/app_prototype/spec/controllers/users_controller_spec.rb +150 -0
- data/{templates/_spec → app_prototype/spec}/factories/users.rb +0 -0
- data/{templates/_spec → app_prototype/spec}/features/user_sessions_spec.rb +5 -1
- data/app_prototype/spec/helpers/users_helper_spec.rb +15 -0
- data/{templates/_spec → app_prototype/spec}/javascripts/example_spec.js.coffee +0 -0
- data/{templates/_spec → app_prototype/spec}/javascripts/spec.css +0 -0
- data/{templates/_spec → app_prototype/spec}/javascripts/spec.js.coffee +0 -0
- data/{templates/_spec → app_prototype/spec}/mailers/user_mailer_spec.rb +0 -0
- data/{templates/_spec → app_prototype/spec}/models/ability_spec.rb +0 -0
- data/{templates/_spec → app_prototype/spec}/models/user_spec.rb +0 -0
- data/app_prototype/spec/spec_helper.rb +84 -0
- data/{templates/_spec → app_prototype/spec}/support/accept_values.rb +0 -0
- data/{templates/_spec → app_prototype/spec}/support/factory_girl.rb +0 -0
- data/{templates/_spec → app_prototype/spec}/support/sorcery.rb +0 -0
- data/{templates/_spec → app_prototype/spec}/support/user_sessions_feature_helper.rb +0 -0
- data/app_prototype/spec/views/users/edit.html.slim_spec.rb +20 -0
- data/app_prototype/spec/views/users/index.html.slim_spec.rb +23 -0
- data/app_prototype/spec/views/users/new.html.slim_spec.rb +20 -0
- data/app_prototype/spec/views/users/show.html.slim_spec.rb +17 -0
- data/app_prototype/vendor/assets/javascripts/.gitkeep +0 -0
- data/app_prototype/vendor/assets/stylesheets/.gitkeep +0 -0
- data/app_prototype/vendor/plugins/.gitkeep +0 -0
- data/bin/raygun +48 -6
- data/lib/raygun/version.rb +1 -1
- data/raygun.gemspec +0 -3
- metadata +118 -108
- data/lib/raygun/actions.rb +0 -26
- data/lib/raygun/app_builder.rb +0 -362
- data/lib/raygun/generators/app_generator.rb +0 -188
- data/lib/raygun/helpers/ruby_version_helpers.rb +0 -52
- data/lib/raygun/raygun.rb +0 -11
- data/templates/rbenv-version.erb +0 -1
- data/templates/rvmrc.erb +0 -1
File without changes
|
@@ -2,11 +2,15 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
feature "User Sessions" do
|
4
4
|
|
5
|
-
background do
|
5
|
+
background(:all) do
|
6
6
|
@user = create(:user)
|
7
7
|
@user.activate!
|
8
8
|
end
|
9
9
|
|
10
|
+
after(:all) do
|
11
|
+
@user.destroy
|
12
|
+
end
|
13
|
+
|
10
14
|
scenario "Sign in with valid credentials" do
|
11
15
|
sign_in(@user.email, 'password')
|
12
16
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
# Specs in this file have access to a helper object that includes
|
4
|
+
# the UsersHelper. For example:
|
5
|
+
#
|
6
|
+
# describe UsersHelper do
|
7
|
+
# describe "string concat" do
|
8
|
+
# it "concats two strings with spaces" do
|
9
|
+
# helper.concat_strings("this","that").should == "this that"
|
10
|
+
# end
|
11
|
+
# end
|
12
|
+
# end
|
13
|
+
describe UsersHelper do
|
14
|
+
pending "add some examples to (or delete) #{__FILE__}"
|
15
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# Coverage must be enabled before the application is loaded.
|
2
|
+
if ENV['COVERAGE']
|
3
|
+
require 'simplecov'
|
4
|
+
|
5
|
+
# Writes the coverage stat to a file to be used by Cane.
|
6
|
+
class SimpleCov::Formatter::QualityFormatter
|
7
|
+
def format(result)
|
8
|
+
SimpleCov::Formatter::HTMLFormatter.new.format(result)
|
9
|
+
File.open('coverage/covered_percent', 'w') do |f|
|
10
|
+
f.puts result.source_files.covered_percent.to_f
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
SimpleCov.formatter = SimpleCov::Formatter::QualityFormatter
|
15
|
+
|
16
|
+
SimpleCov.start do
|
17
|
+
add_filter '/spec/'
|
18
|
+
add_filter '/config/'
|
19
|
+
add_filter '/vendor/'
|
20
|
+
add_group 'Models', 'app/models'
|
21
|
+
add_group 'Controllers', 'app/controllers'
|
22
|
+
add_group 'Helpers', 'app/helpers'
|
23
|
+
add_group 'Views', 'app/views'
|
24
|
+
add_group 'Mailers', 'app/mailers'
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
29
|
+
ENV["RAILS_ENV"] ||= 'test'
|
30
|
+
require File.expand_path("../../config/environment", __FILE__)
|
31
|
+
require 'rspec/rails'
|
32
|
+
require 'rspec/autorun'
|
33
|
+
|
34
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
35
|
+
# in spec/support/ and its subdirectories.
|
36
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
37
|
+
|
38
|
+
RSpec.configure do |config|
|
39
|
+
# ## Mock Framework
|
40
|
+
#
|
41
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
42
|
+
#
|
43
|
+
# config.mock_with :mocha
|
44
|
+
# config.mock_with :flexmock
|
45
|
+
# config.mock_with :rr
|
46
|
+
|
47
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
48
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
49
|
+
|
50
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
51
|
+
# examples within a transaction, remove the following line or assign false
|
52
|
+
# instead of true.
|
53
|
+
config.use_transactional_fixtures = true
|
54
|
+
|
55
|
+
# If true, the base class of anonymous controllers will be inferred
|
56
|
+
# automatically. This will be the default behavior in future versions of
|
57
|
+
# rspec-rails.
|
58
|
+
config.infer_base_class_for_anonymous_controllers = false
|
59
|
+
|
60
|
+
# Run specs in random order to surface order dependencies. If you find an
|
61
|
+
# order dependency and want to debug it, you can fix the order by providing
|
62
|
+
# the seed, which is printed after each run.
|
63
|
+
# --seed 1234
|
64
|
+
config.order = "random"
|
65
|
+
end
|
66
|
+
|
67
|
+
# Forces all threads to share the same connection. This works on
|
68
|
+
# Capybara because it starts the web server in a thread.
|
69
|
+
#
|
70
|
+
# http://blog.plataformatec.com.br/2011/12/three-tips-to-improve-the-performance-of-your-test-suite/
|
71
|
+
|
72
|
+
class ActiveRecord::Base
|
73
|
+
mattr_accessor :shared_connection
|
74
|
+
@@shared_connection = nil
|
75
|
+
|
76
|
+
def self.connection
|
77
|
+
@@shared_connection || retrieve_connection
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
|
82
|
+
|
83
|
+
# Turn down the logging while testing.
|
84
|
+
Rails.logger.level = 4
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "users/edit" do
|
4
|
+
before(:each) do
|
5
|
+
@user = assign(:user, stub_model(User,
|
6
|
+
email: "MyString",
|
7
|
+
name: "MyString"
|
8
|
+
))
|
9
|
+
end
|
10
|
+
|
11
|
+
it "renders the edit user form" do
|
12
|
+
render
|
13
|
+
|
14
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
15
|
+
assert_select "form", action: users_path(@user), method: "post" do
|
16
|
+
assert_select "input#user_email", name: "user[email]"
|
17
|
+
assert_select "input#user_name", name: "user[name]"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "users/index" do
|
4
|
+
before(:each) do
|
5
|
+
assign(:users, [
|
6
|
+
stub_model(User,
|
7
|
+
email: "Email",
|
8
|
+
name: "Name"
|
9
|
+
),
|
10
|
+
stub_model(User,
|
11
|
+
email: "Email",
|
12
|
+
name: "Name"
|
13
|
+
)
|
14
|
+
])
|
15
|
+
end
|
16
|
+
|
17
|
+
it "renders a list of users" do
|
18
|
+
render
|
19
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
20
|
+
assert_select "tr>td", text: "Email".to_s, count: 2
|
21
|
+
assert_select "tr>td", text: "Name".to_s, count: 2
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "users/new" do
|
4
|
+
before(:each) do
|
5
|
+
assign(:user, stub_model(User,
|
6
|
+
email: "MyString",
|
7
|
+
name: "MyString"
|
8
|
+
).as_new_record)
|
9
|
+
end
|
10
|
+
|
11
|
+
it "renders new user form" do
|
12
|
+
render
|
13
|
+
|
14
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
15
|
+
assert_select "form", action: users_path, method: "post" do
|
16
|
+
assert_select "input#user_email", name: "user[email]"
|
17
|
+
assert_select "input#user_name", name: "user[name]"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "users/show" do
|
4
|
+
before(:each) do
|
5
|
+
@user = assign(:user, stub_model(User,
|
6
|
+
email: "Email",
|
7
|
+
name: "Name"
|
8
|
+
))
|
9
|
+
end
|
10
|
+
|
11
|
+
it "renders attributes in <p>" do
|
12
|
+
render
|
13
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
14
|
+
rendered.should match(/Email/)
|
15
|
+
rendered.should match(/Name/)
|
16
|
+
end
|
17
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
data/bin/raygun
CHANGED
@@ -1,8 +1,50 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
require File.expand_path(File.join('..', 'lib', 'raygun', 'raygun'), File.dirname(__FILE__))
|
3
|
-
Raygun::AppGenerator.launch_path(Dir.pwd)
|
4
|
-
templates_root = File.expand_path(File.join('..', 'templates'), File.dirname(__FILE__))
|
5
|
-
Raygun::AppGenerator.source_root templates_root
|
6
|
-
Raygun::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root
|
7
2
|
|
8
|
-
|
3
|
+
require 'fileutils'
|
4
|
+
require 'securerandom'
|
5
|
+
|
6
|
+
def camelize(string)
|
7
|
+
result = string.sub(/^[a-z\d]*/) { $&.capitalize }
|
8
|
+
result.gsub(/(?:_|(\/))([a-z\d]*)/) { "#{$1}#{$2.capitalize}" }
|
9
|
+
end
|
10
|
+
|
11
|
+
def titleize(underscored_string)
|
12
|
+
result = underscored_string.gsub(/_/, ' ')
|
13
|
+
result.gsub(/\b('?[a-z])/) { $1.capitalize }
|
14
|
+
end
|
15
|
+
|
16
|
+
app_dir = ARGV[0]
|
17
|
+
app_name_snake = File.basename(app_dir)
|
18
|
+
app_name_camel = camelize(app_name_snake)
|
19
|
+
app_name_title = titleize(app_name_snake)
|
20
|
+
|
21
|
+
puts
|
22
|
+
puts "Creating new app #{app_name_camel} in directory #{app_dir}..."
|
23
|
+
puts
|
24
|
+
|
25
|
+
FileUtils.cp_r(File.expand_path('../../app_prototype', __FILE__), app_dir)
|
26
|
+
|
27
|
+
Dir.chdir(app_dir) do
|
28
|
+
`find . -type f -print | xargs sed -i '' 's/AppPrototype/#{app_name_camel}/g'`
|
29
|
+
`find . -type f -print | xargs sed -i '' 's/app_prototype/#{app_name_snake}/g'`
|
30
|
+
`sed -i '' 's/App Prototype/#{app_name_title}/' app/views/layouts/application.html.slim`
|
31
|
+
`sed -i '' 's/SECRET_TOKEN_REPLACE_ME_TODO/#{SecureRandom.hex(128)}/' config/initializers/secret_token.rb`
|
32
|
+
|
33
|
+
puts "Done! Next steps..."
|
34
|
+
puts ""
|
35
|
+
puts "# Install updated dependencies"
|
36
|
+
puts "$ cd #{ARGV[0]}"
|
37
|
+
puts "$ bundle update"
|
38
|
+
puts ""
|
39
|
+
puts "# Prepare the database: schema and reference / sample data"
|
40
|
+
puts "$ rake db:setup db:sample_data"
|
41
|
+
puts ""
|
42
|
+
puts "# Run the specs (they should all pass)"
|
43
|
+
puts "$ rake"
|
44
|
+
puts ""
|
45
|
+
puts "# Load reference and sample data, then run the app and check things out"
|
46
|
+
puts "$ foreman start"
|
47
|
+
puts "$ open http://0.0.0.0:3000"
|
48
|
+
puts ""
|
49
|
+
puts "Enjoy your Carbon Five flavored Rails application!"
|
50
|
+
end
|
data/lib/raygun/version.rb
CHANGED
data/raygun.gemspec
CHANGED
@@ -18,8 +18,5 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_dependency 'rails', '~> 3.2.9'
|
22
21
|
gem.add_dependency 'bundler', '>= 1.2'
|
23
|
-
gem.add_dependency 'rvm', '>= 1.11.3.5'
|
24
|
-
gem.add_dependency 'hash_syntax', '>= 1.0'
|
25
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,8 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: rails
|
16
|
-
prerelease: false
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2.9
|
22
|
-
none: false
|
23
|
-
type: :runtime
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
requirements:
|
26
|
-
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: 3.2.9
|
29
|
-
none: false
|
30
14
|
- !ruby/object:Gem::Dependency
|
31
15
|
name: bundler
|
32
16
|
prerelease: false
|
@@ -43,38 +27,6 @@ dependencies:
|
|
43
27
|
- !ruby/object:Gem::Version
|
44
28
|
version: '1.2'
|
45
29
|
none: false
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: rvm
|
48
|
-
prerelease: false
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.11.3.5
|
54
|
-
none: false
|
55
|
-
type: :runtime
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - ! '>='
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.11.3.5
|
61
|
-
none: false
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: hash_syntax
|
64
|
-
prerelease: false
|
65
|
-
requirement: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '1.0'
|
70
|
-
none: false
|
71
|
-
type: :runtime
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - ! '>='
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '1.0'
|
77
|
-
none: false
|
78
30
|
description: Carbon Five Rails application generator
|
79
31
|
email:
|
80
32
|
- christian@carbonfive.com
|
@@ -91,68 +43,126 @@ files:
|
|
91
43
|
- README.md
|
92
44
|
- Rakefile
|
93
45
|
- TODO.md
|
46
|
+
- app_prototype/.gitignore
|
47
|
+
- app_prototype/.rspec
|
48
|
+
- app_prototype/.rvmrc
|
49
|
+
- app_prototype/Gemfile
|
50
|
+
- app_prototype/Guardfile
|
51
|
+
- app_prototype/Procfile
|
52
|
+
- app_prototype/README.md
|
53
|
+
- app_prototype/Rakefile
|
54
|
+
- app_prototype/app/assets/javascripts/application.js
|
55
|
+
- app_prototype/app/assets/javascripts/users.js.coffee
|
56
|
+
- app_prototype/app/assets/stylesheets/_footer.less
|
57
|
+
- app_prototype/app/assets/stylesheets/application.css.less
|
58
|
+
- app_prototype/app/controllers/application_controller.rb
|
59
|
+
- app_prototype/app/controllers/password_resets_controller.rb
|
60
|
+
- app_prototype/app/controllers/registrations_controller.rb
|
61
|
+
- app_prototype/app/controllers/user_sessions_controller.rb
|
62
|
+
- app_prototype/app/controllers/users_controller.rb
|
63
|
+
- app_prototype/app/helpers/application_helper.rb
|
64
|
+
- app_prototype/app/helpers/users_helper.rb
|
65
|
+
- app_prototype/app/mailers/.gitkeep
|
66
|
+
- app_prototype/app/mailers/user_mailer.rb
|
67
|
+
- app_prototype/app/models/.gitkeep
|
68
|
+
- app_prototype/app/models/ability.rb
|
69
|
+
- app_prototype/app/models/user.rb
|
70
|
+
- app_prototype/app/models/user_session.rb
|
71
|
+
- app_prototype/app/views/layouts/application.html.slim
|
72
|
+
- app_prototype/app/views/password_resets/edit.html.slim
|
73
|
+
- app_prototype/app/views/password_resets/new.html.slim
|
74
|
+
- app_prototype/app/views/registrations/new.html.slim
|
75
|
+
- app_prototype/app/views/user_mailer/activation_needed_email.html.erb
|
76
|
+
- app_prototype/app/views/user_mailer/activation_needed_email.text.erb
|
77
|
+
- app_prototype/app/views/user_mailer/activation_success_email.html.erb
|
78
|
+
- app_prototype/app/views/user_mailer/activation_success_email.text.erb
|
79
|
+
- app_prototype/app/views/user_mailer/reset_password_email.html.erb
|
80
|
+
- app_prototype/app/views/user_mailer/reset_password_email.text.erb
|
81
|
+
- app_prototype/app/views/user_sessions/new.html.slim
|
82
|
+
- app_prototype/app/views/users/_form.html.slim
|
83
|
+
- app_prototype/app/views/users/edit.html.slim
|
84
|
+
- app_prototype/app/views/users/index.html.slim
|
85
|
+
- app_prototype/app/views/users/new.html.slim
|
86
|
+
- app_prototype/app/views/users/show.html.slim
|
87
|
+
- app_prototype/config.ru
|
88
|
+
- app_prototype/config/application.rb
|
89
|
+
- app_prototype/config/boot.rb
|
90
|
+
- app_prototype/config/database.yml
|
91
|
+
- app_prototype/config/environment.rb
|
92
|
+
- app_prototype/config/environments/acceptance.rb
|
93
|
+
- app_prototype/config/environments/development.rb
|
94
|
+
- app_prototype/config/environments/production.rb
|
95
|
+
- app_prototype/config/environments/test.rb
|
96
|
+
- app_prototype/config/initializers/backtrace_silencers.rb
|
97
|
+
- app_prototype/config/initializers/inflections.rb
|
98
|
+
- app_prototype/config/initializers/mime_types.rb
|
99
|
+
- app_prototype/config/initializers/secret_token.rb
|
100
|
+
- app_prototype/config/initializers/session_store.rb
|
101
|
+
- app_prototype/config/initializers/simple_form.rb
|
102
|
+
- app_prototype/config/initializers/simple_form_bootstrap.rb
|
103
|
+
- app_prototype/config/initializers/sorcery.rb
|
104
|
+
- app_prototype/config/initializers/wrap_parameters.rb
|
105
|
+
- app_prototype/config/locales/en.yml
|
106
|
+
- app_prototype/config/locales/simple_form.en.yml
|
107
|
+
- app_prototype/config/routes.rb
|
108
|
+
- app_prototype/db/migrate/20121128215324_sorcery_core.rb
|
109
|
+
- app_prototype/db/migrate/20121128215325_sorcery_brute_force_protection.rb
|
110
|
+
- app_prototype/db/migrate/20121128215326_sorcery_activity_logging.rb
|
111
|
+
- app_prototype/db/migrate/20121128215327_sorcery_user_activation.rb
|
112
|
+
- app_prototype/db/migrate/20121128215328_sorcery_remember_me.rb
|
113
|
+
- app_prototype/db/migrate/20121128215329_sorcery_reset_password.rb
|
114
|
+
- app_prototype/db/migrate/20121128215330_sorcery_external.rb
|
115
|
+
- app_prototype/db/migrate/20121128215337_add_admin_to_users.rb
|
116
|
+
- app_prototype/db/sample_data.rb
|
117
|
+
- app_prototype/db/schema.rb
|
118
|
+
- app_prototype/db/seeds.rb
|
119
|
+
- app_prototype/lib/assets/.gitkeep
|
120
|
+
- app_prototype/lib/tasks/.gitkeep
|
121
|
+
- app_prototype/lib/tasks/coverage.rake
|
122
|
+
- app_prototype/lib/tasks/db.rake
|
123
|
+
- app_prototype/lib/tasks/spec.rake
|
124
|
+
- app_prototype/lib/templates/rails/scaffold_controller/controller.rb
|
125
|
+
- app_prototype/lib/templates/rspec/scaffold/controller_spec.rb
|
126
|
+
- app_prototype/lib/templates/slim/scaffold/_form.html.slim
|
127
|
+
- app_prototype/lib/templates/slim/scaffold/edit.html.slim
|
128
|
+
- app_prototype/lib/templates/slim/scaffold/index.html.slim
|
129
|
+
- app_prototype/lib/templates/slim/scaffold/new.html.slim
|
130
|
+
- app_prototype/lib/templates/slim/scaffold/show.html.slim
|
131
|
+
- app_prototype/log/.gitkeep
|
132
|
+
- app_prototype/public/404.html
|
133
|
+
- app_prototype/public/422.html
|
134
|
+
- app_prototype/public/500.html
|
135
|
+
- app_prototype/public/favicon.ico
|
136
|
+
- app_prototype/public/index.html
|
137
|
+
- app_prototype/public/robots.txt
|
138
|
+
- app_prototype/script/rails
|
139
|
+
- app_prototype/spec/controllers/user_sessions_controller_spec.rb
|
140
|
+
- app_prototype/spec/controllers/users_controller_spec.rb
|
141
|
+
- app_prototype/spec/factories/users.rb
|
142
|
+
- app_prototype/spec/features/user_sessions_spec.rb
|
143
|
+
- app_prototype/spec/helpers/users_helper_spec.rb
|
144
|
+
- app_prototype/spec/javascripts/example_spec.js.coffee
|
145
|
+
- app_prototype/spec/javascripts/spec.css
|
146
|
+
- app_prototype/spec/javascripts/spec.js.coffee
|
147
|
+
- app_prototype/spec/mailers/user_mailer_spec.rb
|
148
|
+
- app_prototype/spec/models/ability_spec.rb
|
149
|
+
- app_prototype/spec/models/user_spec.rb
|
150
|
+
- app_prototype/spec/spec_helper.rb
|
151
|
+
- app_prototype/spec/support/accept_values.rb
|
152
|
+
- app_prototype/spec/support/factory_girl.rb
|
153
|
+
- app_prototype/spec/support/sorcery.rb
|
154
|
+
- app_prototype/spec/support/user_sessions_feature_helper.rb
|
155
|
+
- app_prototype/spec/views/users/edit.html.slim_spec.rb
|
156
|
+
- app_prototype/spec/views/users/index.html.slim_spec.rb
|
157
|
+
- app_prototype/spec/views/users/new.html.slim_spec.rb
|
158
|
+
- app_prototype/spec/views/users/show.html.slim_spec.rb
|
159
|
+
- app_prototype/vendor/assets/javascripts/.gitkeep
|
160
|
+
- app_prototype/vendor/assets/stylesheets/.gitkeep
|
161
|
+
- app_prototype/vendor/plugins/.gitkeep
|
94
162
|
- bin/raygun
|
95
|
-
- lib/raygun/actions.rb
|
96
|
-
- lib/raygun/app_builder.rb
|
97
|
-
- lib/raygun/generators/app_generator.rb
|
98
|
-
- lib/raygun/helpers/ruby_version_helpers.rb
|
99
|
-
- lib/raygun/raygun.rb
|
100
163
|
- lib/raygun/version.rb
|
101
164
|
- marvin.jpg
|
102
165
|
- raygun.gemspec
|
103
|
-
- templates/Gemfile_customized
|
104
|
-
- templates/Guardfile_customized
|
105
|
-
- templates/Procfile
|
106
|
-
- templates/README.md.erb
|
107
|
-
- templates/_app/assets/stylesheets/_footer.less
|
108
|
-
- templates/_app/assets/stylesheets/application.css.less
|
109
|
-
- templates/_app/controllers/application_controller.rb
|
110
|
-
- templates/_app/controllers/password_resets_controller.rb
|
111
|
-
- templates/_app/controllers/registrations_controller.rb
|
112
|
-
- templates/_app/controllers/user_sessions_controller.rb
|
113
|
-
- templates/_app/helpers/application_helper.rb
|
114
|
-
- templates/_app/mailers/user_mailer.rb
|
115
|
-
- templates/_app/models/ability.rb
|
116
|
-
- templates/_app/models/user.rb
|
117
|
-
- templates/_app/models/user_session.rb
|
118
|
-
- templates/_app/views/layouts/application.html.slim.erb
|
119
|
-
- templates/_app/views/password_resets/edit.html.slim
|
120
|
-
- templates/_app/views/password_resets/new.html.slim
|
121
|
-
- templates/_app/views/registrations/new.html.slim
|
122
|
-
- templates/_app/views/user_mailer/activation_needed_email.html.erb
|
123
|
-
- templates/_app/views/user_mailer/activation_needed_email.text.erb
|
124
|
-
- templates/_app/views/user_mailer/activation_success_email.html.erb
|
125
|
-
- templates/_app/views/user_mailer/activation_success_email.text.erb
|
126
|
-
- templates/_app/views/user_mailer/reset_password_email.html.erb
|
127
|
-
- templates/_app/views/user_mailer/reset_password_email.text.erb
|
128
|
-
- templates/_app/views/user_sessions/new.html.slim
|
129
|
-
- templates/_config/database.yml.erb
|
130
|
-
- templates/_db/sample_data.rb
|
131
|
-
- templates/_lib/tasks/coverage.rake
|
132
|
-
- templates/_lib/tasks/db.rake
|
133
|
-
- templates/_lib/tasks/spec.rake
|
134
|
-
- templates/_lib/templates/rails/scaffold_controller/controller.rb
|
135
|
-
- templates/_lib/templates/rspec/scaffold/controller_spec.rb
|
136
|
-
- templates/_lib/templates/slim/scaffold/_form.html.slim
|
137
|
-
- templates/_lib/templates/slim/scaffold/edit.html.slim
|
138
|
-
- templates/_lib/templates/slim/scaffold/index.html.slim
|
139
|
-
- templates/_lib/templates/slim/scaffold/new.html.slim
|
140
|
-
- templates/_lib/templates/slim/scaffold/show.html.slim
|
141
|
-
- templates/_public/index.html.erb
|
142
|
-
- templates/_spec/factories/users.rb
|
143
|
-
- templates/_spec/features/user_sessions_spec.rb
|
144
|
-
- templates/_spec/javascripts/example_spec.js.coffee
|
145
|
-
- templates/_spec/javascripts/spec.css
|
146
|
-
- templates/_spec/javascripts/spec.js.coffee
|
147
|
-
- templates/_spec/mailers/user_mailer_spec.rb
|
148
|
-
- templates/_spec/models/ability_spec.rb
|
149
|
-
- templates/_spec/models/user_spec.rb
|
150
|
-
- templates/_spec/support/accept_values.rb
|
151
|
-
- templates/_spec/support/factory_girl.rb
|
152
|
-
- templates/_spec/support/sorcery.rb
|
153
|
-
- templates/_spec/support/user_sessions_feature_helper.rb
|
154
|
-
- templates/rbenv-version.erb
|
155
|
-
- templates/rvmrc.erb
|
156
166
|
homepage: https://github.com/carbonfive/raygun
|
157
167
|
licenses: []
|
158
168
|
post_install_message:
|