mortar 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -129,7 +129,7 @@ module Mortar
129
129
  command = parse(cmd)
130
130
 
131
131
 
132
- if args.include?('-h') || args.include?('--help')
132
+ if args.include?('-h') || args.include?('--help') || args.include?('help')
133
133
  args.unshift(cmd) unless cmd =~ /^-.*/
134
134
  cmd = 'help'
135
135
  command = parse('help')
@@ -227,6 +227,8 @@ module Mortar
227
227
  error extract_error(e.response.body) {
228
228
  e.response.body =~ /^([\w\s]+ not found).?$/ ? $1 : e.message # "Resource not found"
229
229
  }
230
+ rescue Mortar::Git::GitError => e
231
+ error e.message
230
232
  rescue Mortar::Project::ProjectError => e
231
233
  error e.message
232
234
  rescue Mortar::API::Errors::Timeout
@@ -27,14 +27,6 @@ class Mortar::Command::Auth < Mortar::Command::Base
27
27
  #
28
28
  # log in with your mortar credentials
29
29
  #
30
- #Example:
31
- #
32
- # $ mortar auth:login
33
- # Enter your Mortar credentials:
34
- # Email: email@example.com
35
- # Password (typing will be hidden):
36
- # Authentication successful.
37
- #
38
30
  def login
39
31
  validate_arguments!
40
32
 
@@ -48,11 +40,6 @@ class Mortar::Command::Auth < Mortar::Command::Base
48
40
  #
49
41
  # clear local authentication credentials
50
42
  #
51
- #Example:
52
- #
53
- # $ mortar auth:logout
54
- # Local credentials cleared.
55
- #
56
43
  def logout
57
44
  validate_arguments!
58
45
 
@@ -66,11 +53,6 @@ class Mortar::Command::Auth < Mortar::Command::Base
66
53
  #
67
54
  # display your api key
68
55
  #
69
- #Example:
70
- #
71
- # $ mortar auth:key
72
- # ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCD
73
- #
74
56
  def key
75
57
  validate_arguments!
76
58
 
@@ -81,11 +63,6 @@ class Mortar::Command::Auth < Mortar::Command::Base
81
63
  #
82
64
  # display your mortar email address
83
65
  #
84
- #Example:
85
- #
86
- # $ mortar auth:whoami
87
- # email@example.com
88
- #
89
66
  def whoami
90
67
  validate_arguments!
91
68
 
@@ -24,14 +24,6 @@ class Mortar::Command::Clusters < Mortar::Command::Base
24
24
  #
25
25
  # Display running and recently terminated clusters.
26
26
  #
27
- #Examples:
28
- #
29
- # $ mortar clusters
30
- #
31
- #cluster_id Size (# of Nodes) Status Type Start Timestamp Elapsed Time
32
- #------------------------ ----------------- -------- ----------- --------------- ------------
33
- #5023ca3ce0c222b7caaa546a 3 Starting Multi - Job
34
- #
35
27
  def index
36
28
  validate_arguments!
37
29
 
@@ -31,18 +31,9 @@ class Mortar::Command::Describe < Mortar::Command::Base
31
31
  # -f, --param-file PARAMFILE # Load pig parameter values from a file.
32
32
  #
33
33
  # Examples:
34
- #
35
- # $ mortar describe generate_regression_model_coefficients songs_sample
36
- #
37
- #Taking code snapshot... done
38
- #Sending code snapshot to Mortar... done
39
- #Starting describe... done
40
- #
41
- #Status: Success
42
- #
43
- #Results available at https://hawk.mortardata.com/describes/2000cf2e421aa909690000af
44
- #Opening web browser to show results... done
45
- #
34
+ #
35
+ # Describe the songs_sample relation in the generate_regression_model_coefficients script.
36
+ # $ mortar describe generate_regression_model_coefficients songs_sample
46
37
  def index
47
38
  pigscript_name = shift_argument
48
39
  alias_name = shift_argument
@@ -28,23 +28,6 @@ class Mortar::Command::Generate < Mortar::Command::Base
28
28
  #
29
29
  # Generate the files and directory structure necessary for a Mortar project.
30
30
  #
31
- #
32
- # Examples:
33
- #
34
- # $ mortar generate:project
35
- #
36
- #create README.md
37
- #create .gitignore
38
- #create Gemfile
39
- #create pigscripts
40
- #create pigscripts/my_new_project.pig
41
- #create macros
42
- #create macros/.gitkeep
43
- #create udfs
44
- #create udfs/python
45
- #create udfs/python/my_new_project.py
46
- # run bundle install
47
- #
48
31
  def _project
