react-rails-api 0.1.3 → 0.1.4

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: 4e5a9f24471e54d7e380dbc368e23e2b274fabb05846966b178a793da99dde96
4
- data.tar.gz: 3afb77d6f33dca816aeb0d20503721f7d84ddeb884ede10f122cf7d4f388293e
3
+ metadata.gz: 0fa4d6bae9dfa9a26bf64a325c48a82ffe2ccb155c51cd240554ac9dc81156c6
4
+ data.tar.gz: be5fb559bf3a8792c692ae0d6c233729bf42a8d3fd466799782110db73623bc5
5
5
  SHA512:
6
- metadata.gz: dcf69f0e4295aed11496fc64d65c80b9d8330810135bed47740f078e7f78dcd45f4f95bbda79cc87b6728da09a55e4927dcf716a2d77bd970c4377440954cbc4
7
- data.tar.gz: 5086f45d6649ff1c70d55581aa7a3118ac3fe009d9406ffcd226710e6fd49ed2479c626767f07a1ea1f5c7ac111c7c849d906c738f08a544025fa384c7b6f1ec
6
+ metadata.gz: 102bdfab109a8f14958cd2e9bd40b8745a732ea02c08b1a1d9948aa576c1b3ee85bfad3fec61e9a7f8d59560b1675e2e9287a737d4edcbd5c6acb8992b466f48
7
+ data.tar.gz: cd9be8be45c27a06f5bcbb1b180dfaa6fa4a5d93310b6fd9e0c51aeaeda32aa3826f7ee05d2bfe072fd5d3a7b95198dccdc9f53c97c1a07eca4de1a5f93817df
@@ -128,8 +128,12 @@ after_bundle do
128
128
  run 'yarn create react-app client'
129
129
 
130
130
  inside 'client' do
131
- # Add a proxy for the Rails API server (on the client)
132
- modify_json('package.json') {|json| json[:proxy] = 'http://localhost:3001'}
131
+ modify_json 'package.json' do |json|
132
+ # Add a MIT license
133
+ json[:license] = 'MIT'
134
+ # Add a proxy for the Rails API server (on the client)
135
+ json[:proxy] = 'http://localhost:3001'
136
+ end
133
137
  # Add environment variable for skipping preflight checks (client-level)
134
138
  file '.env', template('.env.tt')
135
139
  end
@@ -6,8 +6,8 @@ namespace :start do
6
6
 
7
7
  desc 'Start production server'
8
8
  task :production do
9
- exec 'NPM_CONFIG_PRODUCTION=true npm run postinstall && foreman start'
9
+ exec 'NPM_CONFIG_PRODUCTION=true yarn postinstall && foreman start'
10
10
  end
11
11
  end
12
12
 
13
- task :start => 'start:development'
13
+ task start: 'start:development'
@@ -2,7 +2,7 @@ module ReactRailsAPI
2
2
  VERSION = {
3
3
  major: 0,
4
4
  minor: 1,
5
- patch: 3,
5
+ patch: 4,
6
6
  meta: nil
7
7
  }.values.reject(&:nil?).map(&:to_s)*?.
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react-rails-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edwin Onuonga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-14 00:00:00.000000000 Z
11
+ date: 2019-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor