chimplate 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/chimplate.gemspec +1 -1
- data/lib/chimplate/version.rb +1 -1
- data/readme.md +13 -3
- metadata +2 -2
data/chimplate.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = `git ls-files`.split("\n")
|
14
14
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
15
15
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
16
|
-
s.homepage = '
|
16
|
+
s.homepage = 'https://github.com/mattfff/chimplate'
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
s.add_dependency "mailchimp"
|
19
19
|
s.add_dependency "json"
|
data/lib/chimplate/version.rb
CHANGED
data/readme.md
CHANGED
@@ -87,6 +87,19 @@ want to create a new file, kill the watch process via Ctrl+C, make the
|
|
87
87
|
new file, run `chimplate push`, and then re-start the `chimplate watch`
|
88
88
|
process to resume pushing your changes on the fly back to Mailchimp.
|
89
89
|
|
90
|
+
Diff
|
91
|
+
----
|
92
|
+
If you want to see what's different between your local copy and what's
|
93
|
+
in Mailchimp, just run `chimplate diff`. This will diff all of the
|
94
|
+
current local files against mailchimp.
|
95
|
+
|
96
|
+
If you just want to diff one file, pass the full filename: `chimplate
|
97
|
+
diff --filename 12345-My_Template.html`.
|
98
|
+
|
99
|
+
Note: Diff support requires a working diff. If you're a Windows user
|
100
|
+
you'll need working diff, as described on the Diffy page:
|
101
|
+
https://github.com/samg/diffy.
|
102
|
+
|
90
103
|
Gotchas
|
91
104
|
-------
|
92
105
|
|
@@ -109,6 +122,3 @@ stack trace and run home to mommy. Sorry! I hope to fix this soon...
|
|
109
122
|
3. Provide some sort of support for template deletion. At this point I'm
|
110
123
|
happy leaving it to the Mailchimp UI, since accidental deletion would be
|
111
124
|
a bummer.
|
112
|
-
4. Provide some diff support, so you could diff a template to see what's
|
113
|
-
different between your local copy and Mailchimp's version before you
|
114
|
-
push.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chimplate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -109,7 +109,7 @@ files:
|
|
109
109
|
- lib/chimplate/base.rb
|
110
110
|
- lib/chimplate/version.rb
|
111
111
|
- readme.md
|
112
|
-
homepage:
|
112
|
+
homepage: https://github.com/mattfff/chimplate
|
113
113
|
licenses: []
|
114
114
|
post_install_message:
|
115
115
|
rdoc_options: []
|