metaforce 1.0.0 → 1.0.1
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/README.md +4 -0
- data/lib/metaforce/cli.rb +1 -1
- data/lib/metaforce/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -125,6 +125,10 @@ client.send_email(
|
|
|
125
125
|
)
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
+
If you're using Rails, check out the [metaforce-delivery\_method](https://github.com/ejholmes/metaforce-delivery_method)
|
|
129
|
+
gem, which allows you to use Salesforce as the delivery mechanism for sending
|
|
130
|
+
emails.
|
|
131
|
+
|
|
128
132
|
## Command-line
|
|
129
133
|
|
|
130
134
|
Metaforce also comes with a handy command line utility that can deploy and retrieve
|
data/lib/metaforce/cli.rb
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
require 'listen'
|
|
2
2
|
require 'thor'
|
|
3
3
|
require 'metaforce/reporters'
|
|
4
|
-
require 'metaforce/reporters'
|
|
5
4
|
|
|
6
5
|
Metaforce.configuration.log = false
|
|
7
6
|
Metaforce::Job.disable_threading!
|
|
@@ -109,6 +108,7 @@ module Metaforce
|
|
|
109
108
|
credentials[:password] ||= ask('password:')
|
|
110
109
|
credentials[:security_token] ||= ask('security token:')
|
|
111
110
|
end
|
|
111
|
+
Metaforce.configuration.host = credentials[:host]
|
|
112
112
|
Metaforce.new credentials
|
|
113
113
|
end
|
|
114
114
|
|
data/lib/metaforce/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metaforce
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2012-12-
|
|
13
|
+
date: 2012-12-24 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: savon
|