ember-auth-source 7.1.2 → 7.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/dist/ember-auth.js +1 -6
  2. metadata +3 -3
@@ -842,12 +842,7 @@ set$(get$(get$(Em, 'Auth'), 'Module'), 'EmberModel', Ember.Object.extend({
842
842
  settings = this.ajaxSettings(url, method);
843
843
  return new (get$(Ember.RSVP, 'Promise'))(function (resolve, reject) {
844
844
  if (params)
845
- if (method === 'GET') {
846
- set$(settings, 'data', params);
847
- } else {
848
- set$(settings, 'contentType', 'application/json; charset=utf-8');
849
- set$(settings, 'data', JSON.stringify(params));
850
- }
845
+ set$(settings, 'data', params);
851
846
  set$(settings, 'success', function (json) {
852
847
  return Ember.run(null, resolve, json);
853
848
  });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-auth-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.2
4
+ version: 7.1.3
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: 2013-08-22 00:00:00.000000000 Z
12
+ date: 2013-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ember-source
@@ -51,7 +51,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
51
  version: '0'
52
52
  segments:
53
53
  - 0
54
- hash: -846208323
54
+ hash: -85182207
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements: