origen_app_generators 0.0.2 → 0.0.3

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: b62097b0a52eb5b3b37d8861518f5673c23bc609
4
- data.tar.gz: 53dba9b5c337583764bb55fd591bdd82091cd4fe
3
+ metadata.gz: 33cb984e45e37d72975819a593e86344319d9740
4
+ data.tar.gz: 395d5c5f0168dc3440593a50205015977910755b
5
5
  SHA512:
6
- metadata.gz: 4054a7da719c69903d3f00e3623e6f9404698e3d71c81324aa55dc83cf92308c2e6055e22131102219001084ab79a73082af4b43348e7ef85843bce2c6c73e08
7
- data.tar.gz: ff3a36f08acdadb8dff73c87b9c6426d36bc1825829cec4bab95632a4bea9b0885242e71f6ce112f9edb7aa4e683f2212c3f0062a2f73d58b25dde281fcd6629
6
+ metadata.gz: baed87490e8e0137b4d9af0234dd4bc2b73f70432866e76a40edc920c757416faaf301425110c1a09fe378d127ed2d35608cb93526c1fd05bfc45b63bad36c52
7
+ data.tar.gz: 9647e1fa305fa8c0c117f19364f5b5c981ffe2ba4b1c1b1f069b218865d517235ada00de734359c5e16edf968aa28f5cc50d6614f18f3cb2560ae9ece772fb3f
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module OrigenAppGenerators
2
2
  MAJOR = 0
3
3
  MINOR = 0
4
- BUGFIX = 2
4
+ BUGFIX = 3
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -27,11 +27,11 @@ module OrigenAppGenerators
27
27
 
28
28
  def get_common_user_input
29
29
  get_name_and_namespace
30
- get_revision_control
30
+ # get_revision_control
31
31
  end
32
32
 
33
33
  def get_lastest_origen_version
34
- (Gems.info 'origen')['version']
34
+ @latest_origen_version = (Gems.info 'origen')['version']
35
35
  end
36
36
 
37
37
  protected
@@ -125,7 +125,6 @@ module OrigenAppGenerators
125
125
  proposal = @name.to_s.camelize
126
126
  end
127
127
  proposal = nil if proposal.length < 3
128
- proposal.gsub(/Rgen/i, 'Origen') if proposal
129
128
 
130
129
  valid = false
131
130
  until valid
@@ -1,9 +1,8 @@
1
1
  source 'https://rubygems.org'
2
- source 'http://origen-hub.am.freescale.net:9292'
3
2
 
4
- gem "origen_core", ">= <%= @latest_origen_version %>"
3
+ gem "origen", ">= <%= @latest_origen_version %>"
5
4
 
6
- gem "doc_helpers"
5
+ #gem "doc_helpers"
7
6
 
8
7
  if RUBY_VERSION >= '2.0.0'
9
8
  gem 'byebug', '~>3.5'
@@ -1,7 +1,7 @@
1
1
  require 'origen'
2
2
  class <%= @namespace %>Application < Origen::Application
3
3
 
4
- # See http://origen.freescale.net/origen/latest/api/Origen/Application/Configuration.html
4
+ # See http://origen-sdk.org/origen/latest/api/Origen/Application/Configuration.html
5
5
  # for a full list of the configuration options available
6
6
 
7
7
  # These attributes should never be changed, the duplication here will be resolved in future
@@ -10,22 +10,19 @@ class <%= @namespace %>Application < Origen::Application
10
10
  self.namespace = "<%= @namespace %>"
11
11
  config.name = "<%= @name %>"
12
12
  config.initials = "<%= @namespace %>"
13
- config.vault = "<%= @vault %>"
13
+ config.rc_url = ""
14
14
 
15
15
  # To enable deployment of your documentation to a web server (via the 'origen web'
16
- # command) fill in these attributes. The example here is configured to deploy to
17
- # the origen.freescale.net domain, which is an easy option if you don't have another
18
- # server already in mind. To do this you will need an account on CDE and to be a member
19
- # of the 'origen' group.
16
+ # command) fill in these attributes.
20
17
  config.web_directory = "/proj/.web_origen/html/<%= @name %>"
21
- config.web_domain = "http://origen.freescale.net/<%= @name %>"
18
+ config.web_domain = "http://origen-sdk.org/<%= @name %>"
22
19
 
23
20
  # When false Origen will be less strict about checking for some common coding errors,
24
21
  # it is recommended that you leave this to true for better feedback and easier debug.
25
22
  # This will be the default setting in Origen v3.
26
23
  config.strict_errors = true
27
24
 
28
- # See: http://origen.freescale.net/origen/latest/guides/utilities/lint/
25
+ # See: http://origen-sdk.org/origen/latest/guides/utilities/lint/
29
26
  config.lint_test = {
30
27
  # Require the lint tests to pass before allowing a release to proceed
31
28
  run_on_tag: true,
@@ -14,7 +14,7 @@ module Origen
14
14
  @users ||= [
15
15
 
16
16
  # Admins - Notified on every tag
17
- User.new("<%= User.current.name %>", "<%= User.current.core_id %>", :admin),
17
+ User.new("<%= User.current.name %>", "<%= User.current.id %>", :admin),
18
18
 
19
19
  # Users - Notified on official release tags only
20
20
  #User.new("Stephen McGinty", "r49409"),
@@ -1,5 +1,4 @@
1
1
  source 'https://rubygems.org'
2
- source 'http://origen-hub.am.freescale.net:9292'
3
2
 
4
3
  # Specify your gem's dependencies in <%= @name %>.gemspec
5
4
  gemspec
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ["lib"]
25
25
 
26
26
  # Add any gems that your plugin needs to run within a host application
27
- spec.add_runtime_dependency "origen_core", ">= <%= @latest_origen_version %>"
27
+ spec.add_runtime_dependency "origen", ">= <%= @latest_origen_version %>"
28
28
  <% if @runtime_dependencies -%>
29
29
  <% @runtime_dependencies.each do |dep| -%>
30
30
  spec.add_runtime_dependency <%= dep.map{ |d| "\"#{d}\"" }.join(', ') %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_app_generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty