trackable_tasks 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,5 +1,11 @@
1
1
  == unreleased changes
2
2
 
3
+ == 0.0.13
4
+
5
+ * Updated the index and show views to give better formatted error messages
6
+ * Fixed an issue where the show page would not render if the end date was not set
7
+ * Added a backtrace to the error log reporting when an exception is caught
8
+
3
9
  == 0.0.12
4
10
 
5
11
  * Updated the trackable task frontend with options to view the tasks by day or week
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trackable_tasks (0.0.11)
4
+ trackable_tasks (0.0.12)
5
5
  rails (>= 3.0.7)
6
6
  trackable_tasks
7
7
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.12
1
+ 0.0.13
@@ -11,7 +11,7 @@
11
11
  <th>Task Type </th>
12
12
  <th>Start Time </th>
13
13
  <th>Run Time </th>
14
- <th>Status </th>
14
+ <th>Success </th>
15
15
  <th> </th>
16
16
  </tr>
17
17
 
@@ -1,8 +1,16 @@
1
1
  <h2> <%= @task_run.task_type %> </h2>
2
2
 
3
3
  <p><strong>Start time: </strong> <%= @task_run.start_time.strftime('%D %r') %> </p>
4
- <p><strong>End time: </strong> <%= @task_run.end_time.strftime('%D %r') %> </p>
4
+ <p><strong>End time: </strong> <%= @task_run.end_time.strftime('%D %r') if @task_run.end_time %> </p>
5
5
  <p><strong>Run time: </strong> <%= @task_run.run_time %> </p>
6
6
  <p><strong>Success: </strong> <span style="color: <%= @task_run.status_color %>"> <%= @task_run.success %> </span></p>
7
- <p><strong>Error text: </strong> <%= @task_run.error_text %> </p>
8
- <p><strong>Log text: </strong> <%= @task_run.log_text %> </p>
7
+ <p>
8
+ <strong>Error text: </strong>
9
+ <br />
10
+ <pre><%= @task_run.error_text %></pre>
11
+ </p>
12
+ <p>
13
+ <strong>Log text: </strong>
14
+ <br />
15
+ <pre><%= @task_run.log_text %></pre>
16
+ </p>
@@ -52,6 +52,7 @@ module TrackableTasks
52
52
  run
53
53
  rescue Exception => e
54
54
  @task_run.add_error_text(e.class.name + ": " + e.message)
55
+ @task_run.add_error_text(e.backtrace.inspect)
55
56
  @task_run.success = false
56
57
  end
57
58
  @task_run.end_time = Time.now
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "trackable_tasks"
8
- s.version = "0.0.12"
8
+ s.version = "0.0.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeremiah Hemphill"]
12
- s.date = "2012-04-23"
12
+ s.date = "2012-04-25"
13
13
  s.description = "Adds tracking to rake tasks including error capturing and logging."
14
14
  s.email = "jeremiah@cloudspace.com"
