abraham 2.0.0 → 2.0.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
  SHA256:
3
- metadata.gz: c8a61048b60ffe74990a86c146886551d315f2da86eb70ce31f5b28dcdb4fe5e
4
- data.tar.gz: 8dc414098b445450cf739cec4b5b43b4b15c0322bacbc2d5dc4b2ba3f2e3aa45
3
+ metadata.gz: 6766542fe76a7eefa7280d3c34fff106a258774241e3bbc1884c56d666f71bdc
4
+ data.tar.gz: ec139d435f64bc6313f4f74d81390fbe857fff402061f70ded06187fc2f7515d
5
5
  SHA512:
6
- metadata.gz: 17a96b08513bd5adda880abe973557c685b8c4b4d0aba48475ec6c1dcf5fcda2192f72a3536ab5fa01f7740353dcc38e24e9a2a8236a3e3684c17050b679f486
7
- data.tar.gz: 57d9abd011c6168fabfba830288f0855a9a24e40a634254264d453efb3d2c556d7ef685b751729bcd9e69ba460cf0652415d20ab82f03244a2e85775d869eebd
6
+ metadata.gz: '069acca6d49c6c01019d99d074d7257559ecbbba8adf03420052b8064188d8569465f941c79548c0611ae9bcc3900a0239328e2b849d2a0ce179a4c58059d588'
7
+ data.tar.gz: 9d4e61ad24f316461e75e3fa9800bd4c16bf68e2a8e2dbec3a7c8c292d2e83e175b0c610f63613005250005e289ee190ecc56e067a769329abf065dd84bc99d6
data/README.md CHANGED
@@ -134,6 +134,10 @@ Rails.application.configure do
134
134
  end
135
135
  ```
136
136
 
137
+ ## Full example
138
+
139
+ We provide a [small example app](https://github.com/actmd/abraham-example) that implements abraham, so you can see it in action.
140
+
137
141
  ## Upgrading from version 1
138
142
 
139
143
  Abraham v1 was built using Shepherd 1.8, v2 now uses Shepherd 6 -- quite a jump, yes.
@@ -144,11 +148,7 @@ If you were using Abraham v1, you'll want to take the following steps to upgrade
144
148
  1. Fix your yarn dependencies to use the right versions
145
149
  1. Shepherd no longer provides a set of themes. Abraham maintains two of the legacy themes: default and dark. You'll want to choose one of those or migrate your theme to the new Shepherd structure.
146
150
  1. Abraham now exposes the entire Shepherd configuration object, so your `abraham.yml` file should now fully define the `tour_options` value instead of `default_theme`
147
- 1. There's been a slight change to `initializers/abraham.rb`. You can just change line 22 to:
148
-
149
- ```rb
150
- config.abraham.tour_options = abraham_config[:tour_options]
151
- ```
151
+ 1. There's been a slight change to `initializers/abraham.rb`. Replace yours with [the latest](https://github.com/actmd/abraham/blob/master/lib/generators/abraham/templates/initializer.rb).
152
152
 
153
153
  If you have any trouble at all, please [submit an issue](https://github.com/actmd/abraham/issues) for assistance!
154
154
 
@@ -1,5 +1,5 @@
1
1
  <script>
2
- const tour = new Shepherd.Tour(<%= Rails.configuration.abraham.tour_options.html_safe unless Rails.configuration.abraham.tour_options.nil? %>);
2
+ var tour = new Shepherd.Tour(<%= Rails.configuration.abraham.tour_options.html_safe unless Rails.configuration.abraham.tour_options.nil? %>);
3
3
 
4
4
  tour.on("complete", function() {
5
5
  // ajax
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Abraham
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.2"
5
5
  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: 2.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Abbett
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-17 00:00:00.000000000 Z
11
+ date: 2019-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sassc-rails