confuddle 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -15,4 +15,5 @@ database.yml
15
15
  *.auth
16
16
  .generators
17
17
  .rakeTasks
18
- *.gem
18
+ *.gem
19
+ Gemfile.lock
@@ -1,7 +1,3 @@
1
1
  subdomain: kripton
2
2
  username: superman
3
3
  password: ihateluther
4
- default_project_id: 54321 # ticket number 1234 or #1234
5
- projects_aliases:
6
- 54321: a # number like a#1234
7
- 12345: b # number like b#1234
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source :rubygems
2
+
3
+ gemspec
@@ -0,0 +1,4 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require 'bundler'
4
+ Bundler::GemHelper.install_tasks
data/bin/un CHANGED
@@ -11,6 +11,8 @@ $KCODE='u' if RUBY_VERSION <= "1.8.7"
11
11
 
12
12
  require 'rubygems'
13
13
  require 'yaml'
14
+
15
+ gem 'activesupport', '~>3.2'
14
16
  require 'active_support'
15
17
  require 'active_support/time'
16
18
 
@@ -321,7 +323,8 @@ private
321
323
  groups[ticket.status] << ticket
322
324
  end
323
325
 
324
- groups.each do |group, tickets|
326
+ groups.keys.sort.reverse.each do |group|
327
+ tickets = groups[group]
325
328
  tickets = tickets.sort_by{|t| t.number.to_i}
326
329
  tickets.each{|ticket| render_ticket_head(ticket) }
327
330
  say ''
data/bin/un.cmd CHANGED
File without changes
@@ -15,10 +15,11 @@ Gem::Specification.new do |s|
15
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
 
18
- s.add_dependency 'activesupport', ">=2.3.2"
19
- s.add_dependency 'thor', ">=0.14.3"
18
+ s.add_dependency 'activesupport', "~>3.2"
19
+ s.add_dependency 'thor'
20
20
  s.add_dependency 'hpricot'
21
21
  s.add_dependency 'tzinfo'
22
22
  s.add_dependency 'builder'
23
+ s.add_development_dependency "rake"
23
24
 
24
- end
25
+ end
@@ -3,7 +3,7 @@ $:.unshift File.dirname(__FILE__)
3
3
  require 'uri'
4
4
  require 'net/http'
5
5
  require 'net/https'
6
- require 'json'
6
+ #require 'json'
7
7
  require 'builder'
8
8
  require File.dirname(__FILE__) + '/../../graft/lib/graft/xml'
9
9
 
@@ -89,7 +89,7 @@ module Unfuzzle
89
89
  res << collection_from(response.body, 'tickets/ticket')
90
90
  end
91
91
  end
92
-
92
+
93
93
  res.flatten
94
94
  end
95
95
 
@@ -1,3 +1,3 @@
1
1
  module Un
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,110 +1,125 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: confuddle
3
- version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 2
10
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Makarchev Konstantin
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-04-09 00:00:00 +04:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-08-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: activesupport
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 7
30
- segments:
31
- - 2
32
- - 3
33
- - 2
34
- version: 2.3.2
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.2'
35
22
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: thor
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - !ruby/object:Gem::Dependency
31
+ name: thor
32
+ requirement: !ruby/object:Gem::Requirement
41
33
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 33
46
- segments:
47
- - 0
48
- - 14
49
- - 3
50
- version: 0.14.3
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
51
38
  type: :runtime
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: hpricot
55
39
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: hpricot
48
+ requirement: !ruby/object:Gem::Requirement
57
49
  none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 3
62
- segments:
63
- - 0
64
- version: "0"
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
65
54
  type: :runtime
66
- version_requirements: *id003
67
- - !ruby/object:Gem::Dependency
68
- name: tzinfo
69
55
  prerelease: false
70
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
71
57
  none: false
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- hash: 3
76
- segments:
77
- - 0
78
- version: "0"
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: tzinfo
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
79
70
  type: :runtime
80
- version_requirements: *id004
81
- - !ruby/object:Gem::Dependency
82
- name: builder
83
71
  prerelease: false
84
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
85
73
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- hash: 3
90
- segments:
91
- - 0
92
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: builder
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
93
86
  type: :runtime
94
- version_requirements: *id005
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: rake
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
95
110
  description: Utility for work with unfuddle.com account from console
96
111
  email: kostya27@gmail.com
97
- executables:
112
+ executables:
98
113
  - un
99
114
  - un.cmd
100
115
  extensions: []
101
-
102
116
  extra_rdoc_files: []
103
-
104
- files:
117
+ files:
105
118
  - .gitignore
106
119
  - .passwd_to_unfuddle.example.yml
120
+ - Gemfile
107
121
  - README.md
122
+ - Rakefile
108
123
  - bin/un
109
124
  - bin/un.cmd
110
125
  - confuddle.gemspec
@@ -166,39 +181,34 @@ files:
166
181
  - lib/unfuzzle/test/unit/unfuzzle_test.rb
167
182
  - lib/unfuzzle/unfuzzle.gemspec
168
183
  - lib/version.rb
169
- has_rdoc: true
170
184
  homepage: http://github.com/kostya/confuddle
171
185
  licenses: []
172
-
173
186
  post_install_message:
174
187
  rdoc_options: []
175
-
176
- require_paths:
188
+ require_paths:
177
189
  - lib
178
- required_ruby_version: !ruby/object:Gem::Requirement
190
+ required_ruby_version: !ruby/object:Gem::Requirement
179
191
  none: false
180
- requirements:
181
- - - ">="
182
- - !ruby/object:Gem::Version
183
- hash: 3
184
- segments:
192
+ requirements:
193
+ - - ! '>='
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ segments:
185
197
  - 0
186
- version: "0"
187
- required_rubygems_version: !ruby/object:Gem::Requirement
198
+ hash: 260186611
199
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
200
  none: false
189
- requirements:
190
- - - ">="
191
- - !ruby/object:Gem::Version
192
- hash: 3
193
- segments:
201
+ requirements:
202
+ - - ! '>='
203
+ - !ruby/object:Gem::Version
204
+ version: '0'
205
+ segments:
194
206
  - 0
195
- version: "0"
207
+ hash: 260186611
196
208
  requirements: []
197
-
198
209
  rubyforge_project:
199
- rubygems_version: 1.3.7
210
+ rubygems_version: 1.8.24
200
211
  signing_key:
201
212
  specification_version: 3
202
213
  summary: Utility for work with unfuddle.com account from console
203
214
  test_files: []
204
-