totrello 0.1.0 → 0.1.1a

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75b854fa65a6786196a3c821cd546e0c4ea5e509
4
- data.tar.gz: 52df0c78f9cce98c81c85d1b262ea8ac4debf208
3
+ metadata.gz: ff59d7b25b3dc2d1779ed94df56afc3e1865d7fd
4
+ data.tar.gz: be7e0202277b83447d5c8f7e941dfc459023d2dc
5
5
  SHA512:
6
- metadata.gz: ed248fe70636317424acd743893cc3c13c4422f227baaab2b4cfa037d8707c158fd11b7bae5e84d64f27abbff859e6793a2da0385f84df7a83a427af1214d063
7
- data.tar.gz: d82bf35faed04122009a6bed572b06c9a46eb5a29c3fb79ed37f04f590737e61a501babc932814bb7dfeb9a34b909e7bb89cb7d53eb2bd624e130861715fb122
6
+ metadata.gz: 63a66c64db3905552a0a97fb13e797a0f94152325098367c659972d232e8d3c513edbd4a91e02cdc3a54eed6510a0393a65d0a54145cdc2c8dd73b1aa82831be
7
+ data.tar.gz: a0b5023d51e8133cab21da29d6c5e458487470a45fb6d5bb68ea1ac6da0411fba647cf2613df2743c4d58a454597d3b9e8e7524bcedd62c75fe28e298f2e3794
@@ -1,3 +1,3 @@
1
1
  module Totrello
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1a"
3
3
  end
data/lib/totrello.rb CHANGED
@@ -33,15 +33,23 @@ module Totrello
33
33
  puts "Woot! We've got'em"
34
34
 
35
35
  puts 'Generating your board'
36
- board = @trello.find_board(todos[:directory])
37
- board ||= @trello.create_board(todos[:directory], 'Auto Generated by ToTrello Gem')
36
+ begin
37
+ board = @trello.find_board(todos[:directory])
38
+ rescue
39
+ board ||= @trello.create_board(todos[:directory], 'Auto Generated by ToTrello Gem')
40
+ end
38
41
 
39
42
 
40
43
 
41
44
  puts 'Taking to Trello, this is the longest part...'
42
45
  todos[:todo_list].each do |tdl|
43
46
  tdl[:todos].each do |td|
44
- @trello.create_card(board,td, gen_description(tdl[:file],td),'To Do') unless td == ''
47
+ begin
48
+ @trello.create_card(board,td, gen_description(tdl[:file],td),'To Do') unless td == ''
49
+ rescue
50
+ puts 'error posting to trello'
51
+ end
52
+
45
53
  end
46
54
  end
47
55
  puts "And you're ready to go!"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: totrello
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1a
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Teeter
@@ -103,9 +103,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - ">="
106
+ - - ">"
107
107
  - !ruby/object:Gem::Version
108
- version: '0'
108
+ version: 1.3.1
109
109
  requirements: []
110
110
  rubyforge_project:
111
111
  rubygems_version: 2.2.2