49
32
  project_name = shift_argument
50
33
  unless project_name
@@ -58,18 +41,10 @@ class Mortar::Command::Generate < Mortar::Command::Base
58
41
  alias_command "generate:project", "generate:_project"
59
42
 
60
43
 
61
-
62
44
  # generate:python_udf [UDFNAME]
63
45
  #
64
46
  # Generate a new python user defined function
65
47
  #
66
- #
67
- # Examples:
68
- #
69
- # $ mortar generate:python_udf my_new_udf
70
- #
71
- #create udfs/python/my_new_udf.py
72
- #
73
48
  def python_udf
74
49
  udf_name = shift_argument
75
50
  unless udf_name
@@ -77,7 +52,6 @@ class Mortar::Command::Generate < Mortar::Command::Base
77
52
  end
78
53
  udf_generator = Mortar::Generators::UDFGenerator.new
79
54
  udf_generator.generate_python_udf(udf_name, project, options)
80
-
81
55
  end
82
56
 
83
57
  # generate:pigscript [SCRIPTNAME]
@@ -86,13 +60,6 @@ class Mortar::Command::Generate < Mortar::Command::Base
86
60
  #
87
61
  # --skip-udf # Create the pig script without a partnered python udf
88
62
  #
89
- # Examples:
90
- #
91
- # $ mortar generate:pigscript my_new_pigscript
92
- #
93
- #create pigscripts/my_new_pigscript.pig
94
- #create udfs/python/my_new_pigscript.py
95
- #
96
63
  def pigscript
97
64
  script_name = shift_argument
98
65
  unless script_name
@@ -102,20 +69,12 @@ class Mortar::Command::Generate < Mortar::Command::Base
102
69
 
103
70
  script_generator = Mortar::Generators::PigscriptGenerator.new
104
71
  script_generator.generate_pigscript(script_name, project, options)
105
-
106
72
  end
107
73
 
108
74
  # generate:macro [MACRONAME]
109
75
  #
110
76
  # Generate a new pig macro.
111
77
  #
112
- #
113
- # Examples:
114
- #
115
- # $ mortar generate:macro my_new_macro
116
- #
117
- #create macros/my_new_macro.pig
118
- #
119
78
  def macro
120
79
  macro_name = shift_argument
121
80
  unless macro_name
@@ -124,9 +83,6 @@ class Mortar::Command::Generate < Mortar::Command::Base
124
83
 
125
84
  macro_generator = Mortar::Generators::MacroGenerator.new
126
85
  macro_generator.generate_macro(macro_name, project, options)
127
-
128
86
  end
129
87
 
130
-
131
-
132
88
  end
@@ -31,17 +31,8 @@ class Mortar::Command::Help < Mortar::Command::Base
31
31
  #
32
32
  #Examples:
33
33
  #
34
- # $ mortar help
35
- # Usage: mortar COMMAND [command-specific-options]
36
- #
37
- # Primary help topics, type "mortar help TOPIC" for more details:
38
- #
39
- # ...
40
- #
41
- # Additional topics:
42
- #
43
- # ...
44
- #
34
+ # Get help about mortar illustrate command.
35
+ # $ mortar help llustrate
45
36
  def index
46
37
  if command = args.shift
47
38
  help_for_command(command)
@@ -31,17 +31,9 @@ class Mortar::Command::Illustrate < Mortar::Command::Base
31
31
  # -f, --param-file PARAMFILE # Load pig parameter values from a file.
32
32
  #
33
33
  # Examples:
34
- #
35
- # $ mortar illustrate generate_regression_model_coefficients songs_sample
36
- #
37
- #Taking code snapshot... done
38
- #Sending code snapshot to Mortar... done
39
- #Starting illustrate... done
40
- #
41
- #Status: Success
42
- #
43
- #Results available at https://hawk.mortardata.com/illustrates/2000ce2f421aa909680000af
44
- #Opening web browser to show results... done
34
+ #
35
+ # Illustrate the songs_sample relation in the generate_regression_model_coefficients script.
36
+ # $ mortar illustrate generate_regression_model_coefficients songs_sample
45
37
  def index
46
38
  pigscript_name = shift_argument
47
39
  alias_name = shift_argument
@@ -33,13 +33,11 @@ class Mortar::Command::Jobs < Mortar::Command::Base
33
33
  #
34
34
  # Examples:
35
35
  #
