railbus 0.2.0 → 0.2.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/generators/railbus/install_generator.rb +5 -1
- data/lib/railbus/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 74ca961ecee6d52dfc88a5aeec8f31514cb9a9c3a7f38f72196c071457c49a74
|
|
4
|
+
data.tar.gz: 0554b6578708ca46b022991be41f8a9ffb2fa3eb6e403b40ce1bb4e269072898
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecf3d7f262a0bb6773105d4a2287724038386529d20019c5e8e2bdc1db4930239bfb1c652929ace745b55a4620291ebc36945e024e43f7406acd29f9750fbbf8
|
|
7
|
+
data.tar.gz: d2a7ed62637b2d034becf32977a3b87a8b37b40aa19444a1117f08243dcbe682fdb165f5aa7281373c50a985fac228f76f548d1a30c7f43d2533ddbc6a183735
|
data/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,11 @@ module Railbus
|
|
|
6
6
|
desc 'Install dependencies and example file with routes'
|
|
7
7
|
|
|
8
8
|
def install
|
|
9
|
-
|
|
9
|
+
# It's important to reset `Dir.pwd` because it's set to
|
|
10
|
+
# parent dir of `Rails.root` while running `rails new` command.
|
|
11
|
+
Dir.chdir(::Rails.root) do
|
|
12
|
+
exit unless run 'yarn add @crosspath/yambus @crosspath/yambus-axios'
|
|
13
|
+
end
|
|
10
14
|
|
|
11
15
|
create_file('app/javascript/lib/routes.js.erb') do |f|
|
|
12
16
|
<<-LINE
|
data/lib/railbus/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: railbus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Evgeniy Nochevnov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
97
97
|
- !ruby/object:Gem::Version
|
|
98
98
|
version: '0'
|
|
99
99
|
requirements: []
|
|
100
|
-
rubygems_version: 3.
|
|
100
|
+
rubygems_version: 3.1.4
|
|
101
101
|
signing_key:
|
|
102
102
|
specification_version: 4
|
|
103
103
|
summary: Generate JS functions for XHR requests to Rails routes
|