totrello 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjQ4ZGU4MDljYWIyODM1ZjE5N2RlODFhOWY4MDZjMGM2YjI3ODQyOA==
5
- data.tar.gz: !binary |-
6
- NWEzZDQ1YTRjZTM4ZDJiZTllMWVlZTBjMDA4MmMxZjMxMWYwMGRiZA==
2
+ SHA1:
3
+ metadata.gz: 5f0e01dea697ae1c0afd6654f9bf696a2ea6439e
4
+ data.tar.gz: 35bd106fcb25efcd12a148c899b92406ee62c196
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- OWJjZDkzN2QyYThlMDc2YzkzNmNmOGYzOWZmYzk3YjkzNmNlM2NlMGIxYWIz
10
- NTJiMzQ1Mjk4MDVhMTIwYjEyNTQzMDFiMmY3ZWNlZjg4YjkwOTA5ZmFkYTRm
11
- ZWFlNTc2YTRmZmU5NDg2YTUyMmI4ODdmOGIxOTQyYzY3ZGU5Yjc=
12
- data.tar.gz: !binary |-
13
- OWUzNjhmYmEwMGJmODFkN2QxNmY4NmM0MzMxZDI4ZDMzODY5MWI0YzNjYzg5
14
- YjRiNDY3YjhlOGE1OTA3ZDk3N2RiZjNmZjA0ZGVhYzIzMWYyM2I1ZjFiMGQy
15
- YmY0YTRkZTQ2OGY0OGNkMjZmNTM3MWI1ODJiYzZiMzE0ODkzNjc=
6
+ metadata.gz: 2529af6b67e8d5d65621ed871840a943c0b1bc1e029948ce43e4f899b31a7b0b5e159b904a1a344c0a3889622de6c4d859f8ba19b2c29a8503fba548affcbda5
7
+ data.tar.gz: 274099814ee1ac1ea5e258ada070cc57adcd53db833ccc8e831d3d784de8107a9db8836c1e2da00af07fa260b002aeb28425f4aab1f94738882cc546a648a40c
@@ -1,3 +1,3 @@
1
1
  module Totrello
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/totrello.rb CHANGED
@@ -36,7 +36,7 @@ module Totrello
36
36
  begin
37
37
  board = @trello.find_board(todos[:directory])
38
38
  rescue
39
- board ||= @trello.create_board(todos[:directory], 'Auto Generated by ToTrello Gem')
39
+ board = @trello.create_board(todos[:directory], 'Auto Generated by ToTrello Gem')
40
40
  end
41
41
 
42
42
 
@@ -44,12 +44,8 @@ module Totrello
44
44
  puts 'Talking to Trello, this is the longest part...'
45
45
  todos[:todo_list].each do |tdl|
46
46
  tdl[:todos].each do |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
-
47
+ puts gen_description(tdl[:file], td)
48
+ @trello.create_card(board,td, gen_description(tdl[:file],td),'To Do') unless td == ''
53
49
  end
54
50
  end
55
51
  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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Teeter
@@ -98,12 +98,12 @@ require_paths:
98
98
  - lib
99
99
  required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
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
108
  version: '0'
109
109
  requirements: []