krl 0.1.66 → 0.1.67

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/bin/krl +0 -0
  2. data/bin/krl-connect +0 -0
  3. data/lib/commit.rb +8 -2
  4. metadata +21 -6
data/bin/krl CHANGED
File without changes
data/bin/krl-connect CHANGED
File without changes
data/lib/commit.rb CHANGED
@@ -5,8 +5,14 @@ module KRL_CMD
5
5
  app = KRL_COMMON::get_app
6
6
  krl_file = File.join(Dir.pwd, app.application_id + ".krl")
7
7
  if File.exists?(krl_file)
8
- app.krl = File.open(krl_file, 'r') { |f| f.read }
9
- app.set_version_note(app.version, args.to_s) if args.to_s != ""
8
+ begin
9
+ app.krl = File.open(krl_file, 'r') { |f| f.read }
10
+ app.set_version_note(app.version, args.to_s) if args.to_s != ""
11
+ rescue KRLParseError => e
12
+ puts "Unable to parse your krl."
13
+ puts "Errors:"
14
+ puts e.parse_errors.join("\n")
15
+ end
10
16
  else
11
17
  raise "Unable to find file: #{krl_file}"
12
18
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krl
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 157
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 66
9
- version: 0.1.66
9
+ - 67
10
+ version: 0.1.67
10
11
  platform: ruby
11
12
  authors:
12
13
  - Michael Farmer, Cid Dennis
@@ -14,30 +15,34 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-09-10 00:00:00 -06:00
18
+ date: 2010-10-05 00:00:00 -06:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: kynetx_am_api
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 33
27
30
  segments:
28
31
  - 0
29
32
  - 1
30
- - 28
31
- version: 0.1.28
33
+ - 29
34
+ version: 0.1.29
32
35
  type: :runtime
33
36
  version_requirements: *id001
34
37
  - !ruby/object:Gem::Dependency
35
38
  name: terminal-table
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 3
41
46
  segments:
42
47
  - 0
43
48
  version: "0"
@@ -47,9 +52,11 @@ dependencies:
47
52
  name: sinatra
48
53
  prerelease: false
49
54
  requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
50
56
  requirements:
51
57
  - - ">="
52
58
  - !ruby/object:Gem::Version
59
+ hash: 15
53
60
  segments:
54
61
  - 1
55
62
  - 0
@@ -60,9 +67,11 @@ dependencies:
60
67
  name: launchy
61
68
  prerelease: false
62
69
  requirement: &id004 !ruby/object:Gem::Requirement
70
+ none: false
63
71
  requirements:
64
72
  - - ">="
65
73
  - !ruby/object:Gem::Version
74
+ hash: 29
66
75
  segments:
67
76
  - 0
68
77
  - 3
@@ -74,9 +83,11 @@ dependencies:
74
83
  name: rspec
75
84
  prerelease: false
76
85
  requirement: &id005 !ruby/object:Gem::Requirement
86
+ none: false
77
87
  requirements:
78
88
  - - ">="
79
89
  - !ruby/object:Gem::Version
90
+ hash: 3
80
91
  segments:
81
92
  - 0
82
93
  version: "0"
@@ -123,23 +134,27 @@ rdoc_options:
123
134
  require_paths:
124
135
  - lib
125
136
  required_ruby_version: !ruby/object:Gem::Requirement
137
+ none: false
126
138
  requirements:
127
139
  - - ">="
128
140
  - !ruby/object:Gem::Version
141
+ hash: 3
129
142
  segments:
130
143
  - 0
131
144
  version: "0"
132
145
  required_rubygems_version: !ruby/object:Gem::Requirement
146
+ none: false
133
147
  requirements:
134
148
  - - ">="
135
149
  - !ruby/object:Gem::Version
150
+ hash: 3
136
151
  segments:
137
152
  - 0
138
153
  version: "0"
139
154
  requirements: []
140
155
 
141
156
  rubyforge_project:
142
- rubygems_version: 1.3.6
157
+ rubygems_version: 1.3.7
143
158
  signing_key:
144
159
  specification_version: 3
145
160
  summary: Provides terminal access to the Kynetx Applicaiton API