origen 0.60.13 → 0.60.16
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: 26003c462310b20599cefc143e3ccdd84896a52de79a80e3b6561f2e0c9619d0
|
4
|
+
data.tar.gz: 067676d06f39e6d5ba3480b6a8348157e577547d4f89628cd02d909a265560df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73c90c8916dba4816bc5de649bc61c196c98a30d9e270ce8e736abc44aad4fe6efa67532baf6f0c7577f69c79786828bd9fbe5a7bbb47a0050f331c68bda0a13
|
7
|
+
data.tar.gz: 18b24c01992283009e9e6abb73f7de84fc6a82e3f91e49033991a0dfa2e8a897e38ea9d8e9d849a5e58dfc283cfb0f34a3d3e641c9875567c01ddfbcf7b9d8b7
|
data/config/version.rb
CHANGED
@@ -139,13 +139,13 @@ module Origen
|
|
139
139
|
if File.exist?("#{dir}/.initial_populate_successful")
|
140
140
|
FileUtils.rm_f(version_file) if File.exist?(version_file)
|
141
141
|
rc = RevisionControl.new remote: rc_url, local: dir
|
142
|
-
rc.send rc.remotes_method, version: prefix_tag(tag), force: true
|
142
|
+
rc.send rc.remotes_method, version: prefix_tag(tag, remote), force: true
|
143
143
|
File.open(version_file, 'w') do |f|
|
144
144
|
f.write tag
|
145
145
|
end
|
146
146
|
else
|
147
147
|
rc = RevisionControl.new remote: rc_url, local: dir
|
148
|
-
rc.send rc.remotes_method, version: prefix_tag(tag), force: true
|
148
|
+
rc.send rc.remotes_method, version: prefix_tag(tag, remote), force: true
|
149
149
|
FileUtils.touch "#{dir}/.initial_populate_successful"
|
150
150
|
File.open(version_file, 'w') do |f|
|
151
151
|
f.write tag
|
@@ -342,13 +342,13 @@ module Origen
|
|
342
342
|
if File.exist?("#{dir}/.initial_populate_successful")
|
343
343
|
FileUtils.rm_f(version_file) if File.exist?(version_file)
|
344
344
|
rc = RevisionControl.new remote: rc_url, local: dir
|
345
|
-
rc.send rc.remotes_method, version: prefix_tag(tag), force: true
|
345
|
+
rc.send rc.remotes_method, version: prefix_tag(tag, remote), force: true
|
346
346
|
File.open(version_file, 'w') do |f|
|
347
347
|
f.write tag
|
348
348
|
end
|
349
349
|
else
|
350
350
|
rc = RevisionControl.new remote: rc_url, local: dir
|
351
|
-
rc.send rc.remotes_method, version: prefix_tag(tag), force: true
|
351
|
+
rc.send rc.remotes_method, version: prefix_tag(tag, remote), force: true
|
352
352
|
FileUtils.touch "#{dir}/.initial_populate_successful"
|
353
353
|
File.open(version_file, 'w') do |f|
|
354
354
|
f.write tag
|
@@ -382,10 +382,14 @@ module Origen
|
|
382
382
|
end
|
383
383
|
|
384
384
|
# If the supplied tag looks like a semantic version number, then make sure it has the
|
385
|
-
# 'v' prefix
|
386
|
-
def prefix_tag(tag)
|
385
|
+
# 'v' prefix unless the remote has explicitly disallowed the prefix
|
386
|
+
def prefix_tag(tag, remote = {})
|
387
|
+
remote = {
|
388
|
+
disable_tag_prefix: false
|
389
|
+
}.merge(remote)
|
390
|
+
|
387
391
|
tag = Origen::VersionString.new(tag)
|
388
|
-
if tag.semantic?
|
392
|
+
if tag.semantic? && !remote[:disable_tag_prefix]
|
389
393
|
tag.prefixed
|
390
394
|
else
|
391
395
|
tag
|
@@ -47,7 +47,9 @@ module Origen
|
|
47
47
|
|
48
48
|
version = options[:version] || current_branch
|
49
49
|
|
50
|
-
|
50
|
+
# Not trying to do a VersionString comparison, just determine if the
|
51
|
+
# string literal value of version == HEAD, hence the .to_s call
|
52
|
+
if version.to_s == 'HEAD'
|
51
53
|
puts "Sorry, but you are not currently on a branch and I don't know which branch you want to checkout"
|
52
54
|
puts 'Please supply a branch name as the version to checkout the latest version of it, e.g. origen rc co -v develop'
|
53
55
|
exit 1
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.8.11".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Stephen McGinty".freeze]
|
11
|
-
s.date = "
|
11
|
+
s.date = "2024-07-18"
|
12
12
|
s.email = ["stephen.f.mcginty@gmail.com".freeze]
|
13
13
|
s.files = ["bin/boot.rb".freeze, "config/application.rb".freeze, "config/boot.rb".freeze, "config/commands.rb".freeze, "config/shared_commands.rb".freeze, "config/version.rb".freeze, "lib/origen_app_generators.rb".freeze, "lib/origen_app_generators/application.rb".freeze, "lib/origen_app_generators/base.rb".freeze, "lib/origen_app_generators/empty_application.rb".freeze, "lib/origen_app_generators/empty_plugin.rb".freeze, "lib/origen_app_generators/new.rb".freeze, "lib/origen_app_generators/new_app_tests.rb".freeze, "lib/origen_app_generators/origen_infrastructure/app_generator_plugin.rb".freeze, "lib/origen_app_generators/plugin.rb".freeze, "lib/origen_app_generators/test_engineering/common.rb".freeze, "lib/origen_app_generators/test_engineering/stand_alone_application.rb".freeze, "lib/origen_app_generators/test_engineering/test_block.rb".freeze, "templates/app_generators".freeze, "templates/app_generators/application".freeze, "templates/app_generators/application/.gitignore".freeze, "templates/app_generators/application/.irbrc".freeze, "templates/app_generators/application/.rspec".freeze, "templates/app_generators/application/.travis.yml".freeze, "templates/app_generators/application/Gemfile".freeze, "templates/app_generators/application/Rakefile".freeze, "templates/app_generators/application/app".freeze, "templates/app_generators/application/app/blocks".freeze, "templates/app_generators/application/app/blocks/top_level.rb".freeze, "templates/app_generators/application/app/lib".freeze, "templates/app_generators/application/app/lib/module.rb".freeze, "templates/app_generators/application/app/templates".freeze, "templates/app_generators/application/app/templates/web".freeze, "templates/app_generators/application/app/templates/web/index.md.erb".freeze, "templates/app_generators/application/app/templates/web/layouts".freeze, "templates/app_generators/application/app/templates/web/layouts/_basic.html.erb".freeze, "templates/app_generators/application/app/templates/web/partials".freeze, "templates/app_generators/application/app/templates/web/partials/_navbar.html.erb".freeze, "templates/app_generators/application/app/templates/web/release_notes.md.erb".freeze, "templates/app_generators/application/config".freeze, "templates/app_generators/application/config/application.rb".freeze, "templates/app_generators/application/config/boot.rb".freeze, "templates/app_generators/application/config/commands.rb".freeze, "templates/app_generators/application/config/maillist_dev.txt".freeze, "templates/app_generators/application/config/maillist_prod.txt".freeze, "templates/app_generators/application/config/version.rb".freeze, "templates/app_generators/application/doc".freeze, "templates/app_generators/application/doc/history".freeze, "templates/app_generators/application/dot_keep".freeze, "templates/app_generators/application/origen_core_session".freeze, "templates/app_generators/application/spec".freeze, "templates/app_generators/application/spec/spec_helper.rb".freeze, "templates/app_generators/application/target".freeze, "templates/app_generators/application/target/debug.rb".freeze, "templates/app_generators/application/target/default.rb".freeze, "templates/app_generators/application/target/production.rb".freeze, "templates/app_generators/new".freeze, "templates/app_generators/new/generator.rb".freeze, "templates/app_generators/new/info.md.erb".freeze, "templates/app_generators/origen_infrastructure".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app/lib".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app/lib/application.rb".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app/lib/base.rb".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app/lib/module.rb".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app/lib/plugin.rb".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/config".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/config/load_generators.rb".freeze, "templates/app_generators/plugin".freeze, "templates/app_generators/plugin/Gemfile".freeze, "templates/app_generators/plugin/Rakefile".freeze, "templates/app_generators/plugin/app".freeze, "templates/app_generators/plugin/app/templates".freeze, "templates/app_generators/plugin/app/templates/web".freeze, "templates/app_generators/plugin/app/templates/web/index.md.erb".freeze, "templates/app_generators/plugin/app/templates/web/partials".freeze, "templates/app_generators/plugin/app/templates/web/partials/_navbar_external.html.erb".freeze, "templates/app_generators/plugin/app/templates/web/partials/_navbar_internal.html.erb".freeze, "templates/app_generators/plugin/config".freeze, "templates/app_generators/plugin/config/boot.rb".freeze, "templates/app_generators/plugin/gemspec.rb".freeze, "templates/app_generators/test_engineering".freeze, "templates/app_generators/test_engineering/environment".freeze, "templates/app_generators/test_engineering/environment/j750.rb".freeze, "templates/app_generators/test_engineering/environment/uflex.rb".freeze, "templates/app_generators/test_engineering/environment/v93k.rb".freeze, "templates/app_generators/test_engineering/stand_alone_application".freeze, "templates/app_generators/test_engineering/stand_alone_application/.keep".freeze, "templates/app_generators/test_engineering/test_block".freeze, "templates/app_generators/test_engineering/test_block/.keep".freeze]
|
14
14
|
s.homepage = "http://origen-sdk.org/origen_app_generators".freeze
|
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.60.
|
4
|
+
version: 0.60.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|