epf-source 0.1.0 → 0.1.1

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/epf.js +12 -2
  2. metadata +6 -4
data/dist/epf.js CHANGED
@@ -34,7 +34,7 @@
34
34
  var cwd = '/';
35
35
  return {
36
36
  title: 'browser',
37
- version: 'v0.8.9',
37
+ version: 'v0.11.2',
38
38
  browser: true,
39
39
  env: {},
40
40
  argv: [],
@@ -2887,7 +2887,9 @@
2887
2887
  this.suspendDirtyChecking(function () {
2888
2888
  merged = this.mergeModel(model, strategy);
2889
2889
  }, this);
2890
- shadows.remove(model);
2890
+ if (shadows.contains(model) && get(model, 'isLoaded')) {
2891
+ shadows.add(model);
2892
+ }
2891
2893
  newModels.remove(model);
2892
2894
  } else {
2893
2895
  this.suspendDirtyChecking(function () {
@@ -3445,6 +3447,14 @@
3445
3447
  });
3446
3448
  require.define('/lib/initializer.js', function (module, exports, __dirname, __filename) {
3447
3449
  var set = Ember.set;
3450
+ if (Ember.DefaultResolver) {
3451
+ Ember.DefaultResolver.reopen({
3452
+ resolveModel: function (parsedName) {
3453
+ var className = Ember.String.classify(parsedName.name);
3454
+ return Ember.get(parsedName.root, className);
3455
+ }
3456
+ });
3457
+ }
3448
3458
  Ember.onLoad('Ember.Application', function (Application) {
3449
3459
  Application.initializer({
3450
3460
  name: 'epf',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epf-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,10 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-08 00:00:00.000000000 Z
12
+ date: 2013-07-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Epf source code wrapper for ruby libs.
15
- email: []
15
+ email:
16
+ - ghempton@gmail.com
16
17
  executables: []
17
18
  extensions: []
18
19
  extra_rdoc_files: []
@@ -40,8 +41,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
40
41
  version: '0'
41
42
  requirements: []
42
43
  rubyforge_project:
43
- rubygems_version: 1.8.25
44
+ rubygems_version: 1.8.23
44
45
  signing_key:
45
46
  specification_version: 3
46
47
  summary: Epf source code wrapper
47
48
  test_files: []
49
+ has_rdoc: