Skip to content

Commit 036f5b8

Browse files
committed
Change Shakapacker spelling
1 parent 376c2fa commit 036f5b8

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

react-rails.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
77
s.name = 'react-rails'
88
s.version = React::Rails::VERSION
99
s.summary = 'React integration for Ruby on Rails'
10-
s.description = 'Render components in views or controller actions. Server-side rendering powered by ExecJS. Transform JSX in the asset pipeline or use Webpacker.'
10+
s.description = 'Render components in views or controller actions. Server-side rendering powered by ExecJS. Transform JSX in the asset pipeline or use Shakapacker.'
1111
s.homepage = 'https://github.com/reactjs/react-rails'
1212
s.license = 'Apache-2.0'
1313

test/dummy/app/javascript/components/GreetingMessage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = createReactClass({
1717
},
1818
render: function() {
1919
return React.createElement('div', {},
20-
React.createElement('div', {}, this.state.greeting, ' from Webpacker ', this.props.name ),
20+
React.createElement('div', {}, this.state.greeting, ' from Shakapacker ', this.props.name ),
2121
React.createElement('button', {onClick: this.goodbye}, 'Goodbye')
2222
);
2323
}

test/dummy/app/javascript/components/TodoList.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = createReactClass({
1616
{this.props.todos.map(function(todo, i) {
1717
return (<li key={i}>{todo}</li>)
1818
})}
19-
<li>From Webpacker</li>
19+
<li>From Shakapacker</li>
2020
</ul>
2121
)
2222
}

test/dummy/config/webpack/production.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Below code should get refactored but the current way that rails/webpacker v5
2-
// does the globals, it's tricky
31
const webpackConfig = require('./serverClientOrBoth')
42

53
const productionEnvOnly = (_clientWebpackConfig, _serverWebpackConfig) => {

0 commit comments

Comments
 (0)