mortar 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,6 @@ module Mortar
32
32
 
33
33
  copy_file "README.md", "README.md"
34
34
  copy_file "gitignore", ".gitignore"
35
- copy_file "Gemfile", "Gemfile"
36
35
 
37
36
  mkdir "pigscripts"
38
37
 
@@ -55,18 +54,6 @@ module Mortar
55
54
  end
56
55
  end
57
56
 
58
- display_run("bundle install")
59
- #First verify that we can cd into the project dir.
60
- #The directory change isn't persisted outside of this system command.
61
- output = `cd #{project_name}`
62
- unless $?.exitstatus == 0
63
- raise Mortar::Command::CommandFailed, output
64
- end
65
-
66
- output = `cd #{project_name} && bundle install`
67
- unless $?.exitstatus == 0
68
- raise Mortar::Command::CommandFailed, output
69
- end
70
57
  rescue => e
71
58
  #If we can't set up the project correctly and the project folder
72
59
  #didn't exist before - remove it.
@@ -16,5 +16,5 @@
16
16
 
17
17
  module Mortar
18
18
  # see http://semver.org/
19
- VERSION = "0.3.1"
19
+ VERSION = "0.3.2"
20
20
  end
@@ -35,8 +35,7 @@ describe Mortar::Command::Generate do
35
35
  File.exists?("Test/pigscripts").should be_true
36
36
  File.exists?("Test/udfs").should be_true
37
37
  File.exists?("Test/README.md").should be_true
38
- File.exists?("Test/Gemfile").should be_true
39
- #File.exists?("Test/Gemfile.lock").should be_true
38
+ File.exists?("Test/Gemfile").should be_false
40
39
  File.exists?("Test/macros/.gitkeep").should be_true
41
40
  File.exists?("Test/pigscripts/Test.pig").should be_true
42
41
  File.exists?("Test/udfs/python/Test.py").should be_true
@@ -86,8 +85,7 @@ STDERR
86
85
  File.exists?("Test/pigscripts").should be_true
87
86
  File.exists?("Test/udfs").should be_true
88
87
  File.exists?("Test/README.md").should be_true
89
- File.exists?("Test/Gemfile").should be_true
90
- #File.exists?("Test/Gemfile.lock").should be_true
88
+ File.exists?("Test/Gemfile").should be_false
91
89
  File.exists?("Test/macros/.gitkeep").should be_true
92
90
  File.exists?("Test/pigscripts/Test.pig").should be_true
93
91
  File.exists?("Test/udfs/python/Test.py").should be_true
metadata CHANGED
@@ -1,167 +1,165 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mortar
3
- version: !ruby/object:Gem::Version
4
- version: 0.3.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 2
10
+ version: 0.3.2
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Mortar Data
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-09-23 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-09-25 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: mortar-api-ruby
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: 0.3.0
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
- requirements:
25
+ requirements:
27
26
  - - ~>
28
- - !ruby/object:Gem::Version
27
+ - !ruby/object:Gem::Version
28
+ hash: 19
29
+ segments:
30
+ - 0
31
+ - 3
32
+ - 0
29
33
  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
37
- version: 0.7.5
38
34
  type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: netrc
39
38
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
39
+ requirement: &id002 !ruby/object:Gem::Requirement
41
40
  none: false
42
- requirements:
41
+ requirements:
43
42
  - - ~>
44
- - !ruby/object:Gem::Version
43
+ - !ruby/object:Gem::Version
44
+ hash: 9
45
+ segments:
46
+ - 0
47
+ - 7
48
+ - 5
45
49
  version: 0.7.5
46
- - !ruby/object:Gem::Dependency
47
- name: launchy
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 2.1.1
54
50
  type: :runtime
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ name: launchy
55
54
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
55
+ requirement: &id003 !ruby/object:Gem::Requirement
57
56
  none: false
58
- requirements:
57
+ requirements:
59
58
  - - ~>
60
- - !ruby/object:Gem::Version
59
+ - !ruby/object:Gem::Version
60
+ hash: 9
61
+ segments:
62
+ - 2
63
+ - 1
64
+ - 1
61
65
  version: 2.1.1
62
- - !ruby/object:Gem::Dependency
66
+ type: :runtime
67
+ version_requirements: *id003
68
+ - !ruby/object:Gem::Dependency
63
69
  name: excon
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 0.15.4
70
- type: :development
71
70
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
71
+ requirement: &id004 !ruby/object:Gem::Requirement
73
72
  none: false
74
- requirements:
73
+ requirements:
75
74
  - - ~>
76
- - !ruby/object:Gem::Version
75
+ - !ruby/object:Gem::Version
76
+ hash: 43
77
+ segments:
78
+ - 0
79
+ - 15
80
+ - 4
77
81
  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'
86
82
  type: :development
83
+ version_requirements: *id004
84
+ - !ruby/object:Gem::Dependency
85
+ name: fakefs
87
86
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
87
+ requirement: &id005 !ruby/object:Gem::Requirement
89
88
  none: false
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'
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ hash: 3
93
+ segments:
94
+ - 0
95
+ version: "0"
102
96
  type: :development
97
+ version_requirements: *id005
98
+ - !ruby/object:Gem::Dependency
99
+ name: gem-release
103
100
  prerelease: false
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
101
+ requirement: &id006 !ruby/object:Gem::Requirement
113
102
  none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ hash: 3
107
+ segments:
108
+ - 0
109
+ version: "0"
118
110
  type: :development
111
+ version_requirements: *id006
112
+ - !ruby/object:Gem::Dependency
113
+ name: rake
119
114
  prerelease: false
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
115
+ requirement: &id007 !ruby/object:Gem::Requirement
129
116
  none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '0'
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ hash: 3
121
+ segments:
122
+ - 0
123
+ version: "0"
134
124
  type: :development
125
+ version_requirements: *id007
126
+ - !ruby/object:Gem::Dependency
127
+ name: rr
135
128
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
129
+ requirement: &id008 !ruby/object:Gem::Requirement
137
130
  none: false
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'
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ hash: 3
135
+ segments:
136
+ - 0
137
+ version: "0"
150
138
  type: :development
139
+ version_requirements: *id008
140
+ - !ruby/object:Gem::Dependency
141
+ name: rspec
151
142
  prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
143
+ requirement: &id009 !ruby/object:Gem::Requirement
153
144
  none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ hash: 3
149
+ segments:
150
+ - 0
151
+ version: "0"
152
+ type: :development
153
+ version_requirements: *id009
158
154
  description: Client library and command-line tool to interact with the Mortar service.
159
155
  email: support@mortardata.com
160
- executables:
156
+ executables:
161
157
  - mortar
162
158
  extensions: []
159
+
163
160
  extra_rdoc_files: []
164
- files:
161
+
162
+ files:
165
163
  - README.md
166
164
  - bin/mortar
167
165
  - lib/mortar.rb
@@ -193,7 +191,6 @@ files:
193
191
  - lib/mortar/templates/macro/macro.pig
194
192
  - lib/mortar/templates/pigscript/pigscript.pig
195
193
  - lib/mortar/templates/pigscript/python_udf.py
196
- - lib/mortar/templates/project/Gemfile
197
194
  - lib/mortar/templates/project/README.md
198
195
  - lib/mortar/templates/project/gitignore
199
196
  - lib/mortar/templates/project/macros/gitkeep
@@ -224,26 +221,38 @@ files:
224
221
  - spec/support/display_message_matcher.rb
225
222
  homepage: http://mortardata.com/
226
223
  licenses: []
224
+
227
225
  post_install_message:
228
226
  rdoc_options: []
229
- require_paths:
227
+
228
+ require_paths:
230
229
  - lib
231
- required_ruby_version: !ruby/object:Gem::Requirement
230
+ required_ruby_version: !ruby/object:Gem::Requirement
232
231
  none: false
233
- requirements:
234
- - - ! '>='
235
- - !ruby/object:Gem::Version
232
+ requirements:
233
+ - - ">="
234
+ - !ruby/object:Gem::Version
235
+ hash: 57
236
+ segments:
237
+ - 1
238
+ - 8
239
+ - 7
236
240
  version: 1.8.7
237
- required_rubygems_version: !ruby/object:Gem::Requirement
241
+ required_rubygems_version: !ruby/object:Gem::Requirement
238
242
  none: false
239
- requirements:
240
- - - ! '>='
241
- - !ruby/object:Gem::Version
242
- version: '0'
243
+ requirements:
244
+ - - ">="
245
+ - !ruby/object:Gem::Version
246
+ hash: 3
247
+ segments:
248
+ - 0
249
+ version: "0"
243
250
  requirements: []
251
+
244
252
  rubyforge_project:
245
253
  rubygems_version: 1.8.24
246
254
  signing_key:
247
255
  specification_version: 3
248
256
  summary: Client library and CLI to interact with the Mortar service.
249
257
  test_files: []
258
+
@@ -1,3 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem "mortar"