15
15
  s.extra_rdoc_files = [
@@ -161,6 +161,20 @@ Gem::Specification.new do |s|
161
161
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.3"])
162
162
  s.add_development_dependency(%q<json>, [">= 0"])
163
163
  s.add_development_dependency(%q<ci_reporter>, [">= 0"])
164
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.3"])
165
+ s.add_development_dependency(%q<capybara>, [">= 0.4.0"])
166
+ s.add_development_dependency(%q<sqlite3>, [">= 0"])
167
+ s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
168
+ s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
169
+ s.add_development_dependency(%q<rspec-rails>, ["~> 2.6.1"])
170
+ s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
171
+ s.add_development_dependency(%q<cucumber>, [">= 0"])
172
+ s.add_development_dependency(%q<cucumber-rails>, [">= 0"])
173
+ s.add_development_dependency(%q<database_cleaner>, [">= 0"])
174
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
175
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.3"])
176
+ s.add_development_dependency(%q<json>, [">= 0"])
177
+ s.add_development_dependency(%q<ci_reporter>, [">= 0"])
164
178
  else
165
179
  s.add_dependency(%q<trackable_tasks>, [">= 0"])
166
180
  s.add_dependency(%q<rails>, [">= 3.0.7"])
@@ -224,6 +238,20 @@ Gem::Specification.new do |s|
224
238
  s.add_dependency(%q<jeweler>, ["~> 1.6.3"])
225
239
  s.add_dependency(%q<json>, [">= 0"])
226
240
  s.add_dependency(%q<ci_reporter>, [">= 0"])
241
+ s.add_dependency(%q<jeweler>, ["~> 1.6.3"])
242
+ s.add_dependency(%q<capybara>, [">= 0.4.0"])
243
+ s.add_dependency(%q<sqlite3>, [">= 0"])
244
+ s.add_dependency(%q<ruby-debug19>, [">= 0"])
245
+ s.add_dependency(%q<rspec>, ["~> 2.6.0"])
246
+ s.add_dependency(%q<rspec-rails>, ["~> 2.6.1"])
247
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
248
+ s.add_dependency(%q<cucumber>, [">= 0"])
249
+ s.add_dependency(%q<cucumber-rails>, [">= 0"])
250
+ s.add_dependency(%q<database_cleaner>, [">= 0"])
251
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
252
+ s.add_dependency(%q<jeweler>, ["~> 1.6.3"])
253
+ s.add_dependency(%q<json>, [">= 0"])
254
+ s.add_dependency(%q<ci_reporter>, [">= 0"])
227
255
  end
228
256
  else
229
257
  s.add_dependency(%q<trackable_tasks>, [">= 0"])
@@ -288,6 +316,20 @@ Gem::Specification.new do |s|
288
316
  s.add_dependency(%q<jeweler>, ["~> 1.6.3"])
289
317
  s.add_dependency(%q<json>, [">= 0"])
290
318
  s.add_dependency(%q<ci_reporter>, [">= 0"])
319
+ s.add_dependency(%q<jeweler>, ["~> 1.6.3"])
320
+ s.add_dependency(%q<capybara>, [">= 0.4.0"])
321
+ s.add_dependency(%q<sqlite3>, [">= 0"])
322
+ s.add_dependency(%q<ruby-debug19>, [">= 0"])
323
+ s.add_dependency(%q<rspec>, ["~> 2.6.0"])
324
+ s.add_dependency(%q<rspec-rails>, ["~> 2.6.1"])
325
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
326
+ s.add_dependency(%q<cucumber>, [">= 0"])
327
+ s.add_dependency(%q<cucumber-rails>, [">= 0"])
328
+ s.add_dependency(%q<database_cleaner>, [">= 0"])
329
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
330
+ s.add_dependency(%q<jeweler>, ["~> 1.6.3"])
331
+ s.add_dependency(%q<json>, [">= 0"])
332
+ s.add_dependency(%q<ci_reporter>, [">= 0"])
291
333
  end
292
334
  end
293
335
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: trackable_tasks
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.12
5
+ version: 0.0.13
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeremiah Hemphill
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-04-23 00:00:00 Z
13
+ date: 2012-04-25 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: trackable_tasks
@@ -694,6 +694,160 @@ dependencies:
694
694
  type: :development
695
695
  prerelease: false
696
696
  version_requirements: *id062
697
+ - !ruby/object:Gem::Dependency
698
+ name: jeweler
699
+ requirement: &id063 !ruby/object:Gem::Requirement
700
+ none: false
701
+ requirements:
702
+ - - ~>
703
+ - !ruby/object:Gem::Version
704
+ version: 1.6.3
705
+ type: :development
706
+ prerelease: false
707
+ version_requirements: *id063
708
+ - !ruby/object:Gem::Dependency
709
+ name: capybara
710
+ requirement: &id064 !ruby/object:Gem::Requirement
711
+ none: false
712
+ requirements:
713
+ - - ">="
714
+ - !ruby/object:Gem::Version
715
+ version: 0.4.0
716
+ type: :development
717
+ prerelease: false
718
+ version_requirements: *id064
719
+ - !ruby/object:Gem::Dependency
720
+ name: sqlite3
721
+ requirement: &id065 !ruby/object:Gem::Requirement
722
+ none: false
723
+ requirements:
724
+ - - ">="
725
+ - !ruby/object:Gem::Version
726
+ version: "0"
727
+ type: :development
728
+ prerelease: false
729
+ version_requirements: *id065
730
+ - !ruby/object:Gem::Dependency
731
+ name: ruby-debug19
732
+ requirement: &id066 !ruby/object:Gem::Requirement
733
+ none: false
734
+ requirements:
735
+ - - ">="
736
+ - !ruby/object:Gem::Version
737
+ version: "0"
738
+ type: :development
739
+ prerelease: false
740
+ version_requirements: *id066
741
+ - !ruby/object:Gem::Dependency
742
+ name: rspec
743
+ requirement: &id067 !ruby/object:Gem::Requirement
744
+ none: false
745
+ requirements:
746
+ - - ~>
747
+ - !ruby/object:Gem::Version
748
+ version: 2.6.0
749
+ type: :development
750
+ prerelease: false
751
+ version_requirements: *id067
752
+ - !ruby/object:Gem::Dependency
753
+ name: rspec-rails
754
+ requirement: &id068 !ruby/object:Gem::Requirement
755
+ none: false
756
+ requirements:
757
+ - - ~>
758
+ - !ruby/object:Gem::Version
759
+ version: 2.6.1
760
+ type: :development
761
+ prerelease: false
762
+ version_requirements: *id068
763
+ - !ruby/object:Gem::Dependency
764
+ name: yard
765
+ requirement: &id069 !ruby/object:Gem::Requirement
766
+ none: false
767
+ requirements:
768
+ - - ~>
769
+ - !ruby/object:Gem::Version
770
+ version: 0.6.0
771
+ type: :development
772
+ prerelease: false
773
+ version_requirements: *id069
774
+ - !ruby/object:Gem::Dependency
775
+ name: cucumber
776
+ requirement: &id070 !ruby/object:Gem::Requirement
777
+ none: false
778
+ requirements:
779
+ - - ">="
780
+ - !ruby/object:Gem::Version
781
+ version: "0"
782
+ type: :development
783
+ prerelease: false
784
+ version_requirements: *id070
785
+ - !ruby/object:Gem::Dependency
786
+ name: cucumber-rails
787
+ requirement: &id071 !ruby/object:Gem::Requirement
788
+ none: false
789
+ requirements:
790
+ - - ">="
791
+ - !ruby/object:Gem::Version
792
+ version: "0"
793
+ type: :development
794
+ prerelease: false
795
+ version_requirements: *id071
796
+ - !ruby/object:Gem::Dependency
797
+ name: database_cleaner
798
+ requirement: &id072 !ruby/object:Gem::Requirement
799
+ none: false
800
+ requirements:
801
+ - - ">="
802
+ - !ruby/object:Gem::Version
803
+ version: "0"
804
+ type: :development
805
+ prerelease: false
806
+ version_requirements: *id072
807
+ - !ruby/object:Gem::Dependency
808
+ name: bundler
809
+ requirement: &id073 !ruby/object:Gem::Requirement
810
+ none: false
811
+ requirements:
812
+ - - ~>
813
+ - !ruby/object:Gem::Version
814
+ version: 1.0.0
815
+ type: :development
816
+ prerelease: false
817
+ version_requirements: *id073
818
+ - !ruby/object:Gem::Dependency
819
+ name: jeweler
820
+ requirement: &id074 !ruby/object:Gem::Requirement
821
+ none: false
822
+ requirements:
823
+ - - ~>
824
+ - !ruby/object:Gem::Version
825
+ version: 1.6.3
826
+ type: :development
827
+ prerelease: false
828
+ version_requirements: *id074
829
+ - !ruby/object:Gem::Dependency
830
+ name: json
831
+ requirement: &id075 !ruby/object:Gem::Requirement
832
+ none: false
833
+ requirements:
834
+ - - ">="
835
+ - !ruby/object:Gem::Version
836
+ version: "0"
837
+ type: :development
838
+ prerelease: false
839
+ version_requirements: *id075
840
+ - !ruby/object:Gem::Dependency
841
+ name: ci_reporter
842
+ requirement: &id076 !ruby/object:Gem::Requirement
843
+ none: false
844
+ requirements:
845
+ - - ">="
846
+ - !ruby/object:Gem::Version
847
+ version: "0"
848
+ type: :development
849
+ prerelease: false
850
+ version_requirements: *id076
697
851
  description: Adds tracking to rake tasks including error capturing and logging.
698
852
  email: jeremiah@cloudspace.com
699
853
  executables: []
@@ -788,7 +942,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
788
942
  requirements:
789
943
  - - ">="
790
944
  - !ruby/object:Gem::Version
791
- hash: -3026263602722594006
945
+ hash: 2669986837491187862
792
946
  segments:
793
947
  - 0
794
948
  version: "0"