origen 0.35.1 → 0.36.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: 6b14091e38af4447d8953abb52a8b9cd3ee5cef2bbf0ffddab823bfd5c399445
4
- data.tar.gz: 857f1eacbdf3b6a01be3dc4d0a7997a2e2deda8a6dfb65b9df187e119afae22c
3
+ metadata.gz: cf61c021058415fdb5fe0aa76a1e66ed3c142803e1ebf29b4f3905ce4bbb1384
4
+ data.tar.gz: dcc822d38c0fcdeea4686729c285d50f1d4a6ed9d5a9e2065f2ac5423a66bf88
5
5
  SHA512:
6
- metadata.gz: 3cf5c56e0a399f1c3f17befeaccb0c7739b0731f09e041b4449d2d14a577ea813950822ddd91439694d18f5b4d6590c4add886f5bcbec8a38be3ce2cb7108ff6
7
- data.tar.gz: 803f2ff053951b2e6f16dafa98770edea566c315d2c270a7e624b83e478bb21804ef48f3cc77a996d7ccc3cd53fb29a3e2aca1af1c7b39f0d3d2fc79f498fad1
6
+ metadata.gz: 5b68ce80e155cec23d5b6639f3037126eebf7da4bb9d19b4ce80616a48884f6f2fe7ada074c2e9080d21341e95b801f2b439886d00cf69afd6a58e3ffbb9345d
7
+ data.tar.gz: d6544cd0270caa0e71161a1a12e0231409fc60a7395387dac05811c1ca602b686ceb688d40d4b43cab00c990a70f6c7bdf71cf756c802aed2d27b54c21492c9d
data/bin/origen CHANGED
@@ -170,6 +170,10 @@ if origen_root && File.exist?(ENV['BUNDLE_GEMFILE']) && Origen.site_config.gem_m
170
170
  end
171
171
  end
172
172
  require 'bundler/setup'
173
+ if Origen.site_config.use_bootsnap && !Origen.os.windows?
174
+ ENV["BOOTSNAP_CACHE_DIR"] ||= "#{origen_root}/tmp/cache"
175
+ require 'bootsnap/setup'
176
+ end
173
177
  require 'origen'
174
178
  else
175
179
  $LOAD_PATH.unshift "#{File.expand_path(File.dirname(__FILE__))}/../lib"
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
- MINOR = 35
4
- BUGFIX = 1
3
+ MINOR = 36
4
+ BUGFIX = 0
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -261,8 +261,10 @@ module Origen
261
261
  unless bits.access == :rw
262
262
  line << ", access: :#{bits.access}"
263
263
  end
264
- unless bits.reset_val == 0
265
- line << ", reset: #{bits.reset_val.to_hex}"
264
+ if bits.reset_val.is_a?(Symbol)
265
+ line << ", reset: :#{bits.reset_val}"
266
+ else
267
+ line << ", reset: #{bits.reset_val.to_hex}" unless bits.reset_val == 0
266
268
  end
267
269
  lines << line
268
270
  end
@@ -21,6 +21,13 @@
21
21
  # user (recommended)
22
22
  gem_manage_bundler: true
23
23
 
24
+ # Use the bootsnap gem (https://github.com/Shopify/bootsnap) to speed up the boot time of
25
+ # your Origen applications.
26
+ # This creates an offline cache in your app's tmp/cache directory and it can also increase
27
+ # the memory consumption of your app. As a reward, your app will load Ruby files significantly
28
+ # faster, often taking many seconds off the time it takes your app to start up.
29
+ use_bootsnap: true
30
+
24
31
  # WORKSPACE DIRECTORY SETUP
25
32
 
26
33
  # Defines where the home directory is
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.1
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-21 00:00:00.000000000 Z
11
+ date: 2018-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -360,6 +360,20 @@ dependencies:
360
360
  - - "~>"
361
361
  - !ruby/object:Gem::Version
362
362
  version: 2.10.0
363
+ - !ruby/object:Gem::Dependency
364
+ name: bootsnap
365
+ requirement: !ruby/object:Gem::Requirement
366
+ requirements:
367
+ - - ">="
368
+ - !ruby/object:Gem::Version
369
+ version: 1.3.2
370
+ type: :runtime
371
+ prerelease: false
372
+ version_requirements: !ruby/object:Gem::Requirement
373
+ requirements:
374
+ - - ">="
375
+ - !ruby/object:Gem::Version
376
+ version: 1.3.2
363
377
  description:
364
378
  email:
365
379
  - stephen.f.mcginty@gmail.com