teapot 1.2.0 → 1.2.1
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 +4 -4
- data/lib/teapot/command.rb +8 -8
- data/lib/teapot/version.rb +1 -1
- data/teapot.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 621d46ea24f0a67d3233b6670f08b289dc0332b1
|
4
|
+
data.tar.gz: f3d60da9f431d9b1e8456957589b2842bd31a006
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 719882fbd486b5db47a55c0a67c98fabde72501d445b3e5409faebd51de874f674467a2a4a795458587b9abf5b39c00c20551e3493ba1409690abec492edba76
|
7
|
+
data.tar.gz: 276aaa3f2cd367815baf889d23f47202ee25166a57c7512f8cd412f6daa497f9d260b25276f96702a7765727860f90307b81544b60ace2fb79927b9fa8749b23
|
data/lib/teapot/command.rb
CHANGED
@@ -29,11 +29,11 @@ require_relative 'controller/visualize'
|
|
29
29
|
|
30
30
|
require_relative 'repository'
|
31
31
|
|
32
|
-
require '
|
32
|
+
require 'samovar'
|
33
33
|
|
34
34
|
module Teapot
|
35
35
|
module Command
|
36
|
-
class Create <
|
36
|
+
class Create < Samovar::Command
|
37
37
|
self.description = "Create a new teapot package using the specified repository."
|
38
38
|
|
39
39
|
one :project_name, "The name of the new project in title-case, e.g. 'My Project'."
|
@@ -57,7 +57,7 @@ module Teapot
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
class Generate <
|
60
|
+
class Generate < Samovar::Command
|
61
61
|
self.description = "Run a generator to create files in your project."
|
62
62
|
|
63
63
|
options do
|
@@ -74,7 +74,7 @@ module Teapot
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
class Fetch <
|
77
|
+
class Fetch < Samovar::Command
|
78
78
|
self.description = "Fetch remote packages according to the specified configuration."
|
79
79
|
|
80
80
|
# 3 typical use cases:
|
@@ -92,7 +92,7 @@ module Teapot
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
-
class List <
|
95
|
+
class List < Samovar::Command
|
96
96
|
self.description = "List provisions and dependencies of the specified package."
|
97
97
|
|
98
98
|
many :packages, "Limit the listing to only these packages, or all packages if none specified."
|
@@ -106,7 +106,7 @@ module Teapot
|
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
109
|
-
class Build <
|
109
|
+
class Build < Samovar::Command
|
110
110
|
self.description = "Build the specified target."
|
111
111
|
|
112
112
|
options do
|
@@ -126,7 +126,7 @@ module Teapot
|
|
126
126
|
end
|
127
127
|
end
|
128
128
|
|
129
|
-
class Clean <
|
129
|
+
class Clean < Samovar::Command
|
130
130
|
self.description = "Delete everything in the teapot directory."
|
131
131
|
|
132
132
|
def invoke(parent)
|
@@ -134,7 +134,7 @@ module Teapot
|
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
137
|
-
class Top <
|
137
|
+
class Top < Samovar::Command
|
138
138
|
self.description = "A decentralised package manager and build tool."
|
139
139
|
#version "1.0.0"
|
140
140
|
|
data/lib/teapot/version.rb
CHANGED
data/teapot.gemspec
CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_dependency "build", "~> 1.0.7"
|
37
37
|
spec.add_dependency "build-files", "~> 1.0.4"
|
38
38
|
|
39
|
-
spec.add_dependency "
|
39
|
+
spec.add_dependency "samovar", "~> 1.0.0"
|
40
40
|
|
41
41
|
# This could be a good option in the future for teapot fetch:
|
42
42
|
#spec.add_dependency "rugged"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teapot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rainbow
|
@@ -81,19 +81,19 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 1.0.4
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: samovar
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.
|
89
|
+
version: 1.0.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0.
|
96
|
+
version: 1.0.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: bundler
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|