origen_updater 0.5.0 → 0.6.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
  SHA1:
3
- metadata.gz: 08dbf08960d217d5e452f8378f8df694ae045f26
4
- data.tar.gz: a66cb51b66dc836e96ee2bd2d13b5912d0932539
3
+ metadata.gz: 169db43757a5f6b6e7e05dc4135128fc51990e70
4
+ data.tar.gz: cdc5aca8ddd3e5474662991858dbe3880dcc9911
5
5
  SHA512:
6
- metadata.gz: 290f4e7fd31a714f7dc7a695b0fdb7dda26ee7facf4df0fc39bb0de53860e4c5e4124ddb6f9ac6f40342a7f5ffbff04fefb2db027c4910b9dba65601611cef3a
7
- data.tar.gz: 9c87d1eb3a251495af3acf3e2792534caa0b0936ab72a9bd88f714ff20922e9c31a5d5a587cecf395b52922c457b876997d0b8534b297307c176f892c4314ba6
6
+ metadata.gz: 65997963c6716a4dcca203b0709e3510b89552e370ef37ccae1b9d5112b1f032e6c56ce7cca9900305d5ab31322e1bb474343a62d311707d0cc4ef61d13f204b
7
+ data.tar.gz: 44dd4f33a9bfb234072980b48b136b90f0ba92ef48f0207b0f1807def76d27c38b159cd4d26636a2d0a36cca9cd2a701f1ffb787c91de0b34ca699d12634cefe
data/bin/fix_my_workspace CHANGED
@@ -2,7 +2,7 @@
2
2
  $VERBOSE = nil # Don't care about world writable dir warnings and the like
3
3
 
4
4
  if $_fix_my_workspace_version_check
5
- $_fix_my_workspace_version = '0.5.0'
5
+ $_fix_my_workspace_version = '0.6.0'
6
6
  else
7
7
  require 'origen'
8
8
 
@@ -70,9 +70,23 @@ else
70
70
  fixed = true
71
71
  end
72
72
 
73
- `chmod o-w #{ENV['BUNDLE_BIN']}` if File.exist?(ENV['BUNDLE_BIN'])
73
+ if File.exist?(ENV['BUNDLE_BIN'])
74
+ `chmod o-w #{ENV['BUNDLE_BIN']}`
75
+
76
+ # Make .bat versions of all executables, Bundler should really be doing this when running
77
+ # on windows
78
+ if Origen.os.windows?
79
+ Dir.glob("#{ENV['BUNDLE_BIN']}/*").each do |bin|
80
+ unless bin =~ /.bat$/
81
+ bat = "#{bin}.bat"
82
+ unless File.exist?(bat)
83
+ File.open(bat, 'w') { |f| f.write('@"ruby.exe" "%~dpn0" %*') }
84
+ end
85
+ end
86
+ end
87
+ end
88
+ end
74
89
 
75
90
  system 'origen -v' if fixed
76
-
77
91
  end
78
92
  end
data/config/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module OrigenUpdater
2
2
  MAJOR = 0
3
- MINOR = 5
3
+ MINOR = 6
4
4
  BUGFIX = 0
5
5
  DEV = nil
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty