abraham 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 798c89c53a20fc5d954a4cee99c150957ff815e7
4
- data.tar.gz: 2d6a3652a30b984510758e00fbf3683701b75c13
3
+ metadata.gz: 83d11a1352ea5de72d10a8fcda202be22ecf89c4
4
+ data.tar.gz: 0ee13be0fd3ea208cb4507cf7850404b38ce8596
5
5
  SHA512:
6
- metadata.gz: 2999a0ea6b03b1552d5c5d3acb9a48799c5241b5ab5d0a7b2964594848cb15688e1811a2c973fe119dab2d60e14488cb6731508fe52dbebacd473db40be80ca2
7
- data.tar.gz: 3a3beb3fdc9eee073339a2269d783b6f683a22e5b280859ce6ecc28fb652eacee16b010d3e4ecd1f55105662f6e252c42d46193a69ee5129f61087277236503d
6
+ metadata.gz: 10b216baee44e1f4dceecf7d60bc7c656d09f24c4d9a8545ff2e696557c40e4bd1b8c8ff496114bce61a107356be6b95c95aeeed5f8f6d9f29e3428716e85f1e
7
+ data.tar.gz: 9f1cf539e22d4d5eb78f5c24f53c5e16630b93abd4383154e5417d887fd8c213eb04f2aca36726115e1fdd8bc91693552190f20b357bf6e61bb7108ed4f11d10
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
- class AbrahamHistory < ApplicationRecord
2
+ class AbrahamHistory < ActiveRecord::Base
3
3
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Abraham
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
@@ -21,6 +21,7 @@ module Abraham
21
21
  def create_initializer
22
22
  return if options['skip-initializer']
23
23
  copy_file 'initializer.rb', 'config/initializers/abraham.rb'
24
+ copy_file 'abraham.yml', 'config/abraham.yml'
24
25
  end
25
26
  end
26
27
  end
@@ -0,0 +1,11 @@
1
+ defaults: &defaults
2
+ :default_theme: 'shepherd-theme-default'
3
+
4
+ development:
5
+ <<: *defaults
6
+
7
+ test:
8
+ <<: *defaults
9
+
10
+ production:
11
+ <<: *defaults
@@ -16,6 +16,8 @@ Rails.application.configure do
16
16
  end
17
17
  end
18
18
 
19
- config.abraham.default_theme = 'shepherd-theme-default'
19
+ abraham_config = Rails.application.config_for :abraham
20
+ config.abraham = ActiveSupport::OrderedOptions.new
21
+ config.abraham.default_theme = abraham_config[:default_theme]
20
22
  config.abraham.tours = tours
21
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abraham
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Abbett
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-21 00:00:00.000000000 Z
11
+ date: 2016-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -122,6 +122,7 @@ files:
122
122
  - lib/abraham/engine.rb
123
123
  - lib/abraham/version.rb
124
124
  - lib/generators/abraham/install_generator.rb
125
+ - lib/generators/abraham/templates/abraham.yml
125
126
  - lib/generators/abraham/templates/initializer.rb
126
127
  - lib/generators/abraham/templates/migration.rb
127
128
  - lib/tasks/abraham_tasks.rake