gaudi 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77321df0111eaf2148d6b74d0ae49d30bf0f2bbb73ba3b6e2639155d8933416b
4
- data.tar.gz: 5a0778512d78e357e55203d53fc5e937ed7ca666aaa9c587efabba7c8a2608bf
3
+ metadata.gz: d425c65ff8ab197db1de6387afbe72de23694f6d9a0ba73a6e3d0a43e285cf18
4
+ data.tar.gz: a433974a1491487d6988caa842faf062490d6942ac6c05946aaeec262ae97bff
5
5
  SHA512:
6
- metadata.gz: 88cd01d9ed7749596dc4e69ddd08b9f146d0a725e242fa014989a5443b2ffed8429b73ef157acf0ed3eb9e82f5e1b942e2c7fccf0c0afa4bcaf3af464c175074
7
- data.tar.gz: ce265298b4cbdba522adb46734b67a71a334a11591b63dff1d5f7b38e9a52148288bbe563be8d4f13d199ee0826ec73010b28c58d6b21f97b8b04446ac37e2f8
6
+ metadata.gz: 4b4f19b172304c589d0fe8b15a89c481bd10b39f5693cb9737dd71a4880c925adcd5bfc68c9fdc88d075bc0a16af56eae30afb540a43583a7571f2e753d99789
7
+ data.tar.gz: 5da13e53d589312716b8b4b8c7d1a7da23f3cbbca2491a57782cb7cad78be40c1754dbfa53669921583e7b1d7d104082a6aa761ffc2c808f5a1dc91b3c503599
data/History.txt CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.0
4
+
5
+ * Allow for specifying the revision to pull when scaffolding of pulling a gaudi module
6
+
3
7
  ## 0.7.0
4
8
 
5
9
  * A module can now be pulled from a standard gaudi installation as well as a repo with a lib/ subdirectory
@@ -22,7 +22,7 @@ module Gaudi
22
22
  options.scaffold = false
23
23
  options.update = false
24
24
  options.library = false
25
- options.version = "HEAD"
25
+ options.revision = "HEAD"
26
26
 
27
27
  opt_parser = OptionParser.new do |opts|
28
28
  opts.banner = "Usage: gaudi [options]"
@@ -59,6 +59,9 @@ module Gaudi
59
59
  opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
60
60
  options.verbose = v
61
61
  end
62
+ opts.on("-r", "--revision REVISION", "Revision of source repository to use") do |rev|
63
+ options.revision = rev
64
+ end
62
65
  opts.on_tail("-h", "--help", "Show this message") do
63
66
  puts opts
64
67
  exit
@@ -81,11 +84,11 @@ module Gaudi
81
84
  opts = options(args)
82
85
  begin
83
86
  if opts.scaffold
84
- Gaudi::Gem.new(opts.project_root).project(opts.version)
87
+ Gaudi::Gem.new(opts.project_root).project(opts.revision)
85
88
  elsif opts.update
86
- Gaudi::Gem.new(opts.project_root).update(opts.version)
89
+ Gaudi::Gem.new(opts.project_root).update(opts.revision)
87
90
  elsif opts.library
88
- Gaudi::Gem.new(opts.project_root).library(opts.lib, opts.url, opts.version)
91
+ Gaudi::Gem.new(opts.project_root).library(opts.lib, opts.url, opts.revision)
89
92
  end
90
93
  rescue Gaudi::GemError
91
94
  puts $!.message
data/lib/gaudi/version.rb CHANGED
@@ -5,7 +5,7 @@ module Gaudi
5
5
  # Major version
6
6
  MAJOR = 0
7
7
  # Minor version
8
- MINOR = 7
8
+ MINOR = 8
9
9
  # Tiny version
10
10
  TINY = 0
11
11
  # All-in-one
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaudi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vassilis Rizopoulos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-29 00:00:00.000000000 Z
11
+ date: 2025-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitar
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '3.23'
53
+ version: '4.0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '3.23'
60
+ version: '4.0'
61
61
  description: "## DESCRIPTION\n\nThis gem provides setup, scaffolding and maintenance
62
62
  functions for [gaudi](http://github.com/damphyr/gaudi) installations.\n\n## USAGE\n\nTo
63
63
  create a directory structure for a Gaudi based project:\n\n```bash\ngaudi -s project/root
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.1.6
107
+ rubygems_version: 3.5.9
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Scaffolding and version management for Gaudi