pomade 0.1.2 → 0.2.0
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.
- data/lib/pomade/version.rb +1 -1
- data/readme.md +8 -8
- metadata +2 -2
data/lib/pomade/version.rb
CHANGED
data/readme.md
CHANGED
@@ -30,18 +30,18 @@ These are the available options and their defaults.
|
|
30
30
|
|
31
31
|
```ruby
|
32
32
|
{
|
33
|
-
|
34
|
-
pathname: '/p/p.svc/Assets/', # The path
|
35
|
-
time_format: "%Y-%m-%dT%H:%M:%SZ", # strftime
|
36
|
-
login_domain: nil, #
|
37
|
-
debug: false #
|
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
|
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.
|
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-
|
12
|
+
date: 2012-09-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby-ntlm
|