36
- # $ mortar jobs -l 2
37
- #
38
- #job_id script status start_date elapsed_time cluster_size cluster_id
39
- #------------------------ --------------------- ------- ----------------------------------- ------------ ------------ ------------------------
40
- #2000cbbba40a860a6f000000 rollup: mock_expanded Success Friday, August 31, 2012, 10:40 AM 2 mins 3 2000cc3cb0c635b7cbff5aaa
41
- #20009deca40a866cd5000000 rollup: mock_expanded Stopped Thursday, August 30, 2012, 1:08 PM < 1 min 2 2000857ae4b0dd5573da35aa
36
+ # List the last 20 jobs:
37
+ # $ mortar jobs -l 20
42
38
  def index
39
+ validate_arguments!
40
+
43
41
  options[:limit] ||= '10'
44
42
  options[:skip] ||= '0'
45
43
  jobs = api.get_jobs(options[:skip], options[:limit]).body['jobs']
@@ -65,20 +63,8 @@ class Mortar::Command::Jobs < Mortar::Command::Base
65
63
  #
66
64
  #Examples:
67
65
  #
68
- # $ mortar jobs:run --clustersize 3 generate_regression_model_coefficients
69
- #
70
- #Taking code snapshot... done
71
- #Sending code snapshot to Mortar... done
72
- #Requesting job execution... done
73
- #job_id: 2000cbbba40a860a6f000000
74
- #
75
- #Job status can be viewed on the web at:
76
- #
77
- #https://hawk.mortardata.com/jobs/job_detail?job_id=2000cbbba40a860a6f000000
78
- #
79
- #Or by running:
80
- #
81
- #mortar jobs:status 2000cbbba40a860a6f000000
66
+ # Run the generate_regression_model_coefficients script on a 3 node cluster.
67
+ # $ mortar jobs:run generate_regression_model_coefficients --clustersize 3
82
68
  def run
83
69
  # arguemnts
84
70
  pigscript_name = shift_argument
@@ -98,9 +84,7 @@ class Mortar::Command::Jobs < Mortar::Command::Base
98
84
  end
99
85
  end
100
86
  end
101
-
102
-
103
-
87
+
104
88
  validate_git_based_project!
105
89
  pigscript = validate_pigscript!(pigscript_name)
106
90
  git_ref = create_and_push_snapshot_branch(git, project)
@@ -137,15 +121,6 @@ class Mortar::Command::Jobs < Mortar::Command::Base
137
121
  #
138
122
  # -p, --poll # Poll the status of a job
139
123
  #
140
- #
141
- #Examples:
142
- #
143
- # $ mortar jobs:status 2000cbbba40a860a6f000000
144
- #
145
- #=== songhotness: generate_regression_model_coefficients (job_id: 2000cbbba40a860a6f000000)
146
- #hadoop jobs complete: 0.00 / 1.00
147
- #progress: 0%
148
- #status: Starting Cluster
149
124
  def status
150
125
  job_id = shift_argument
151
126
  unless job_id
@@ -232,11 +207,6 @@ class Mortar::Command::Jobs < Mortar::Command::Base
232
207
  #
233
208
  # Stop a running job.
234
209
  #
235
- #Examples:
236
- #
237
- # $ mortar jobs:stop 2000cbbba40a860a6f000000
238
- #
239
- #Stopping job 2000cbbba40a860a6f000000
240
210
  def stop
241
211
  job_id = shift_argument
242
212
  unless job_id
@@ -23,15 +23,6 @@ class Mortar::Command::PigScripts < Mortar::Command::Base
23
23
  # pigscripts
24
24
  #
25
25
  # Display the available set of pigscripts
26
- #
27
- #Examples:
28
- #
29
- # $ mortar pigscripts
30
- #
31
- #=== pigscripts
32
- #hourly_top_searchers
33
- #user_engagement
34
- #
35
26
  def index
36
27
  # validation
37
28
  validate_arguments!
@@ -23,15 +23,6 @@ class Mortar::Command::Projects < Mortar::Command::Base
23
23
  # projects
24
24
  #
25
25
  # Display the available set of projects
26
- #
27
- #Examples:
28
- #
29
- # $ mortar projects
30
- #
31
- #=== projects
32
- #demo
33
- #rollup
34
- #
35
26
  def index
36
27
  validate_arguments!
37
28
  projects = api.get_projects().body["projects"]
@@ -46,11 +37,6 @@ class Mortar::Command::Projects < Mortar::Command::Base
46
37
  # projects:create PROJECT
47
38
  #
48
39
  # create a mortar project for the current directory with the name PROJECT
49
- #
50
- #Example:
51
- #
52
- # $ mortar projects:create my_new_project
53
- #
54
40
  def create
55
41
  name = shift_argument
56
42
  unless name
@@ -110,10 +96,6 @@ class Mortar::Command::Projects < Mortar::Command::Base
110
96
  #
111
97
  # Adds the Mortar remote to the local git project. This is necessary for successfully executing many of the Mortar commands.
112
98
  #
113
- #Example:
114
- #
115
- # $ mortar projects:set_remote my_project
116
- #
117
99
  def set_remote
118
100
  project_name = shift_argument
119
101
 
@@ -145,10 +127,6 @@ class Mortar::Command::Projects < Mortar::Command::Base
145
127
  #
146
128
  # clone the mortar project PROJECT into the current directory.
147
129
  #
148
- #Example:
149
- #
150
- # $ mortar projects:clone my_new_project
151
- #
152
130
  def clone
153
131
  name = shift_argument
154
132
  unless name
@@ -33,18 +33,6 @@ class Mortar::Command::Validate < Mortar::Command::Base
33
33
  # -p, --parameter NAME=VALUE # Set a pig parameter value in your script.
34
34
  # -f, --param-file PARAMFILE # Load pig parameter values from a file.
35
35
  #
36
- # Examples:
37
- #
38
- # $ mortar validate generate_regression_model_coefficients
39
- #
40
- #Taking code snapshot... done
41
- #Sending code snapshot to Mortar... done
42
- #Starting validate... done
43
- #
44
- #Status: Success
45
- #
46
- #Your script is valid.
47
- #
48
36
  def index
49
37
  pigscript_name = shift_argument
50
38
  unless pigscript_name
@@ -28,11 +28,6 @@ class Mortar::Command::Version < Mortar::Command::Base
28
28
  #
29
29
  # show mortar client version
30
30
  #
31
- #Example:
32
- #
33
- # $ mortar version
34
- # mortar/1.2.3 (x86_64-darwin11.4.2) ruby/1.9.3
35
- #
36
31
  def index
37
32
  validate_arguments!
38
33
 
@@ -16,5 +16,5 @@
16
16
 
17
17
  module Mortar
18
18
  # see http://semver.org/
19
- VERSION = "0.3.0"
19
+ VERSION = "0.3.1"
20
20
  end
@@ -28,6 +28,14 @@ module Mortar::Command
28
28
  end
29
29
 
30
30
  context("index") do
31
+ it "shows help when user adds help argument" do
32
+ with_git_initialized_project do |p|
33
+ stderr_dash_h, stdout_dash_h = execute("jobs -h", p, @git)
34
+ stderr_help, stdout_help = execute("jobs help", p, @git)
35
+ stdout_dash_h.should == stdout_help
36
+ stderr_dash_h.should == stderr_help
37
+ end
38
+ end
31
39
  end
32
40
 
33
41
  context("run") do
@@ -278,6 +278,7 @@ STASH
278
278
 
279
279
  end
280
280
 
281
+ =begin
281
282
  context "clone" do
282
283
  it "clones repo successfully" do
283
284
  with_no_git_directory do
@@ -288,7 +289,7 @@ STASH
288
289
  lambda { @git.git("--version") }.should_not raise_error
289
290
  end
290
291
  end
291
-
292
292
  end
293
+ =end
293
294
  end
294
295
  end
metadata CHANGED
@@ -1,165 +1,167 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mortar
3
- version: !ruby/object:Gem::Version
4
- hash: 19
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 3
9
- - 0
10
- version: 0.3.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Mortar Data
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-09-23 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-09-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: mortar-api-ruby
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 19
29
- segments:
30
- - 0
31
- - 3
32
- - 0
20
+ - !ruby/object:Gem::Version
33
21
  version: 0.3.0
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: netrc
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
40
25
  none: false
41
- requirements:
26
+ requirements:
42
27
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 9
45
- segments:
46
- - 0
47
- - 7
48
- - 5
28
+ - !ruby/object:Gem::Version
29
+ version: 0.3.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: netrc
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
49
37
  version: 0.7.5
50
38
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: launchy
54
39
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.7.5
46
+ - !ruby/object:Gem::Dependency
47
+ name: launchy
48
+ requirement: !ruby/object:Gem::Requirement
56
49
  none: false
57
- requirements:
50
+ requirements:
58
51
  - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 9
61
- segments:
62
- - 2
63
- - 1
64
- - 1
52
+ - !ruby/object:Gem::Version
65
53
  version: 2.1.1
66
54
  type: :runtime
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: excon
70
55
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
72
57
  none: false
73
- requirements:
58
+ requirements:
74
59
  - - ~>
75
- - !ruby/object:Gem::Version
76
- hash: 43
77
- segments:
78
- - 0
79
- - 15
80
- - 4
60
+ - !ruby/object:Gem::Version
61
+ version: 2.1.1
62
+ - !ruby/object:Gem::Dependency
63
+ name: excon
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
81
69
  version: 0.15.4
82
70
  type: :development
83
- version_requirements: *id004
84
- - !ruby/object:Gem::Dependency
85
- name: fakefs
86
71
  prerelease: false
87
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
88
73
  none: false
89
- requirements:
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- hash: 3
93
- segments:
94
- - 0
95
- version: "0"
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.15.4
78
+ - !ruby/object:Gem::Dependency
79
+ name: fakefs
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
96
86
  type: :development
97
- version_requirements: *id005
98
- - !ruby/object:Gem::Dependency
99
- name: gem-release
100
87
  prerelease: false
101
- requirement: &id006 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
102
89
  none: false
103
- requirements:
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- hash: 3
107
- segments:
108
- - 0
109
- version: "0"
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: gem-release
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
110
102
  type: :development
111
- version_requirements: *id006
112
- - !ruby/object:Gem::Dependency
113
- name: rake
114
103
  prerelease: false
115
- requirement: &id007 !ruby/object:Gem::Requirement
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: rake
112
+ requirement: !ruby/object:Gem::Requirement
116
113
  none: false
117
- requirements:
118
- - - ">="
119
- - !ruby/object:Gem::Version
120
- hash: 3
121
- segments:
122
- - 0
123
- version: "0"
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
124
118
  type: :development
125
- version_requirements: *id007
126
- - !ruby/object:Gem::Dependency
127
- name: rr
128
119
  prerelease: false
129
- requirement: &id008 !ruby/object:Gem::Requirement
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: rr
128
+ requirement: !ruby/object:Gem::Requirement
130
129
  none: false
131
- requirements:
132
- - - ">="
133
- - !ruby/object:Gem::Version
134
- hash: 3
135
- segments:
136
- - 0
137
- version: "0"
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
138
134
  type: :development
139
- version_requirements: *id008
140
- - !ruby/object:Gem::Dependency
141
- name: rspec
142
135
  prerelease: false
143
- requirement: &id009 !ruby/object:Gem::Requirement
136
+ version_requirements: !ruby/object:Gem::Requirement
144
137
  none: false
145
- requirements:
146
- - - ">="
147
- - !ruby/object:Gem::Version
148
- hash: 3
149
- segments:
150
- - 0
151
- version: "0"
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: rspec
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
152
150
  type: :development
153
- version_requirements: *id009
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
154
158
  description: Client library and command-line tool to interact with the Mortar service.
155
159
  email: support@mortardata.com
156
- executables:
160
+ executables:
157
161
  - mortar
158
162
  extensions: []
159
-
160
163
  extra_rdoc_files: []
161
-
162
- files:
164
+ files:
163
165
  - README.md
164
166
  - bin/mortar
165
167
  - lib/mortar.rb
@@ -222,38 +224,26 @@ files:
222
224
  - spec/support/display_message_matcher.rb
223
225
  homepage: http://mortardata.com/
224
226
  licenses: []
225
-
226
227
  post_install_message:
227
228
  rdoc_options: []
228
-
229
- require_paths:
229
+ require_paths:
230
230
  - lib
231
- required_ruby_version: !ruby/object:Gem::Requirement
231
+ required_ruby_version: !ruby/object:Gem::Requirement
232
232
  none: false
233
- requirements:
234
- - - ">="
235
- - !ruby/object:Gem::Version
236
- hash: 57
237
- segments:
238
- - 1
239
- - 8
240
- - 7
233
+ requirements:
234
+ - - ! '>='
235
+ - !ruby/object:Gem::Version
241
236
  version: 1.8.7
242
- required_rubygems_version: !ruby/object:Gem::Requirement
237
+ required_rubygems_version: !ruby/object:Gem::Requirement
243
238
  none: false
244
- requirements:
245
- - - ">="
246
- - !ruby/object:Gem::Version
247
- hash: 3
248
- segments:
249
- - 0
250
- version: "0"
239
+ requirements:
240
+ - - ! '>='
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
251
243
  requirements: []
252
-
253
244
  rubyforge_project:
254
245
  rubygems_version: 1.8.24
255
246
  signing_key:
256
247
  specification_version: 3
257
248
  summary: Client library and CLI to interact with the Mortar service.
258
249
  test_files: []
259
-