kronk 1.9.5 → 1.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.rdoc +14 -0
- data/README.rdoc +2 -2
- data/lib/kronk.rb +2 -2
- data/lib/kronk/cmd.rb +5 -0
- data/lib/kronk/cmd/oauth.rb +2 -0
- data/lib/kronk/constants.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b043225334e3146194e45e8786ff2c47574606a5
|
|
4
|
+
data.tar.gz: 52d722f85fd38a53c8a64d367a6cf8840360808c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c641b3413508480348cf6e7c3096f8ceb6b328c6ea71448276dd57679b103ba727db92798cabf6634d8a59cacec52f122333261153772486f7c235a646b1e5c3
|
|
7
|
+
data.tar.gz: 60983a1651cce9be00bd14e0af511c8974f7e34a23f5c1fb21c7de8875c6777eab236b34127e0e5c52478979a632b8976fb4dd256cff4a5dade43db18b734451
|
data/History.rdoc
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
=== 1.9.6 / 2014-08-20
|
|
2
|
+
|
|
3
|
+
* Bugfixes:
|
|
4
|
+
|
|
5
|
+
* Fix for first time kronk-oauth run
|
|
6
|
+
|
|
7
|
+
* Don't colorize responses when writing to non-tty stdout
|
|
8
|
+
|
|
9
|
+
=== 1.9.5 / 2014-08-20
|
|
10
|
+
|
|
11
|
+
* Enhancements:
|
|
12
|
+
|
|
13
|
+
* Add kronk-oauth CLI for oauth config management
|
|
14
|
+
|
|
1
15
|
=== 1.9.4 / 2012-09-04
|
|
2
16
|
|
|
3
17
|
* Enhancements:
|
data/README.rdoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
= Kronk
|
|
2
2
|
|
|
3
|
-
* http://
|
|
3
|
+
* http://jcasts.me/kronk
|
|
4
4
|
|
|
5
5
|
== DESCRIPTION:
|
|
6
6
|
|
|
@@ -357,7 +357,7 @@ and generate the RDoc.
|
|
|
357
357
|
|
|
358
358
|
(The MIT License)
|
|
359
359
|
|
|
360
|
-
Copyright (c) 2010-
|
|
360
|
+
Copyright (c) 2010-2014 Jeremie Castagna
|
|
361
361
|
|
|
362
362
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
363
363
|
a copy of this software and associated documentation files (the
|
data/lib/kronk.rb
CHANGED
|
@@ -16,7 +16,7 @@ require 'yaml'
|
|
|
16
16
|
class Kronk
|
|
17
17
|
|
|
18
18
|
# This gem's version.
|
|
19
|
-
VERSION = '1.9.
|
|
19
|
+
VERSION = '1.9.6'
|
|
20
20
|
|
|
21
21
|
require 'kronk/constants'
|
|
22
22
|
require 'kronk/queue_runner'
|
|
@@ -88,7 +88,7 @@ class Kronk
|
|
|
88
88
|
end
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
@oauth_config = Kronk::OAuthConfig.load_file(DEFAULT_OAUTH_FILE)
|
|
91
|
+
@oauth_config = Kronk::OAuthConfig.load_file(DEFAULT_OAUTH_FILE) if File.file?(DEFAULT_OAUTH_FILE)
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
|
data/lib/kronk/cmd.rb
CHANGED
|
@@ -537,6 +537,11 @@ Parse and run diffs against data from live and cached http responses.
|
|
|
537
537
|
options[:uris] << BufferedIO.new($stdin)
|
|
538
538
|
end
|
|
539
539
|
|
|
540
|
+
unless $stdout.tty?
|
|
541
|
+
Kronk.config[:color_data] = false
|
|
542
|
+
Kronk.config[:diff_format] = 'ascii'
|
|
543
|
+
end
|
|
544
|
+
|
|
540
545
|
options[:uris].concat argv
|
|
541
546
|
options[:uris].slice!(2..-1)
|
|
542
547
|
|
data/lib/kronk/cmd/oauth.rb
CHANGED
data/lib/kronk/constants.rb
CHANGED
|
@@ -62,7 +62,7 @@ class Kronk
|
|
|
62
62
|
|
|
63
63
|
# The default Kronk user agent.
|
|
64
64
|
DEFAULT_USER_AGENT =
|
|
65
|
-
"Kronk/#{VERSION} (#{RUBY_PLATFORM}; U; en-US; http://
|
|
65
|
+
"Kronk/#{VERSION} (#{RUBY_PLATFORM}; U; en-US; http://jcasts.me/kronk) \
|
|
66
66
|
#{RUBY_ENGINE}/#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
|
|
67
67
|
|
|
68
68
|
# Aliases for various user-agents. Thanks Mechanize! :)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kronk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremie Castagna
|
|
@@ -237,7 +237,7 @@ files:
|
|
|
237
237
|
- test/test_request_parser.rb
|
|
238
238
|
- test/test_response.rb
|
|
239
239
|
- test/test_xml_parser.rb
|
|
240
|
-
homepage: http://
|
|
240
|
+
homepage: http://jcasts.me/kronk
|
|
241
241
|
licenses:
|
|
242
242
|
- MIT
|
|
243
243
|
metadata: {}
|