houston-core 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d89c8a013455c3b70593c4104b5f65d23d1650c5
4
- data.tar.gz: ab707b4fa5363153d4d1dcc594f06b3a23f84bfc
3
+ metadata.gz: c9adcbe5ed06f9c2abdbaa021dac9ff0b29e33e0
4
+ data.tar.gz: 0dade5e63247a0134eb226e7fde93294e8d3a773
5
5
  SHA512:
6
- metadata.gz: 5704e997047a30f23459cb4a97ed80cfb0884e325223b63d5d93aafd19605d5eeb6a929f3f4bae8a4a1086d790d38ba6fa22da95ebbe9aeccad6d4c50d65c75c
7
- data.tar.gz: 55ee7d4207de992a2e019579b01636781c8c3068eb15884d7948eca59b16b0794dbf463480de5daaf75ff6f59c47c67557f5807fb01f563e47bda4bc239cf35e
6
+ metadata.gz: 1a6696e7806e97164580325f44942e83e0962918bb230798e845541a5bede1f8184e354f37215ed386cff04f7f97cfb630eabf8a4c8039aed7f576690688917b
7
+ data.tar.gz: 0a991521dc01fbc365092751ad4eb4afb6f639918d61a46d3d5e9c18b80266be431205515eac55ba1b1cf1a50cc446c56e1031008616482e3bfb33e36337120e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- houston-core (0.5.1)
4
+ houston-core (0.5.2)
5
5
  activerecord-import
6
6
  activerecord-pluck_in_batches
7
7
  addressable
@@ -31,17 +31,18 @@ PATH
31
31
  octokit (~> 4.1.0)
32
32
  oj (~> 2.12.14)
33
33
  openxml-xlsx
34
- pg (~> 0.18.2)
34
+ pg (~> 0.18.3)
35
35
  pg_search (~> 1.0.5)
36
36
  premailer (~> 1.8.6)
37
37
  progressbar
38
38
  rack-utf8_sanitizer (~> 1.3.1)
39
39
  rails (~> 4.1.13)
40
40
  redcarpet (~> 3.3.2)
41
- rufus-scheduler (~> 3.1.4)
41
+ rufus-scheduler (~> 3.1.7)
42
42
  rugged (~> 0.23.2)
43
43
  sass-rails (~> 4.0.0)
44
44
  simplecov (~> 0.9.1)
45
+ sprockets (~> 2.8)
45
46
  strongbox (~> 0.7.2)
46
47
  sugar-rails
47
48
  thor
@@ -83,7 +84,7 @@ GEM
83
84
  thread_safe (~> 0.1)
84
85
  tzinfo (~> 1.1)
85
86
  addressable (2.3.8)
86
- ansi (1.4.3)
87
+ ansi (1.5.0)
87
88
  arel (5.0.1.20140414130214)
88
89
  backbone-rails (1.0.0.1)
89
90
  rails (>= 3.0.0)
@@ -96,7 +97,7 @@ GEM
96
97
  faraday (~> 0.8.8)
97
98
  builder (3.2.2)
98
99
  cancan (1.6.10)
99
- capybara (2.4.4)
100
+ capybara (2.5.0)
100
101
  mime-types (>= 1.16)
101
102
  nokogiri (>= 1.3.3)
102
103
  rack (>= 1.0.0)
@@ -164,6 +165,7 @@ GEM
164
165
  multi_json
165
166
  sprockets (>= 2.0.3)
166
167
  tilt
168
+ hashdiff (0.2.2)
167
169
  highline (1.6.21)
168
170
  hike (1.2.3)
169
171
  houston-devise_ldap_authenticatable (0.7.0)
@@ -186,14 +188,14 @@ GEM
186
188
  jwt (1.5.1)
187
189
  launchy (2.4.3)
188
190
  addressable (~> 2.3)
189
- libv8 (3.16.14.11)
191
+ libv8 (3.16.14.13)
190
192
  mail (2.6.3)
191
193
  mime-types (>= 1.16, < 3)
192
194
  method_source (0.8.2)
193
195
  mime-types (2.6.2)
194
196
  mini_portile (0.6.2)
195
197
  minitest (5.8.1)
196
- minitest-reporters (1.0.7)
198
+ minitest-reporters (1.1.4)
197
199
  ansi
198
200
  builder
199
201
  minitest (>= 5.0)
@@ -236,7 +238,7 @@ GEM
236
238
  css_parser (>= 1.3.6)
237
239
  htmlentities (>= 4.0.0)
238
240
  progressbar (0.21.0)
239
- pry (0.10.1)
241
+ pry (0.10.3)
240
242
  coderay (~> 1.1.0)
241
243
  method_source (~> 0.8.1)
242
244
  slop (~> 3.4)
@@ -268,7 +270,7 @@ GEM
268
270
  mime-types (>= 1.16, < 3.0)
269
271
  netrc (~> 0.7)
270
272
  rr (1.1.2)
271
- ruby-progressbar (1.7.0)
273
+ ruby-progressbar (1.7.5)
272
274
  rubyzip (1.1.7)
273
275
  rufus-scheduler (3.1.7)
274
276
  rugged (0.23.3)
@@ -283,11 +285,11 @@ GEM
283
285
  addressable (~> 2.3.5)
284
286
  faraday (~> 0.8, < 0.10)
285
287
  shoulda-context (1.2.1)
286
- simplecov (0.9.1)
288
+ simplecov (0.9.2)
287
289
  docile (~> 1.1.0)
288
290
  multi_json (~> 1.0)
289
- simplecov-html (~> 0.8.0)
290
- simplecov-html (0.8.0)
291
+ simplecov-html (~> 0.9.0)
292
+ simplecov-html (0.9.0)
291
293
  simplecov-json (0.2)
292
294
  json
293
295
  simplecov
@@ -313,7 +315,7 @@ GEM
313
315
  thor (0.19.1)
314
316
  thread_safe (0.3.5)
315
317
  tilt (1.4.1)
316
- timecop (0.7.1)
318
+ timecop (0.8.0)
317
319
  tzinfo (1.2.2)
318
320
  thread_safe (~> 0.1)
319
321
  uglifier (2.7.2)
@@ -324,9 +326,10 @@ GEM
324
326
  unf_ext (0.0.7.1)
325
327
  warden (1.2.3)
326
328
  rack (>= 1.0)
327
- webmock (1.20.4)
329
+ webmock (1.22.1)
328
330
  addressable (>= 2.3.6)
329
331
  crack (>= 0.3.2)
332
+ hashdiff
330
333
  whenever (0.9.2)
331
334
  activesupport (>= 2.3.4)
332
335
  chronic (>= 0.6.3)
data/README.md CHANGED
@@ -12,7 +12,7 @@ It makes it easy to set up **triggers** and **notifications** like:
12
12
 
13
13
  And it provides a foundation for custom views like **dashboards** and **reports**.
14
14
 
15
- Houston is also extensible through **modules**.
15
+ Houston is also extensible through **[Modules](https://github.com/houston/houston-core/wiki/Modules)**.
16
16
 
17
17
 
18
18
 
@@ -28,19 +28,27 @@ To use Houston, you must have
28
28
  ##### Hello World
29
29
 
30
30
  1. Install houston-core
31
-
31
+
32
+ ```
32
33
  gem install houston-core
34
+ ```
33
35
 
34
36
  2. Generate an instance of Houston
35
37
 
38
+ ```
36
39
  houston new my-houston
37
40
  cd my-houston
41
+ ```
38
42
 
39
43
  3. Modify `config/database.yml` to connect to your database (See [the Rails Guide](http://guides.rubyonrails.org/configuring.html#configuring-a-database) for examples)
40
44
  4. Set up your database
41
45
 
46
+ ```
42
47
  bin/setup
48
+ ```
43
49
 
44
50
  5. Start Houston
45
51
 
52
+ ```
46
53
  bundle exec rails server
54
+ ```
data/houston.gemspec CHANGED
@@ -21,7 +21,8 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  # For Houston as a Web Application
23
23
  spec.add_dependency "rails", "~> 4.1.13"
24
- spec.add_dependency "pg", "~> 0.18.2"
24
+ spec.add_dependency "sprockets", "~> 2.8" # update this when updating Rails
25
+ spec.add_dependency "pg", "~> 0.18.3"
25
26
  # --------------------------------
26
27
  spec.add_dependency "activerecord-import"
27
28
  spec.add_dependency "activerecord-pluck_in_batches"
@@ -60,7 +61,7 @@ Gem::Specification.new do |spec|
60
61
  spec.add_dependency "coffee-rails", "~> 4.0.0"
61
62
 
62
63
  # Houston's background jobs daemon
63
- spec.add_dependency "rufus-scheduler", "~> 3.1.4"
64
+ spec.add_dependency "rufus-scheduler", "~> 3.1.7"
64
65
  spec.add_dependency "whenever", "0.9.2" # Houston uses just the DSL for writing cron jobs
65
66
 
66
67
  # Used to create image charts for embedding in email
@@ -12,13 +12,16 @@ module Generators
12
12
 
13
13
  def config
14
14
  template "config/initializers/add_navigation_renderer.rb"
15
+ template "config/database.yml"
15
16
  template "config/routes.rb"
17
+ empty_directory_with_keep_file "db"
16
18
  end
17
19
 
18
20
  def lib
19
21
  template "lib/houston/%name%.rb"
20
22
  template "lib/houston/%name%/configuration.rb"
21
23
  template "lib/houston/%name%/engine.rb"
24
+ template "lib/houston/%name%/railtie.rb"
22
25
  template "lib/houston/%name%/version.rb"
23
26
  template "lib/houston-%name%.rb"
24
27
  template "lib/tasks/%name%_tasks.rake"
@@ -40,13 +43,13 @@ module Generators
40
43
  template "README.md"
41
44
  end
42
45
 
43
- def generate_test_dummy(force = false)
44
- opts = (options || {}).slice(*PASSTHROUGH_OPTIONS)
45
- opts[:force] = force
46
- opts[:skip_bundle] = true
47
-
48
- invoke Rails::Generators::AppGenerator,
49
- [ File.expand_path(dummy_path, destination_root) ], opts
46
+ def test
47
+ template "test/test_helper.rb"
48
+ template "test/dummy/houston.rb"
49
+ template "test/fixtures/projects.yml"
50
+ template "test/fixtures/users.yml"
51
+ template "test/unit/fixtures_test.rb"
52
+ template "test/acceptance/houston_dummy_test.rb"
50
53
  end
51
54
 
52
55
  end
@@ -73,6 +76,14 @@ module Generators
73
76
  ModuleBuilder
74
77
  end
75
78
 
79
+ def git_author
80
+ `git config user.name`.chomp
81
+ end
82
+
83
+ def git_email
84
+ `git config user.email`.chomp
85
+ end
86
+
76
87
  def full?
77
88
  true
78
89
  end
@@ -85,5 +96,22 @@ module Generators
85
96
  true
86
97
  end
87
98
 
99
+ def with_dummy_app?
100
+ false
101
+ end
102
+
103
+ def update_gemfile
104
+ super
105
+ git_init
106
+ end
107
+
108
+ protected
109
+
110
+ def git_init
111
+ say_status :run, "git init"
112
+ output = `git init .`
113
+ print output unless options[:quiet]
114
+ end
115
+
88
116
  end
89
117
  end
@@ -1,3 +1,3 @@
1
1
  module Houston
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
@@ -10,11 +10,15 @@ gemspec
10
10
  # Git. Remember to move these dependencies to your gemspec before releasing
11
11
  # your gem to rubygems.org.
12
12
 
13
- <% if options.dev? || options.edge? -%>
14
- # Your gem is dependent on dev or edge Rails. Once you can lock this
15
- # dependency down to a specific version, move it to your gemspec.
16
- <%= rails_gemfile_entry -%>
13
+ group :development, :test do
14
+ gem "pry"
15
+ end
17
16
 
18
- <% end -%>
19
- # To use debugger
20
- # gem 'debugger'
17
+ group :test do
18
+ gem "minitest"
19
+ gem "capybara"
20
+ gem "shoulda-context"
21
+
22
+ gem "minitest-reporters", require: false
23
+ gem "minitest-reporters-turn_reporter", require: false
24
+ end
@@ -1,4 +1,4 @@
1
- Copyright <%= Date.today.year %> YOURNAME
1
+ Copyright <%= Date.today.year %> <%= git_author %>
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,25 +1,26 @@
1
1
  begin
2
- require 'bundler/setup'
2
+ require "bundler/setup"
3
3
  rescue LoadError
4
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
4
+ puts "You must `gem install bundler` and `bundle install` to run rake tasks"
5
5
  end
6
6
 
7
- require 'rdoc/task'
7
+
8
+ # `rake test` and `rake test:all` are loaded from Houston
9
+ require_relative "test/dummy/houston"
10
+ Houston::Application.load_tasks
11
+
12
+
13
+ require "rdoc/task"
8
14
 
9
15
  RDoc::Task.new(:rdoc) do |rdoc|
10
- rdoc.rdoc_dir = 'rdoc'
11
- rdoc.title = '<%= camelized %>'
12
- rdoc.options << '--line-numbers'
13
- rdoc.rdoc_files.include('README.rdoc')
14
- rdoc.rdoc_files.include('lib/**/*.rb')
16
+ rdoc.rdoc_dir = "rdoc"
17
+ rdoc.title = "<%= camelized %>"
18
+ rdoc.options << "--line-numbers"
19
+ rdoc.rdoc_files.include("README.rdoc")
20
+ rdoc.rdoc_files.include("lib/**/*.rb")
15
21
  end
16
22
 
17
- <% if engine? && !options[:skip_active_record] && with_dummy_app? -%>
18
- APP_RAKEFILE = File.expand_path("../<%= dummy_path -%>/Rakefile", __FILE__)
19
- load 'rails/tasks/engine.rake'
20
- <% end %>
21
23
 
22
24
  <% unless options[:skip_gemspec] -%>
23
-
24
25
  Bundler::GemHelper.install_tasks
25
26
  <% end %>
@@ -0,0 +1,13 @@
1
+ development:
2
+ adapter: postgresql
3
+ encoding: utf8
4
+ database: houston_<%= name %>_development
5
+ host: localhost
6
+ prepared_statements: false
7
+
8
+ test:
9
+ adapter: postgresql
10
+ encoding: utf8
11
+ database: houston_<%= name %>_test
12
+ host: localhost
13
+ prepared_statements: false
@@ -1,10 +1,3 @@
1
1
  .bundle/
2
2
  log/*.log
3
3
  pkg/
4
- <% unless options[:skip_test_unit] && options[:dummy_path] == 'test/dummy' -%>
5
- <%= dummy_path %>/db/*.sqlite3
6
- <%= dummy_path %>/db/*.sqlite3-journal
7
- <%= dummy_path %>/log/*.log
8
- <%= dummy_path %>/tmp/
9
- <%= dummy_path %>/.sass-cache
10
- <% end -%>
@@ -4,19 +4,23 @@ $:.push File.expand_path("../lib", __FILE__)
4
4
  require "houston/<%= name %>/version"
5
5
 
6
6
  # Describe your gem and declare its dependencies:
7
- Gem::Specification.new do |s|
8
- s.name = "houston-<%= name %>"
9
- s.version = Houston::<%= camelized %>::VERSION
10
- s.authors = ["TODO: Your name"]
11
- s.email = ["TODO: Your email"]
12
- s.homepage = "TODO"
13
- s.summary = "TODO: Summary of Houston <%= camelized %>."
14
- s.description = "TODO: Description of Houston <%= camelized %>."
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "houston-<%= name %>"
9
+ spec.version = Houston::<%= camelized %>::VERSION
10
+ spec.authors = [<%= git_author.inspect %>]
11
+ spec.email = [<%= git_email.inspect %>]
15
12
 
16
- s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
13
+ spec.summary = "TODO: Write a short summary, because Rubygems requires one."
14
+ spec.description = "TODO: Write a longer description or delete this line."
15
+ spec.homepage = "TODO: Put your gem's website or public repo URL here."
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.require_paths = ["lib"]
17
19
  <% unless options.skip_test_unit? -%>
18
- s.test_files = Dir["test/**/*"]
20
+ spec.test_files = Dir["test/**/*"]
19
21
  <% end -%>
20
22
 
21
- <%= '# ' if options.dev? || options.edge? -%>s.add_dependency "rails"
23
+ spec.add_development_dependency "bundler", "~> <%= Bundler::VERSION %>"
24
+ spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "houston-core", ">= <%= Houston::VERSION %>"
22
26
  end
@@ -5,9 +5,11 @@ module Houston
5
5
  module <%= camelized %>
6
6
  extend self
7
7
 
8
- attr_reader :config
8
+ def config(&block)
9
+ @configuration ||= <%= camelized %>::Configuration.new
10
+ @configuration.instance_eval(&block) if block_given?
11
+ @configuration
12
+ end
9
13
 
10
14
  end
11
-
12
- <%= camelized %>.instance_variable_set :@config, <%= camelized %>::Configuration.new
13
15
  end
@@ -1,15 +1,15 @@
1
+ require "houston/<%= name %>/railtie"
2
+
1
3
  module Houston
2
4
  module <%= camelized %>
3
5
  class Engine < ::Rails::Engine
4
6
  isolate_namespace Houston::<%= camelized %>
5
7
 
6
- # Enabling assets precompiling under rails 3.1
7
- if Rails.version >= '3.1'
8
- initializer :assets do |config|
9
- Rails.application.config.assets.precompile += %w(
10
- houston/<%= name %>/application.js
11
- houston/<%= name %>/application.css )
12
- end
8
+ # Precompile this modules assets
9
+ initializer :assets do |config|
10
+ Rails.application.config.assets.precompile += %w(
11
+ houston/<%= name %>/application.js
12
+ houston/<%= name %>/application.css )
13
13
  end
14
14
 
15
15
  # Include the Engine's migrations with the Application
@@ -0,0 +1,12 @@
1
+ module Houston
2
+ module <%= camelized %>
3
+ class Railtie < ::Rails::Railtie
4
+
5
+ # The block you pass to this method will run for every request
6
+ # in development mode, but only once in production.
7
+ # config.to_prepare do
8
+ # end
9
+
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,17 @@
1
+ require "test_helper"
2
+
3
+ class DummyHoustonTest < ActionDispatch::IntegrationTest
4
+
5
+ context "The Test Suite" do
6
+ should "be able to interact with a dummy instance of Houston" do
7
+ visit "/users/sign_in"
8
+ fill_in "user_email", with: "admin@example.com"
9
+ fill_in "user_password", with: "password"
10
+ click_button "Sign in"
11
+
12
+ assert page.has_content?("Projects I Follow"),
13
+ "Expected to have been able to log in and to see the Timeline view"
14
+ end
15
+ end
16
+
17
+ end
@@ -0,0 +1,23 @@
1
+ # Load Houston
2
+ require "houston/application"
3
+
4
+ # Configure Houston
5
+ Houston.config do
6
+
7
+ # Houston should load config/database.yml from this module
8
+ # rather than from Houston Core.
9
+ root Pathname.new File.expand_path("../../..", __FILE__)
10
+
11
+ # Give dummy values to these required fields.
12
+ host "houston.test.com"
13
+ mailer_sender "houston@test.com"
14
+
15
+ # Houston still hard-codes knowledge of these Roles.
16
+ # This will eventually be refactored away.
17
+ roles "Developer", "Tester"
18
+ project_roles "Maintainer"
19
+
20
+ # Mount this module on the dummy Houston application.
21
+ use :<%= name %>
22
+
23
+ end
@@ -0,0 +1,3 @@
1
+ test:
2
+ name: Test
3
+ slug: test
@@ -0,0 +1,10 @@
1
+ admin:
2
+ first_name: FirstName
3
+ last_name: LastName
4
+ email: admin@example.com
5
+ email_addresses:
6
+ - admin@example.com
7
+ administrator: true
8
+ role: Developer
9
+ encrypted_password: $2a$10$Pf9Q94yN7t/YGqGS6pBl5uOL8lUvqgWpGeXRMHGbgPU0ixbWzthOG
10
+ # password: password
@@ -1,15 +1,43 @@
1
1
  # Configure Rails Environment
2
2
  ENV["RAILS_ENV"] = "test"
3
3
 
4
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+ # Load Houston
5
+ require "dummy/houston"
6
+ Rails.application.initialize! unless Rails.application.initialized?
7
+
5
8
  require "rails/test_help"
6
9
 
7
- Rails.backtrace_cleaner.remove_silencers!
10
+ if ENV["CI"] == "true"
11
+ require "minitest/reporters"
12
+ MiniTest::Reporters.use! [MiniTest::Reporters::DefaultReporter.new,
13
+ MiniTest::Reporters::JUnitReporter.new]
14
+ else
15
+ require "minitest/reporters/turn_reporter"
16
+ MiniTest::Reporters.use! Minitest::Reporters::TurnReporter.new
17
+ end
18
+
19
+ # Filter out Minitest backtrace while allowing backtrace
20
+ # from other libraries to be shown.
21
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
22
+
23
+ class ActiveSupport::TestCase
24
+
25
+ # Load fixtures from the engine
26
+ self.fixture_path = File.expand_path("../fixtures", __FILE__)
27
+
28
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
29
+ fixtures :all
30
+
31
+ # Add more helper methods to be used by all tests here...
32
+
33
+ end
34
+
35
+ require "capybara/rails"
36
+
37
+ class ActionDispatch::IntegrationTest
38
+ include Capybara::DSL
8
39
 
9
- # Load support files
10
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
40
+ # Load fixtures from the engine
41
+ self.fixture_path = File.expand_path("../fixtures", __FILE__)
11
42
 
12
- # Load fixtures from the engine
13
- if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
43
  end
@@ -0,0 +1,11 @@
1
+ require "test_helper"
2
+
3
+ class FixturesTest < ActiveSupport::TestCase
4
+
5
+ context "The Test Suite" do
6
+ should "load the fixtures defined in this engine" do
7
+ assert Project["test"], "Expected to find the 'test' project"
8
+ end
9
+ end
10
+
11
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: houston-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Lail
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-23 00:00:00.000000000 Z
11
+ date: 2015-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -24,20 +24,34 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.1.13
27
+ - !ruby/object:Gem::Dependency
28
+ name: sprockets
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.8'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.8'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: pg
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: 0.18.2
47
+ version: 0.18.3
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: 0.18.2
54
+ version: 0.18.3
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: activerecord-import
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -506,14 +520,14 @@ dependencies:
506
520
  requirements:
507
521
  - - "~>"
508
522
  - !ruby/object:Gem::Version
509
- version: 3.1.4
523
+ version: 3.1.7
510
524
  type: :runtime
511
525
  prerelease: false
512
526
  version_requirements: !ruby/object:Gem::Requirement
513
527
  requirements:
514
528
  - - "~>"
515
529
  - !ruby/object:Gem::Version
516
- version: 3.1.4
530
+ version: 3.1.7
517
531
  - !ruby/object:Gem::Dependency
518
532
  name: whenever
519
533
  requirement: !ruby/object:Gem::Requirement
@@ -3202,6 +3216,7 @@ files:
3202
3216
  - templates/new-module/app/models/.empty_directory
3203
3217
  - templates/new-module/app/views/layouts/houston/%name%/application.html.erb.tt
3204
3218
  - templates/new-module/bin/rails.tt
3219
+ - templates/new-module/config/database.yml
3205
3220
  - templates/new-module/config/initializers/add_navigation_renderer.rb
3206
3221
  - templates/new-module/config/routes.rb
3207
3222
  - templates/new-module/gitignore
@@ -3210,6 +3225,7 @@ files:
3210
3225
  - templates/new-module/lib/houston/%name%.rb
3211
3226
  - templates/new-module/lib/houston/%name%/configuration.rb
3212
3227
  - templates/new-module/lib/houston/%name%/engine.rb
3228
+ - templates/new-module/lib/houston/%name%/railtie.rb
3213
3229
  - templates/new-module/lib/houston/%name%/version.rb
3214
3230
  - templates/new-module/lib/tasks/%name%_tasks.rake
3215
3231
  - templates/new-module/rails/application.rb
@@ -3217,10 +3233,12 @@ files:
3217
3233
  - templates/new-module/rails/javascripts.js
3218
3234
  - templates/new-module/rails/routes.rb
3219
3235
  - templates/new-module/rails/stylesheets.css
3220
- - templates/new-module/script/rails.tt
3221
- - templates/new-module/test/%name%_test.rb
3222
- - templates/new-module/test/integration/navigation_test.rb
3236
+ - templates/new-module/test/acceptance/houston_dummy_test.rb
3237
+ - templates/new-module/test/dummy/houston.rb
3238
+ - templates/new-module/test/fixtures/projects.yml
3239
+ - templates/new-module/test/fixtures/users.yml
3223
3240
  - templates/new-module/test/test_helper.rb
3241
+ - templates/new-module/test/unit/fixtures_test.rb
3224
3242
  - test/acceptance/.keep
3225
3243
  - test/acceptance/creating_a_release_test.rb
3226
3244
  - test/acceptance/rejecting_malformed_requests_test.rb
@@ -1,7 +0,0 @@
1
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
2
-
3
- ENGINE_ROOT = File.expand_path('../..', __FILE__)
4
- ENGINE_PATH = File.expand_path('../../lib/houston/<%= name -%>/engine', __FILE__)
5
-
6
- require 'rails/all'
7
- require 'rails/engine/commands'
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class <%= camelized %>Test < ActiveSupport::TestCase
4
- test "truth" do
5
- assert_kind_of Module, Houston::<%= camelized %>
6
- end
7
- end
@@ -1,11 +0,0 @@
1
- require 'test_helper'
2
-
3
- class NavigationTest < ActionDispatch::IntegrationTest
4
- <% unless options[:skip_active_record] -%>
5
- fixtures :all
6
- <% end -%>
7
-
8
- # test "the truth" do
9
- # assert true
10
- # end
11
- end