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 +4 -4
- data/lib/totrello/version.rb +1 -1
- data/lib/totrello.rb +11 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff59d7b25b3dc2d1779ed94df56afc3e1865d7fd
|
4
|
+
data.tar.gz: be7e0202277b83447d5c8f7e941dfc459023d2dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63a66c64db3905552a0a97fb13e797a0f94152325098367c659972d232e8d3c513edbd4a91e02cdc3a54eed6510a0393a65d0a54145cdc2c8dd73b1aa82831be
|
7
|
+
data.tar.gz: a0b5023d51e8133cab21da29d6c5e458487470a45fb6d5bb68ea1ac6da0411fba647cf2613df2743c4d58a454597d3b9e8e7524bcedd62c75fe28e298f2e3794
|
data/lib/totrello/version.rb
CHANGED
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
|
-
|
37
|
-
|
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
|
-
|
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.
|
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:
|
108
|
+
version: 1.3.1
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
111
|
rubygems_version: 2.2.2
|