totrello 0.1.1a → 0.1.1

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: ff59d7b25b3dc2d1779ed94df56afc3e1865d7fd
4
- data.tar.gz: be7e0202277b83447d5c8f7e941dfc459023d2dc
3
+ metadata.gz: 40ba7c43065edcb80c137577acc9bb815fccd985
4
+ data.tar.gz: a5fdb0964133242267069e15b8ea0e9f5bfb2e50
5
5
  SHA512:
6
- metadata.gz: 63a66c64db3905552a0a97fb13e797a0f94152325098367c659972d232e8d3c513edbd4a91e02cdc3a54eed6510a0393a65d0a54145cdc2c8dd73b1aa82831be
7
- data.tar.gz: a0b5023d51e8133cab21da29d6c5e458487470a45fb6d5bb68ea1ac6da0411fba647cf2613df2743c4d58a454597d3b9e8e7524bcedd62c75fe28e298f2e3794
6
+ metadata.gz: 34e5b02adb34f4b795667146a1e2aeff2037b8f49c0f5b90e84d6f5a7e16e8e464d1e8360649c85639f6570a95b55bf4bc430ce69dfba8d1ea428a0c2b05e208
7
+ data.tar.gz: 57c336758fffd65e921f97b7803e7edd7d891953fbae23bcfaa15294268d3de7d78b251fc1b52f07e28abe0ab8f4d2abceccdc0fa8fbbcff0bf70f336e55eb9b
@@ -1,3 +1,3 @@
1
1
  module Totrello
2
- VERSION = "0.1.1a"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/totrello.rb CHANGED
@@ -33,23 +33,16 @@ module Totrello
33
33
  puts "Woot! We've got'em"
34
34
 
35
35
  puts 'Generating your board'
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
36
+
37
+ @trello.create_board(todos[:directory], 'Auto Generated by ToTrello Gem')
38
+ board = @trello.find_board(todos[:directory])
41
39
 
42
40
 
43
41
 
44
42
  puts 'Taking to Trello, this is the longest part...'
45
43
  todos[:todo_list].each do |tdl|
46
44
  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
-
45
+ @trello.create_card(board,td, gen_description(tdl[:file],td),'To Do') unless td == ''
53
46
  end
54
47
  end
55
48
  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.1a
4
+ version: 0.1.1
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: 1.3.1
108
+ version: '0'
109
109
  requirements: []
110
110
  rubyforge_project:
111
111
  rubygems_version: 2.2.2