breezy 0.16.0 → 0.17.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7330701e3bc71f9bd97e83874ff1eb427a8ec494a7ef24c81eccda4c0185ea2
|
4
|
+
data.tar.gz: 8bf94cc1111dddfe77d72179a3a3ae7b830e509ef9674aeccc0fd0feb56415e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c749976efa29d40abba76909bdac819e297a03cf42ad6e1ad3b3f4bb3456dd325be9d699602c718e0c4f2db5782b15a9c9fc3d0878993126619ce4ba8b7a36b1
|
7
|
+
data.tar.gz: 29243408e2b5a451343d95f98a8e4da3f2393bfd3990abff661c908853f4262f9748051bbf0814f6f4b914f8071fe24b39251865b67b74bcc5229fd7fff5776f
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import {mapStateToProps, mapDispatchToProps} from '@jho406/breezy'
|
3
3
|
import {connect} from 'react-redux'
|
4
|
-
import RailsTag from '@jho406/breezy/
|
4
|
+
import RailsTag from '@jho406/breezy/components/RailsTag'
|
5
5
|
import * as applicationActionCreators from 'javascript/packs/action_creators'
|
6
6
|
|
7
7
|
class <%= plural_table_name.camelize %>Edit extends React.Component {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import {mapStateToProps, mapDispatchToProps} from '@jho406/breezy'
|
3
3
|
import {connect} from 'react-redux'
|
4
|
-
import RailsTag from '@jho406/breezy/
|
4
|
+
import RailsTag from '@jho406/breezy/components/RailsTag'
|
5
5
|
import * as applicationActionCreators from 'javascript/packs/action_creators'
|
6
6
|
|
7
7
|
class <%= plural_table_name.camelize %>New extends React.Component {
|
@@ -6,8 +6,8 @@ import { Provider } from 'react-redux'
|
|
6
6
|
import { render } from 'react-dom'
|
7
7
|
import { createBrowserHistory, createMemoryHistory } from 'history'
|
8
8
|
import { start } from '@jho406/breezy'
|
9
|
-
import Nav from '@jho406/breezy/
|
10
|
-
import ujsHandlers from '@jho406/breezy/
|
9
|
+
import Nav from '@jho406/breezy/components/NavComponent'
|
10
|
+
import { ujsHandlers } from '@jho406/breezy/utils'
|
11
11
|
import { persistStore, persistReducer } from 'redux-persist'
|
12
12
|
import storage from 'redux-persist/lib/storage'
|
13
13
|
import { applicationRootReducer, applicationPagesReducer } from './reducer'
|
data/lib/install/web.rb
CHANGED
@@ -56,10 +56,13 @@ say "Adding required member methods to ApplicationRecord"
|
|
56
56
|
add_member_methods
|
57
57
|
|
58
58
|
say "Installing React, Redux, and Breezy"
|
59
|
-
run "yarn add babel-plugin-module-resolver
|
59
|
+
run "yarn add babel-plugin-module-resolver history@\"^4\" html-react-parser@\"^0.13\" react-redux redux-thunk redux redux-persist reduce-reducers immer @jho406/breezy --save"
|
60
60
|
|
61
61
|
say "Updating webpack config to include .jsx file extension and resolved_paths"
|
62
62
|
insert_into_file Webpacker.config.config_path, " - .jsx\n", after: /extensions:\n/
|
63
|
+
# For newer webpacker
|
64
|
+
insert_into_file Webpacker.config.config_path, "'app/views', 'app/components'", after: /additional_paths: \[/
|
65
|
+
# For older webpacker
|
63
66
|
insert_into_file Webpacker.config.config_path, "'app/views', 'app/components'", after: /resolved_paths: \[/
|
64
67
|
|
65
68
|
say "Webpacker now supports breezy.js 🎉", :green
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: breezy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johny Ho
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.17.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.17.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: webpacker
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
210
|
- !ruby/object:Gem::Version
|
211
211
|
version: '0'
|
212
212
|
requirements: []
|
213
|
-
rubygems_version: 3.
|
213
|
+
rubygems_version: 3.1.2
|
214
214
|
signing_key:
|
215
215
|
specification_version: 4
|
216
216
|
summary: Rails integration for BreezyJS
|