abraham 2.0.0 → 2.0.2
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 +4 -4
- data/README.md +5 -5
- data/app/views/application/_abraham.html.erb +1 -1
- data/lib/abraham/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6766542fe76a7eefa7280d3c34fff106a258774241e3bbc1884c56d666f71bdc
|
|
4
|
+
data.tar.gz: ec139d435f64bc6313f4f74d81390fbe857fff402061f70ded06187fc2f7515d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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`.
|
|
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
|
-
|
|
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
|
data/lib/abraham/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2019-10-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sassc-rails
|