relish 0.5.0 → 0.5.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.
- data/.gitignore +2 -1
- data/lib/relish.rb +3 -2
- data/lib/relish/commands/base.rb +7 -1
- data/lib/relish/version.rb +1 -1
- data/relish.gemspec +4 -3
- data/spec/relish/commands/base_spec.rb +10 -4
- data/tags +177 -0
- metadata +12 -11
data/.gitignore
CHANGED
data/lib/relish.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'relish/version'
|
2
|
+
|
1
3
|
module Relish
|
2
4
|
class << self
|
3
5
|
|
@@ -15,7 +17,6 @@ module Relish
|
|
15
17
|
setting :global_options_file, File.join(File.expand_path('~'), '.relish')
|
16
18
|
setting :local_options_file, '.relish'
|
17
19
|
setting :default_host, 'api.relishapp.com'
|
20
|
+
setting :default_ssl, 'on'
|
18
21
|
end
|
19
22
|
end
|
20
|
-
|
21
|
-
require 'relish/version'
|
data/lib/relish/commands/base.rb
CHANGED
@@ -15,6 +15,7 @@ module Relish
|
|
15
15
|
|
16
16
|
option :api_token, :default => lambda { get_and_store_api_token }
|
17
17
|
option :host, :default => lambda { Relish.default_host }
|
18
|
+
option :ssl, :default => lambda { Relish.default_ssl }
|
18
19
|
|
19
20
|
attr_writer :args
|
20
21
|
attr_reader :cli_options
|
@@ -28,7 +29,7 @@ module Relish
|
|
28
29
|
end
|
29
30
|
|
30
31
|
def url
|
31
|
-
"
|
32
|
+
"#{protocol}://#{host}/api"
|
32
33
|
end
|
33
34
|
|
34
35
|
def get_param
|
@@ -37,6 +38,11 @@ module Relish
|
|
37
38
|
|
38
39
|
private
|
39
40
|
|
41
|
+
def protocol
|
42
|
+
return 'http' if ssl == 'off'
|
43
|
+
'https'
|
44
|
+
end
|
45
|
+
|
40
46
|
def project
|
41
47
|
merged_options['project'] || error(:project_blank)
|
42
48
|
end
|
data/lib/relish/version.rb
CHANGED
data/relish.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
2
|
+
require 'relish/version'
|
2
3
|
|
3
4
|
Gem::Specification.new do |s|
|
4
5
|
s.name = "relish"
|
@@ -31,8 +32,8 @@ Gem::Specification.new do |s|
|
|
31
32
|
{
|
32
33
|
'bundler' => '~> 1.0.0',
|
33
34
|
'rake' => '~> 0.8.7',
|
34
|
-
'rspec' => '~> 2.
|
35
|
-
'cucumber' => '~> 0.
|
35
|
+
'rspec' => '~> 2.6.0',
|
36
|
+
'cucumber' => '~> 1.0.2',
|
36
37
|
'aruba' => '~> 0.4.5',
|
37
38
|
'fakeweb' => '~> 1.3.0'
|
38
39
|
}.each do |lib, version|
|
@@ -7,16 +7,22 @@ module Relish
|
|
7
7
|
describe '#url' do
|
8
8
|
context 'host passed in command line' do
|
9
9
|
let(:base) { described_class.new(['--host', 'test.com']) }
|
10
|
-
specify { base.url.should eq('
|
10
|
+
specify { base.url.should eq('https://test.com/api') }
|
11
11
|
end
|
12
12
|
|
13
13
|
context 'host not passed in command line' do
|
14
14
|
let(:base) { described_class.new }
|
15
15
|
|
16
16
|
it 'returns the default host' do
|
17
|
-
base.url.should eq("
|
17
|
+
base.url.should eq("https://#{Relish.default_host}/api")
|
18
18
|
end
|
19
19
|
end
|
20
|
+
|
21
|
+
context '--ssl off switch passed' do
|
22
|
+
let(:base) { described_class.new(['--ssl', 'off']) }
|
23
|
+
specify { base.url.should =~ /^http:/ }
|
24
|
+
end
|
25
|
+
|
20
26
|
end
|
21
27
|
|
22
28
|
describe '#api_token' do
|
@@ -52,7 +58,7 @@ module Relish
|
|
52
58
|
endpoint = double
|
53
59
|
|
54
60
|
RestClient::Resource.stub(:new).
|
55
|
-
with(anything, :user => user, :password => password).
|
61
|
+
with(anything, :user => user, :password => password, :headers => anything).
|
56
62
|
and_return name => endpoint
|
57
63
|
|
58
64
|
endpoint
|
@@ -99,4 +105,4 @@ module Relish
|
|
99
105
|
|
100
106
|
end
|
101
107
|
end
|
102
|
-
end
|
108
|
+
end
|
data/tags
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
2
|
+
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
3
|
+
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
|
4
|
+
!_TAG_PROGRAM_NAME Exuberant Ctags //
|
5
|
+
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
|
6
|
+
!_TAG_PROGRAM_VERSION 5.8 //
|
7
|
+
== lib/relish/options_file.rb /^ def == (other)$/;" f class:Relish.OptionsFile
|
8
|
+
Base lib/relish/commands/base.rb /^ class Base$/;" c class:Relish.Command
|
9
|
+
ClassMethods lib/relish/resource_methods.rb /^ module ClassMethods$/;" m class:Relish.ResourceMethods
|
10
|
+
Collab lib/relish/commands/collab.rb /^ class Collab < Base$/;" c class:Relish.Command
|
11
|
+
Command lib/relish/command.rb /^ module Command$/;" m class:Relish
|
12
|
+
Command lib/relish/commands/base.rb /^ module Command$/;" m class:Relish
|
13
|
+
Command lib/relish/commands/collab.rb /^ module Command$/;" m class:Relish
|
14
|
+
Command lib/relish/commands/config.rb /^ module Command$/;" m class:Relish
|
15
|
+
Command lib/relish/commands/dsl.rb /^ module Command$/;" m class:Relish
|
16
|
+
Command lib/relish/commands/dsl/command.rb /^ class Command$/;" c class:Relish.Command.Dsl
|
17
|
+
Command lib/relish/commands/dsl/command.rb /^ module Command$/;" m class:Relish
|
18
|
+
Command lib/relish/commands/dsl/context_class.rb /^ module Command$/;" m class:Relish
|
19
|
+
Command lib/relish/commands/dsl/help_text.rb /^ module Command$/;" m class:Relish
|
20
|
+
Command lib/relish/commands/dsl/option.rb /^ module Command$/;" m class:Relish
|
21
|
+
Command lib/relish/commands/help.rb /^ module Command$/;" m class:Relish
|
22
|
+
Command lib/relish/commands/projects.rb /^ module Command$/;" m class:Relish
|
23
|
+
Command lib/relish/commands/push.rb /^ module Command$/;" m class:Relish
|
24
|
+
Command lib/relish/commands/versions.rb /^ module Command$/;" m class:Relish
|
25
|
+
Command lib/relish/param_methods.rb /^ module Command$/;" m class:Relish
|
26
|
+
Command spec/relish/commands/base_spec.rb /^ module Command$/;" m class:Relish
|
27
|
+
Command spec/relish/commands/config_spec.rb /^ module Command$/;" m class:Relish
|
28
|
+
Command spec/relish/commands/dsl/command_spec.rb /^ module Command$/;" m class:Relish
|
29
|
+
Command spec/relish/commands/dsl/help_text_spec.rb /^ module Command$/;" m class:Relish
|
30
|
+
Command spec/relish/commands/dsl/option_spec.rb /^ module Command$/;" m class:Relish
|
31
|
+
Command spec/relish/param_methods_spec.rb /^ module Command$/;" m class:Relish
|
32
|
+
Config lib/relish/commands/config.rb /^ class Config < Base$/;" c class:Relish.Command
|
33
|
+
ContextClass lib/relish/commands/dsl/context_class.rb /^ module ContextClass$/;" m class:Relish.Command.Dsl
|
34
|
+
Dsl lib/relish/commands/dsl.rb /^ module Dsl$/;" m class:Relish.Command
|
35
|
+
Dsl lib/relish/commands/dsl/command.rb /^ module Dsl$/;" m class:Relish.Command
|
36
|
+
Dsl lib/relish/commands/dsl/context_class.rb /^ module Dsl$/;" m class:Relish.Command
|
37
|
+
Dsl lib/relish/commands/dsl/help_text.rb /^ module Dsl$/;" m class:Relish.Command
|
38
|
+
Dsl lib/relish/commands/dsl/option.rb /^ module Dsl$/;" m class:Relish.Command
|
39
|
+
Dsl spec/relish/commands/dsl/command_spec.rb /^ module Dsl$/;" m class:Relish.Command
|
40
|
+
Dsl spec/relish/commands/dsl/help_text_spec.rb /^ module Dsl$/;" m class:Relish.Command
|
41
|
+
Dsl spec/relish/commands/dsl/option_spec.rb /^ module Dsl$/;" m class:Relish.Command
|
42
|
+
ErrorMessages lib/relish/error_messages.rb /^ module ErrorMessages$/;" m class:Relish
|
43
|
+
Formatter lib/relish/commands/help.rb /^ class Formatter$/;" c class:Relish.Command.Help
|
44
|
+
Help lib/relish/commands/help.rb /^ class Help < Base$/;" c class:Relish.Command
|
45
|
+
HelpText lib/relish/commands/dsl/help_text.rb /^ class HelpText$/;" c class:Relish.Command.Dsl
|
46
|
+
Helpers lib/relish/helpers.rb /^ module Helpers$/;" m class:Relish
|
47
|
+
Option lib/relish/commands/config.rb /^ class Option$/;" c class:Relish.Command.Config
|
48
|
+
Option lib/relish/commands/dsl/option.rb /^ class Option$/;" c class:Relish.Command.Dsl
|
49
|
+
OptionsFile lib/relish/options_file.rb /^ class OptionsFile$/;" c class:Relish
|
50
|
+
ParamMethods lib/relish/param_methods.rb /^ module ParamMethods$/;" m class:Relish.Command
|
51
|
+
Projects lib/relish/commands/projects.rb /^ class Projects < Base$/;" c class:Relish.Command
|
52
|
+
Push lib/relish/commands/push.rb /^ class Push < Base$/;" c class:Relish.Command
|
53
|
+
Relish lib/relish.rb /^module Relish$/;" m
|
54
|
+
Relish lib/relish/command.rb /^module Relish$/;" m
|
55
|
+
Relish lib/relish/commands/base.rb /^module Relish$/;" m
|
56
|
+
Relish lib/relish/commands/collab.rb /^module Relish$/;" m
|
57
|
+
Relish lib/relish/commands/config.rb /^module Relish$/;" m
|
58
|
+
Relish lib/relish/commands/dsl.rb /^module Relish$/;" m
|
59
|
+
Relish lib/relish/commands/dsl/command.rb /^module Relish$/;" m
|
60
|
+
Relish lib/relish/commands/dsl/context_class.rb /^module Relish$/;" m
|
61
|
+
Relish lib/relish/commands/dsl/help_text.rb /^module Relish$/;" m
|
62
|
+
Relish lib/relish/commands/dsl/option.rb /^module Relish$/;" m
|
63
|
+
Relish lib/relish/commands/help.rb /^module Relish$/;" m
|
64
|
+
Relish lib/relish/commands/projects.rb /^module Relish$/;" m
|
65
|
+
Relish lib/relish/commands/push.rb /^module Relish$/;" m
|
66
|
+
Relish lib/relish/commands/versions.rb /^module Relish$/;" m
|
67
|
+
Relish lib/relish/error_messages.rb /^module Relish$/;" m
|
68
|
+
Relish lib/relish/helpers.rb /^module Relish$/;" m
|
69
|
+
Relish lib/relish/options_file.rb /^module Relish$/;" m
|
70
|
+
Relish lib/relish/param_methods.rb /^module Relish$/;" m
|
71
|
+
Relish lib/relish/resource_methods.rb /^module Relish$/;" m
|
72
|
+
Relish lib/relish/ui.rb /^module Relish$/;" m
|
73
|
+
Relish lib/relish/version.rb /^module Relish$/;" m
|
74
|
+
Relish spec/relish/commands/base_spec.rb /^module Relish$/;" m
|
75
|
+
Relish spec/relish/commands/config_spec.rb /^module Relish$/;" m
|
76
|
+
Relish spec/relish/commands/dsl/command_spec.rb /^module Relish$/;" m
|
77
|
+
Relish spec/relish/commands/dsl/help_text_spec.rb /^module Relish$/;" m
|
78
|
+
Relish spec/relish/commands/dsl/option_spec.rb /^module Relish$/;" m
|
79
|
+
Relish spec/relish/error_messages_spec.rb /^module Relish$/;" m
|
80
|
+
Relish spec/relish/options_file_spec.rb /^module Relish$/;" m
|
81
|
+
Relish spec/relish/param_methods_spec.rb /^module Relish$/;" m
|
82
|
+
ResourceMethods lib/relish/resource_methods.rb /^ module ResourceMethods$/;" m class:Relish
|
83
|
+
Ui lib/relish/ui.rb /^ class Ui$/;" c class:Relish
|
84
|
+
Version lib/relish/version.rb /^ module Version$/;" m class:Relish
|
85
|
+
Versions lib/relish/commands/versions.rb /^ class Versions < Base$/;" c class:Relish.Command
|
86
|
+
[] lib/relish/options_file.rb /^ def [](key)$/;" f class:Relish.OptionsFile
|
87
|
+
add lib/relish/commands/dsl/help_text.rb /^ def add(name, command)$/;" f class:Relish.Command.Dsl.HelpText
|
88
|
+
api_endpoint spec/relish/commands/base_spec.rb /^ def api_endpoint(name, credentials)$/;" f class:Relish
|
89
|
+
ask lib/relish/ui.rb /^ def ask$/;" f class:Relish.Ui
|
90
|
+
ask_for_password lib/relish/ui.rb /^ def ask_for_password$/;" f class:Relish.Ui
|
91
|
+
ask_for_password_on_windows lib/relish/ui.rb /^ def ask_for_password_on_windows$/;" f class:Relish.Ui
|
92
|
+
clean_args lib/relish/commands/base.rb /^ def clean_args(args)$/;" f class:Relish.Command.Base
|
93
|
+
clear_commands lib/relish/commands/dsl/help_text.rb /^ def clear_commands$/;" f class:Relish.Command.Dsl.HelpText
|
94
|
+
command lib/relish/commands/dsl.rb /^ def command(arg, &block)$/;" f class:Relish.Command.Dsl
|
95
|
+
commands lib/relish/commands/dsl/help_text.rb /^ def commands$/;" f class:Relish.Command.Dsl.HelpText
|
96
|
+
context_class_eval lib/relish/commands/dsl/context_class.rb /^ def context_class_eval(&block)$/;" f class:Relish.Command.Dsl.ContextClass
|
97
|
+
context_class_name lib/relish/commands/dsl/context_class.rb /^ def context_class_name$/;" f class:Relish.Command.Dsl.ContextClass
|
98
|
+
current_options lib/relish/options_file.rb /^ def current_options$/;" f class:Relish.OptionsFile
|
99
|
+
define lib/relish/commands/dsl/command.rb /^ def define(name, &block)$/;" f class:Relish.Command.Dsl.Command
|
100
|
+
define lib/relish/commands/dsl/option.rb /^ def define(name, options = {})$/;" f class:Relish.Command.Dsl.Option
|
101
|
+
desc lib/relish/commands/dsl.rb /^ def desc(*text)$/;" f class:Relish.Command.Dsl
|
102
|
+
echo_off lib/relish/ui.rb /^ def echo_off$/;" f class:Relish.Ui
|
103
|
+
echo_on lib/relish/ui.rb /^ def echo_on$/;" f class:Relish.Ui
|
104
|
+
error lib/relish/helpers.rb /^ def error(message)$/;" f class:Relish.Helpers
|
105
|
+
escape lib/relish/commands/base.rb /^ def escape(str)$/;" f class:Relish.Command.Base.json_parse
|
106
|
+
extract_option lib/relish/param_methods.rb /^ def extract_option$/;" f class:Relish.Command.ParamMethods
|
107
|
+
extract_project_handle lib/relish/param_methods.rb /^ def extract_project_handle$/;" f class:Relish.Command.ParamMethods
|
108
|
+
files lib/relish/commands/push.rb /^ def files$/;" f class:Relish.Command
|
109
|
+
files_as_tar_gz lib/relish/commands/push.rb /^ def files_as_tar_gz$/;" f class:Relish.Command
|
110
|
+
format lib/relish/commands/collab.rb /^ def format(response)$/;" f class:Relish.Command.Collab
|
111
|
+
format lib/relish/commands/help.rb /^ def format $/;" f class:Relish.Command.Help.Formatter
|
112
|
+
format lib/relish/commands/projects.rb /^ def format(response)$/;" f class:Relish.Command.Projects
|
113
|
+
format lib/relish/commands/versions.rb /^ def format(response)$/;" f class:Relish.Command.Versions
|
114
|
+
format_usage lib/relish/commands/help.rb /^ def format_usage(index)$/;" f class:Relish.Command.Help
|
115
|
+
get_and_store_api_token lib/relish/commands/base.rb /^ def get_and_store_api_token$/;" f class:Relish.Command.Base
|
116
|
+
get_api_token lib/relish/commands/base.rb /^ def get_api_token$/;" f class:Relish.Command.Base
|
117
|
+
get_command lib/relish/command.rb /^ def get_command(command)$/;" f class:Relish.Command
|
118
|
+
get_command_and_method lib/relish/command.rb /^ def get_command_and_method(command, args)$/;" f class:Relish.Command
|
119
|
+
get_credentials lib/relish/ui.rb /^ def get_credentials$/;" f class:Relish.Ui
|
120
|
+
get_method lib/relish/command.rb /^ def get_method(method)$/;" f class:Relish.Command
|
121
|
+
get_next_description lib/relish/commands/dsl/help_text.rb /^ def get_next_description$/;" f class:Relish.Command.Dsl.HelpText
|
122
|
+
get_next_usage lib/relish/commands/dsl/help_text.rb /^ def get_next_usage$/;" f class:Relish.Command.Dsl.HelpText
|
123
|
+
get_param lib/relish/commands/base.rb /^ def get_param$/;" f class:Relish.Command.Base
|
124
|
+
global_options_file lib/relish/commands/base.rb /^ def global_options_file$/;" f class:Relish.Command.Base
|
125
|
+
handle lib/relish/commands/projects.rb /^ def handle$/;" f class:Relish.Command.Projects
|
126
|
+
handle_blank lib/relish/error_messages.rb /^ def handle_blank$/;" f class:Relish.ErrorMessages
|
127
|
+
handle_or_email lib/relish/commands/collab.rb /^ def handle_or_email$/;" f class:Relish.Command.Collab
|
128
|
+
handle_to_add lib/relish/commands/projects.rb /^ def handle_to_add$/;" f class:Relish.Command.Projects
|
129
|
+
handle_to_remove lib/relish/commands/projects.rb /^ def handle_to_remove$/;" f class:Relish.Command.Projects
|
130
|
+
has_option? lib/relish/param_methods.rb /^ def has_option?$/;" f class:Relish.Command.ParamMethods
|
131
|
+
help lib/relish/error_messages.rb /^ def help(pad = true)$/;" f class:Relish.ErrorMessages
|
132
|
+
included lib/relish/resource_methods.rb /^ def self.included(command_class)$/;" F class:Relish.ResourceMethods
|
133
|
+
initialize lib/relish/commands/base.rb /^ def initialize(args = [])$/;" f class:Relish.Command.Base
|
134
|
+
initialize lib/relish/commands/config.rb /^ def initialize(param)$/;" f class:Relish.Command.Config.Option
|
135
|
+
initialize lib/relish/commands/dsl/context_class.rb /^ def initialize(context_class)$/;" f class:Relish.Command.Dsl.ContextClass
|
136
|
+
initialize lib/relish/commands/help.rb /^ def initialize(command, hash)$/;" f class:Relish.Command.Help.Formatter
|
137
|
+
initialize lib/relish/options_file.rb /^ def initialize(path)$/;" f class:Relish.OptionsFile
|
138
|
+
json_parse lib/relish/commands/base.rb /^ def json_parse(response, &block)$/;" f class:Relish.Command.Base
|
139
|
+
local_options_file lib/relish/commands/base.rb /^ def local_options_file$/;" f class:Relish.Command.Base
|
140
|
+
max_usage_length lib/relish/commands/dsl/help_text.rb /^ def max_usage_length$/;" f class:Relish.Command.Dsl.HelpText
|
141
|
+
max_usage_length lib/relish/commands/help.rb /^ def max_usage_length$/;" f class:Relish.Command.Help
|
142
|
+
merge lib/relish/options_file.rb /^ def merge(other)$/;" f class:Relish.OptionsFile
|
143
|
+
merged_options lib/relish/commands/base.rb /^ def merged_options$/;" f class:Relish.Command.Base
|
144
|
+
names lib/relish/commands/dsl/option.rb /^ def self.names$/;" F class:Relish.Command.Dsl.Option
|
145
|
+
option lib/relish/commands/dsl.rb /^ def option(name, options = {})$/;" f class:Relish.Command.Dsl
|
146
|
+
options lib/relish/options_file.rb /^ def options$/;" f class:Relish.OptionsFile
|
147
|
+
organization_params lib/relish/commands/push.rb /^ def organization_params$/;" f class:Relish.Command
|
148
|
+
post lib/relish/commands/push.rb /^ def post(tar_gz_data, params)$/;" f class:Relish.Command.Push
|
149
|
+
private? lib/relish/commands/projects.rb /^ def private?$/;" f class:Relish.Command.Projects
|
150
|
+
project lib/relish/commands/base.rb /^ def project$/;" f class:Relish.Command.Base
|
151
|
+
project lib/relish/commands/push.rb /^ def project$/;" f class:Relish.Command
|
152
|
+
project_blank lib/relish/error_messages.rb /^ def project_blank$/;" f class:Relish.ErrorMessages
|
153
|
+
project_params lib/relish/commands/push.rb /^ def project_params$/;" f class:Relish.Command.Push
|
154
|
+
protocol lib/relish/commands/base.rb /^ def protocol$/;" f class:Relish.Command.Base
|
155
|
+
rename_handle lib/relish/commands/projects.rb /^ def rename_handle$/;" f class:Relish.Command.Projects
|
156
|
+
reset_accessors lib/relish/commands/dsl/help_text.rb /^ def reset_accessors$/;" f class:Relish.Command.Dsl.HelpText
|
157
|
+
resource lib/relish/commands/base.rb /^ def resource(options = {})$/;" f class:Relish.Command.Base
|
158
|
+
resource_path lib/relish/resource_methods.rb /^ def resource_path(path)$/;" f class:Relish.ResourceMethods.ClassMethods
|
159
|
+
resource_path_for_no_option lib/relish/resource_methods.rb /^ def resource_path_for_no_option$/;" f class:Relish.ResourceMethods
|
160
|
+
resource_path_for_option lib/relish/resource_methods.rb /^ def resource_path_for_option$/;" f class:Relish.ResourceMethods
|
161
|
+
run lib/relish/command.rb /^ def run(command, args)$/;" f class:Relish.Command
|
162
|
+
running_on_windows? lib/relish/ui.rb /^ def running_on_windows?$/;" f class:Relish.Ui
|
163
|
+
setting lib/relish.rb /^ def self.setting(name, value)$/;" F class:Relish
|
164
|
+
store lib/relish/options_file.rb /^ def store(options)$/;" f class:Relish.OptionsFile
|
165
|
+
to_hash lib/relish/commands/config.rb /^ def to_hash$/;" f class:Relish.Command.Config.Option
|
166
|
+
ui lib/relish/commands/base.rb /^ def ui$/;" f class:Relish.Command.Base
|
167
|
+
unknown_command lib/relish/error_messages.rb /^ def unknown_command$/;" f class:Relish.ErrorMessages
|
168
|
+
url lib/relish/commands/base.rb /^ def url$/;" f class:Relish.Command.Base
|
169
|
+
usage lib/relish/commands/dsl.rb /^ def usage(text)$/;" f class:Relish.Command.Dsl
|
170
|
+
usage lib/relish/commands/help.rb /^ def usage$/;" f class:Relish.Command.Help.Formatter
|
171
|
+
valid_option_names lib/relish/commands/base.rb /^ def valid_option_names$/;" f class:Relish.Command.Base
|
172
|
+
validate_cli_options lib/relish/commands/base.rb /^ def validate_cli_options$/;" f class:Relish.Command.Base
|
173
|
+
validate_option lib/relish/commands/config.rb /^ def validate_option$/;" f class:Relish.Command.Config.Option
|
174
|
+
version lib/relish/commands/push.rb /^ def version$/;" f class:Relish.Command
|
175
|
+
version_blank lib/relish/error_messages.rb /^ def version_blank$/;" f class:Relish.ErrorMessages
|
176
|
+
version_name lib/relish/commands/versions.rb /^ def version_name$/;" f class:Relish.Command.Versions
|
177
|
+
without_option lib/relish/param_methods.rb /^ def without_option$/;" f class:Relish.Command.ParamMethods
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 1
|
10
|
+
version: 0.5.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Wynne
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-09-
|
19
|
+
date: 2011-09-05 00:00:00 +01:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -107,12 +107,12 @@ dependencies:
|
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
hash:
|
110
|
+
hash: 23
|
111
111
|
segments:
|
112
112
|
- 2
|
113
|
+
- 6
|
113
114
|
- 0
|
114
|
-
|
115
|
-
version: 2.0.0
|
115
|
+
version: 2.6.0
|
116
116
|
type: :development
|
117
117
|
version_requirements: *id006
|
118
118
|
- !ruby/object:Gem::Dependency
|
@@ -155,12 +155,12 @@ dependencies:
|
|
155
155
|
requirements:
|
156
156
|
- - ~>
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
hash:
|
158
|
+
hash: 19
|
159
159
|
segments:
|
160
|
-
- 0
|
161
|
-
- 9
|
162
160
|
- 1
|
163
|
-
|
161
|
+
- 0
|
162
|
+
- 2
|
163
|
+
version: 1.0.2
|
164
164
|
type: :development
|
165
165
|
version_requirements: *id009
|
166
166
|
description: Client gem for http://relishapp.com
|
@@ -219,6 +219,7 @@ files:
|
|
219
219
|
- spec/relish_spec.rb
|
220
220
|
- spec/spec_helper.rb
|
221
221
|
- spec/support/context_class_examples.rb
|
222
|
+
- tags
|
222
223
|
has_rdoc: true
|
223
224
|
homepage: http://relishapp.com
|
224
225
|
licenses: []
|