pomade 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/pomade/version.rb +1 -1
  2. data/readme.md +8 -8
  3. metadata +2 -2
@@ -1,3 +1,3 @@
1
1
  module Pomade
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
data/readme.md CHANGED
@@ -30,18 +30,18 @@ These are the available options and their defaults.
30
30
 
31
31
  ```ruby
32
32
  {
33
- domain: 'timessquare2.com', # This string appends to the subdomain
34
- pathname: '/p/p.svc/Assets/', # The path where you send POST requests to
35
- time_format: "%Y-%m-%dT%H:%M:%SZ", # strftime format for sending timestamps
36
- login_domain: nil, # Optional domain attribute for authenticating via NTLM
37
- debug: false # Prints debugging output
33
+ host: 'timessquare2.com', # [string] The host (domain name) that Pomegranate lives on.
34
+ pathname: '/p/p.svc/Assets/', # [string] The path that is used for interacting with Pomegranate.
35
+ time_format: "%Y-%m-%dT%H:%M:%SZ", # [string] (strftime) change the layout of the timestamp.
36
+ login_domain: nil, # [string] NTLM login domain.
37
+ debug: false # [boolean] Turns on debug mode. This will print out any activity.
38
38
  }
39
39
  ```
40
40
 
41
- To publish assets to Pomegranate, simply create a new Publisher instance.
42
-
43
41
  ### Usage
44
42
 
43
+ To publish assets to Pomegranate, simply create a new Publisher instance.
44
+
45
45
  ```ruby
46
46
  @pom = Pomade::Publisher.new('my-subdomain', 'myusername', 'mypassword', 'XX')
47
47
  ```
@@ -76,7 +76,7 @@ Sometimes Pomegranate will not be able to accept your request. If you're getting
76
76
 
77
77
  * Ensure that your login info is correct. You can test in your browser by logging in via HTTPS at `<subdomain>.timessquare2.com`. If you'd like to use cURL or something else, connect via NTLM.
78
78
  * Make sure that the targets and types for each asset are correct. Targets will vary from client to client.
79
- * Try creating a pomegranate with the `debug` option set to `true` and try again.
79
+ * Try using the `debug` option.
80
80
  * If all else fails, you can try submitting an [issue](https://github.com/jakebellacera/pomade/issues). Please be specific in your bug report.
81
81
 
82
82
  ## Contributing
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pomade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-10 00:00:00.000000000 Z
12
+ date: 2012-09-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby-ntlm