Code Monkey home page Code Monkey logo

gulp-litmus's People

Contributors

drewtempelmeyer avatar druellan avatar jeremypeter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gulp-litmus's Issues

Task hangs on sending new version

[10:57:08] Using gulpfile ~/my-project/gulpfile.js
[10:57:08] Starting 'test'...
[10:57:08] Finished 'test' after 56 ms
Sending new version: My Project
New version sent!
┌───────────────────────┐
│ Avg. Time to Complete │
├───────────────────────┤
│ 1 mins                │
└───────────────────────┘
^C

I can upload a test perfectly the first time, but when I try to send a new version of the same email, the task hangs and I have to abort the task. Then, when I try again, it just uploads it as a new checklist and succeeds.

Here's the litmus task in my gulpfile. I'm pulling sensitive information from an external data file secrets.json:

// Upload tests to Litmus
var config = {
  username: secrets.litmus.username,
  password: secrets.litmus.password,
  url: secrets.litmus.url,
  applications: secrets.litmus.applications
}

gulp.task('test', function () {
  return gulp.src('./index.html')
    .pipe(litmus(config));
});

Has anyone else had this issue?
Thanks!

Linked stylesheet is not inlined before sending to Litmus

I recently switched my gulp tasks from using gulp-email-builder to gulp-litmus, mostly because the former will hang on sending an updated test to Litmus. The problem I have with gulp-litmus is that it does not inline my CSS from a linked stylesheet in the head of my HTML, which gulp-email-builder does by default. Instead I have to also use gulp-inline-css before sending a test to Litmus.

Would it be possible to include this functionality in gulp-litmus to reduce steps? Or at least mention the need for inlining before sending a test to Litmus?

Dependency gulp-utils is deprecated since 2 years

Gulp-litmus uses gulp-util as a dependency, which has been deprecated over 2 years now.

Since gulp-litmus only uses gutil.PluginError() from the gulp-utils package, this can easily be fixed by replacing gulp-util with plugin-error and using the function PluginError().

I will open a pull request shortly.

Sample code produces error

Running the sample code produces some errors

  • WARNING: applemail6 not supported
  • WARNING: gmailnew not supported
  • WARNING: ffgmailnew not supported
  • WARNING: chromegmailnew not supported
  • WARNING: iphone4s not supported

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.