loco_motion-rails 0.7.1 → 0.7.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 +1 -1
- data/lib/loco_motion/version.rb +1 -1
- data/lib/loco_motion.rb +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c1e2064de5c57e70cf6f0b2e61057e166f8e4b39669d5b6ec4bb3d41c06ebe1
|
|
4
|
+
data.tar.gz: 9d5ad71f1619b3d9ae10f98df50e4a8dd7b273bd7a5fe828d00c1cc2e523c7c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd122b7a3c23d4990191e68cdaf1a2c04bf9b6f665f59b2a1f98ae6450a9882e40ebd0e8c4454f155f28e0df3d9ed952924604b7951ad98dcfc37f051775d068
|
|
7
|
+
data.tar.gz: 45791ba5d0bb690b0289f912d7b779322ab3865a4134779237892ce80c86cbf3f4142ff415eb33d135f45cf42a3c4493fc8db39bb3ac7b0f628a124bdacfac96
|
data/README.md
CHANGED
|
@@ -70,7 +70,7 @@ Add the gem to your `Gemfile` and run `bundle`:
|
|
|
70
70
|
|
|
71
71
|
```ruby
|
|
72
72
|
# Gemfile
|
|
73
|
-
gem "loco_motion-rails", "~> 0.7.
|
|
73
|
+
gem "loco_motion-rails", "~> 0.7.2", require: "loco_motion"
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
Some components also need a JavaScript package (for their Stimulus controllers)
|
data/lib/loco_motion/version.rb
CHANGED
data/lib/loco_motion.rb
CHANGED
|
@@ -5,6 +5,13 @@ require "haml-rails"
|
|
|
5
5
|
|
|
6
6
|
require "view_component"
|
|
7
7
|
|
|
8
|
+
# Load VERSION first: nothing else here requires it, and only path/git
|
|
9
|
+
# installs got it by accident (Bundler evaluates their gemspec, whose
|
|
10
|
+
# require_relative defines the constant as a side effect). Registry installs
|
|
11
|
+
# never run the gemspec, so without this line LocoMotion::VERSION is
|
|
12
|
+
# undefined for real consumers.
|
|
13
|
+
require "loco_motion/version"
|
|
14
|
+
|
|
8
15
|
require "loco_motion/errors"
|
|
9
16
|
require "loco_motion/configuration"
|
|
10
17
|
require "loco_motion/concerns/inspectable_component"
|