helios 0.0.5 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -1
  3. data/Gemfile.lock +38 -44
  4. data/bin/helios +2 -2
  5. data/example/Gemfile +2 -2
  6. data/example/Gemfile.lock +60 -49
  7. data/example/Procfile +1 -1
  8. data/example/Sample.xcdatamodeld/Sample.xcdatamodel/contents +11 -17
  9. data/example/config.ru +12 -1
  10. data/helios-0.1.0.gem +0 -0
  11. data/helios.gemspec +5 -3
  12. data/lib/helios.rb +9 -5
  13. data/lib/helios/backend.rb +27 -17
  14. data/lib/helios/backend/accounts.rb +38 -0
  15. data/lib/helios/backend/data.rb +7 -6
  16. data/lib/helios/backend/in-app-purchase.rb +10 -2
  17. data/lib/helios/backend/passbook.rb +12 -2
  18. data/lib/helios/backend/push-notification.rb +8 -1
  19. data/lib/helios/commands.rb +3 -1
  20. data/lib/helios/commands/link.rb +18 -0
  21. data/lib/helios/commands/new.rb +43 -6
  22. data/lib/helios/commands/server.rb +16 -0
  23. data/lib/helios/frontend.rb +11 -5
  24. data/lib/helios/frontend/fonts/icons.eot +0 -0
  25. data/lib/helios/frontend/fonts/icons.ttf +0 -0
  26. data/lib/helios/frontend/fonts/icons.woff +0 -0
  27. data/lib/helios/frontend/images/bg.jpg +0 -0
  28. data/lib/helios/frontend/javascripts/helios.coffee +5 -5
  29. data/lib/helios/frontend/javascripts/helios/collections.coffee +67 -6
  30. data/lib/helios/frontend/javascripts/helios/models.coffee +1 -4
  31. data/lib/helios/frontend/javascripts/helios/router.coffee +0 -14
  32. data/lib/helios/frontend/javascripts/helios/views.coffee +164 -23
  33. data/lib/helios/frontend/javascripts/vendor/backbone.paginator.js +1046 -0
  34. data/lib/helios/frontend/javascripts/vendor/codemirror.javascript.js +411 -0
  35. data/lib/helios/frontend/javascripts/vendor/codemirror.js +3047 -0
  36. data/lib/helios/frontend/javascripts/vendor/date.js +104 -0
  37. data/lib/helios/frontend/javascripts/{foundation → vendor}/foundation.js +0 -0
  38. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.alerts.js +0 -0
  39. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.clearing.js +0 -0
  40. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.cookie.js +0 -0
  41. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.dropdown.js +0 -0
  42. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.forms.js +0 -0
  43. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.joyride.js +0 -0
  44. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.magellan.js +0 -0
  45. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.orbit.js +0 -0
  46. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.placeholder.js +0 -0
  47. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.reveal.js +0 -0
  48. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.section.js +0 -0
  49. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.tooltips.js +0 -0
  50. data/lib/helios/frontend/javascripts/{foundation → vendor/foundation}/foundation.topbar.js +0 -0
  51. data/lib/helios/frontend/stylesheets/_codemirror.sass +219 -0
  52. data/lib/helios/frontend/stylesheets/_fonts.sass +80 -0
  53. data/lib/helios/frontend/stylesheets/_iphone.sass +141 -0
  54. data/lib/helios/frontend/stylesheets/_settings.scss +12 -11
  55. data/lib/helios/frontend/stylesheets/screen.sass +119 -34
  56. data/lib/helios/frontend/views/compose.jst.tpl +70 -0
  57. data/lib/helios/frontend/views/devices.jst.tpl +15 -2
  58. data/lib/helios/frontend/views/entities.jst.tpl +6 -4
  59. data/lib/helios/frontend/views/index.haml +24 -8
  60. data/lib/helios/frontend/views/passes.jst.tpl +10 -2
  61. data/lib/helios/frontend/views/receipts.jst.tpl +10 -2
  62. data/lib/helios/templates/Gemfile.erb +5 -2
  63. data/lib/helios/templates/Procfile.erb +1 -1
  64. data/lib/helios/templates/README.md.erb +1 -1
  65. data/lib/helios/templates/config.ru.erb +8 -1
  66. data/lib/helios/version.rb +1 -1
  67. metadata +174 -102
  68. data/helios-0.0.2.gem +0 -0
  69. data/helios-0.0.3.gem +0 -0
  70. data/helios-0.0.4.gem +0 -0
  71. data/lib/helios/frontend/images/data.png +0 -0
  72. data/lib/helios/frontend/images/data.svg +0 -1
  73. data/lib/helios/frontend/images/in-app-purchase.png +0 -0
  74. data/lib/helios/frontend/images/in-app-purchase.svg +0 -1
  75. data/lib/helios/frontend/images/passbook.png +0 -0
  76. data/lib/helios/frontend/images/passbook.svg +0 -1
  77. data/lib/helios/frontend/images/push-notification.png +0 -0
  78. data/lib/helios/frontend/images/push-notification.svg +0 -1
  79. data/lib/helios/frontend/templates/data/entities.hbs +0 -7
  80. data/lib/helios/frontend/templates/data/entity.hbs +0 -17
  81. data/lib/helios/frontend/templates/in-app-purchase/receipt.hbs +0 -53
  82. data/lib/helios/frontend/templates/in-app-purchase/receipts.hbs +0 -39
  83. data/lib/helios/frontend/templates/passbook/passes.hbs +0 -25
  84. data/lib/helios/frontend/templates/push-notification/device.hbs +0 -35
  85. data/lib/helios/frontend/templates/push-notification/devices.hbs +0 -37
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8f49d72eae50b9d0f7b0fcd955286e930c6a008b
4
+ data.tar.gz: 7a81dbf2013d8fbfd94f2f7a883c6c8d9144f43d
5
+ SHA512:
6
+ metadata.gz: 9e3f0a41f0a7f4e4a514936ae48fee5cee7ddd216298a6d6dd8fd3f77fe37136bc3147f3d92ca5b699a593498746633741cbba3f77f6b341243248c4b034e04b
7
+ data.tar.gz: 054897badfddb7935d3a88568f3059606e9b944414a0965c0d25ff9be24f5bb5e18440dedff336ae1cb05a9ee04bc5c7c9ff8a4b14a0cd31d7f33015dadd54ab
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
- source :rubygems
1
+ source "https://rubygems.org"
2
+
3
+ gem 'pg'
2
4
 
3
5
  gemspec
@@ -1,62 +1,64 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- helios (0.0.5)
4
+ helios (0.1.1)
5
5
  coffee-script (~> 2.2)
6
6
  commander (~> 4.1.2)
7
7
  compass (~> 0.12)
8
8
  haml (~> 3.1)
9
9
  json (~> 1.7)
10
+ omniauth (~> 1.0)
10
11
  rack-core-data (~> 0.2)
11
- rack-in-app-purchase (~> 0.0.2)
12
- rack-passbook (~> 0.0.2)
13
- rack-push-notification (~> 0.2)
12
+ rack-in-app-purchase (~> 0.1)
13
+ rack-passbook (~> 0.1)
14
+ rack-push-notification (~> 0.4)
14
15
  rack-smart-app-banner (~> 0.0.1)
15
16
  sinatra (~> 1.3)
16
17
  sinatra-assetpack (~> 0.1)
17
18
  sinatra-backbone (~> 0.1.0.rc2)
19
+ sinatra-contrib (~> 1.3)
18
20
  sinatra-param (~> 0.1)
19
21
  sinatra-support (~> 1.2)
20
22
  zurb-foundation (~> 4.0)
21
23
 
22
24
  GEM
23
- remote: http://rubygems.org/
25
+ remote: https://rubygems.org/
24
26
  specs:
25
- activesupport (3.2.12)
26
- i18n (~> 0.6)
27
+ activesupport (3.2.13)
28
+ i18n (= 0.6.1)
27
29
  multi_json (~> 1.0)
28
- bootstrap-sass (2.1.1.0)
30
+ backports (3.1.1)
29
31
  chunky_png (1.2.7)
30
32
  coffee-script (2.2.0)
31
33
  coffee-script-source
32
34
  execjs
33
- coffee-script-source (1.6.1)
35
+ coffee-script-source (1.6.2)
34
36
  commander (4.1.3)
35
37
  highline (~> 1.6.11)
36
38
  compass (0.12.2)
37
39
  chunky_png (~> 1.2)
38
40
  fssm (>= 0.2.7)
39
41
  sass (~> 3.1)
40
- eco (1.0.0)
41
- coffee-script
42
- eco-source
43
- execjs
44
- eco-source (1.1.0.rc.1)
42
+ eventmachine (1.0.3)
45
43
  excon (0.17.0)
46
44
  execjs (1.4.0)
47
45
  multi_json (~> 1.0)
48
46
  fssm (0.2.10)
49
47
  haml (3.1.8)
50
- highline (1.6.15)
51
- hike (1.2.1)
48
+ hashie (1.2.0)
49
+ highline (1.6.16)
52
50
  houston (0.1.1)
53
51
  commander (~> 4.1.2)
54
52
  json (~> 1.7.3)
55
- i18n (0.6.4)
53
+ i18n (0.6.1)
56
54
  jsmin (1.0.1)
57
55
  json (1.7.7)
58
- multi_json (1.6.1)
59
- nokogiri (1.5.6)
56
+ multi_json (1.7.1)
57
+ nokogiri (1.5.9)
58
+ omniauth (1.1.3)
59
+ hashie (~> 1.2)
60
+ rack
61
+ pg (0.14.1)
60
62
  rack (1.5.2)
61
63
  rack-contrib (1.1.0)
62
64
  rack (>= 0.9.1)
@@ -68,41 +70,33 @@ GEM
68
70
  sequel (~> 3.37.0)
69
71
  sinatra (~> 1.3.2)
70
72
  sinatra-param (~> 0.1.1)
71
- rack-in-app-purchase (0.0.2)
73
+ rack-in-app-purchase (0.1.0)
72
74
  rack (~> 1.4)
73
75
  sequel (~> 3.37)
74
76
  sinatra (~> 1.3)
75
77
  venice
76
- rack-passbook (0.0.3)
78
+ rack-passbook (0.1.1)
77
79
  rack (~> 1.4)
78
80
  sequel (~> 3.37)
79
81
  sinatra (~> 1.3)
80
- rack-protection (1.4.0)
82
+ rack-protection (1.5.0)
81
83
  rack
82
- rack-push-notification (0.2.0)
83
- bootstrap-sass (~> 2.1.0)
84
- coffee-script (~> 2.2)
85
- compass (~> 0.11)
86
- eco (~> 1.0)
87
- haml (~> 3.1)
84
+ rack-push-notification (0.4.0)
88
85
  houston (~> 0.1.1)
89
86
  rack (~> 1.4)
90
87
  rack-contrib (~> 1.1)
91
- sass (~> 3.2)
92
88
  sequel (~> 3.37)
93
- sinatra (~> 1.3.2)
89
+ sinatra (~> 1.3)
94
90
  sinatra-param (~> 0.1)
95
- sprockets (~> 2.8)
96
- sprockets-sass (~> 0.9)
97
91
  rack-smart-app-banner (0.0.1)
98
92
  rack (>= 1.2.0, <= 2.0.0)
99
93
  rack-test (0.6.2)
100
94
  rack (>= 1.0)
101
95
  rake (0.9.6)
102
- rspec (0.6.4)
96
+ rspec (0.9.4)
103
97
  sass (3.2.7)
104
98
  sequel (3.37.0)
105
- sinatra (1.3.5)
99
+ sinatra (1.3.6)
106
100
  rack (~> 1.4)
107
101
  rack-protection (~> 1.3)
108
102
  tilt (~> 1.3, >= 1.3.3)
@@ -113,26 +107,25 @@ GEM
113
107
  tilt (>= 1.3.0)
114
108
  sinatra-backbone (0.1.0.rc2)
115
109
  sinatra
110
+ sinatra-contrib (1.3.2)
111
+ backports (>= 2.0)
112
+ eventmachine
113
+ rack-protection
114
+ rack-test
115
+ sinatra (~> 1.3.0)
116
+ tilt (~> 1.3)
116
117
  sinatra-param (0.1.2)
117
118
  sinatra (~> 1.3)
118
119
  sinatra-support (1.2.2)
119
120
  sinatra (>= 1.0)
120
- sprockets (2.9.0)
121
- hike (~> 1.2)
122
- multi_json (~> 1.0)
123
- rack (~> 1.0)
124
- tilt (~> 1.1, != 1.3.0)
125
- sprockets-sass (0.9.1)
126
- sprockets (~> 2.0)
127
- tilt (~> 1.1)
128
121
  terminal-table (1.4.5)
129
- tilt (1.3.5)
122
+ tilt (1.3.6)
130
123
  venice (0.0.1)
131
124
  commander (~> 4.1.2)
132
125
  excon (~> 0.17.0)
133
126
  json (~> 1.7.3)
134
127
  terminal-table (~> 1.4.5)
135
- zurb-foundation (4.0.5)
128
+ zurb-foundation (4.0.9)
136
129
  sass (>= 3.2.0)
137
130
 
138
131
  PLATFORMS
@@ -140,5 +133,6 @@ PLATFORMS
140
133
 
141
134
  DEPENDENCIES
142
135
  helios!
136
+ pg
143
137
  rake (~> 0.9)
144
138
  rspec (~> 0.6)
data/bin/helios CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'commander/import'
4
4
 
5
- require 'helios'
5
+ require 'helios/version'
6
6
 
7
7
  $:.unshift File.join(File.dirname(__FILE__), '../lib')
8
8
 
@@ -18,4 +18,4 @@ program :help_formatter, :compact
18
18
 
19
19
  default_command :help
20
20
 
21
- require 'helios/commands'
21
+ require 'helios/commands'
@@ -1,7 +1,7 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  gem 'helios', path: File.join(__FILE__, "../..")
4
-
4
+ gem 'unicorn'
5
5
  gem 'pg'
6
6
 
7
- gem 'thin', '~>1.4.1'
7
+ gem 'omniauth-github'
@@ -1,20 +1,22 @@
1
1
  PATH
2
2
  remote: /Users/mattt/Code/Ruby/helios
3
3
  specs:
4
- helios (0.0.1)
4
+ helios (0.1.0)
5
5
  coffee-script (~> 2.2)
6
6
  commander (~> 4.1.2)
7
7
  compass (~> 0.12)
8
8
  haml (~> 3.1)
9
9
  json (~> 1.7)
10
+ omniauth (~> 1.0)
10
11
  rack-core-data (~> 0.2)
11
- rack-in-app-purchase (~> 0.0.2)
12
- rack-passbook (~> 0.0.2)
13
- rack-push-notification (~> 0.2)
12
+ rack-in-app-purchase (~> 0.1)
13
+ rack-passbook (~> 0.1)
14
+ rack-push-notification (~> 0.4)
14
15
  rack-smart-app-banner (~> 0.0.1)
15
16
  sinatra (~> 1.3)
16
17
  sinatra-assetpack (~> 0.1)
17
18
  sinatra-backbone (~> 0.1.0.rc2)
19
+ sinatra-contrib (~> 1.3)
18
20
  sinatra-param (~> 0.1)
19
21
  sinatra-support (~> 1.2)
20
22
  zurb-foundation (~> 4.0)
@@ -22,43 +24,59 @@ PATH
22
24
  GEM
23
25
  remote: https://rubygems.org/
24
26
  specs:
25
- activesupport (3.2.12)
26
- i18n (~> 0.6)
27
+ activesupport (3.2.13)
28
+ i18n (= 0.6.1)
27
29
  multi_json (~> 1.0)
28
- bootstrap-sass (2.1.1.0)
30
+ backports (3.1.1)
29
31
  chunky_png (1.2.7)
30
32
  coffee-script (2.2.0)
31
33
  coffee-script-source
32
34
  execjs
33
- coffee-script-source (1.6.1)
35
+ coffee-script-source (1.6.2)
34
36
  commander (4.1.3)
35
37
  highline (~> 1.6.11)
36
38
  compass (0.12.2)
37
39
  chunky_png (~> 1.2)
38
40
  fssm (>= 0.2.7)
39
41
  sass (~> 3.1)
40
- daemons (1.1.9)
41
- eco (1.0.0)
42
- coffee-script
43
- eco-source
44
- execjs
45
- eco-source (1.1.0.rc.1)
46
- eventmachine (1.0.1)
42
+ eventmachine (1.0.3)
47
43
  excon (0.17.0)
48
44
  execjs (1.4.0)
49
45
  multi_json (~> 1.0)
46
+ faraday (0.8.6)
47
+ multipart-post (~> 1.1)
50
48
  fssm (0.2.10)
51
49
  haml (3.1.8)
52
- highline (1.6.15)
53
- hike (1.2.1)
50
+ hashie (1.2.0)
51
+ highline (1.6.16)
54
52
  houston (0.1.1)
55
53
  commander (~> 4.1.2)
56
54
  json (~> 1.7.3)
57
- i18n (0.6.4)
55
+ httpauth (0.2.0)
56
+ i18n (0.6.1)
58
57
  jsmin (1.0.1)
59
58
  json (1.7.7)
60
- multi_json (1.6.1)
61
- nokogiri (1.5.6)
59
+ jwt (0.1.8)
60
+ multi_json (>= 1.5)
61
+ kgio (2.8.0)
62
+ multi_json (1.7.1)
63
+ multipart-post (1.2.0)
64
+ nokogiri (1.5.8)
65
+ oauth2 (0.8.1)
66
+ faraday (~> 0.8)
67
+ httpauth (~> 0.1)
68
+ jwt (~> 0.1.4)
69
+ multi_json (~> 1.0)
70
+ rack (~> 1.2)
71
+ omniauth (1.1.3)
72
+ hashie (~> 1.2)
73
+ rack
74
+ omniauth-github (1.1.0)
75
+ omniauth (~> 1.0)
76
+ omniauth-oauth2 (~> 1.1)
77
+ omniauth-oauth2 (1.1.1)
78
+ oauth2 (~> 0.8.0)
79
+ omniauth (~> 1.0)
62
80
  pg (0.14.1)
63
81
  rack (1.5.2)
64
82
  rack-contrib (1.1.0)
@@ -71,39 +89,32 @@ GEM
71
89
  sequel (~> 3.37.0)
72
90
  sinatra (~> 1.3.2)
73
91
  sinatra-param (~> 0.1.1)
74
- rack-in-app-purchase (0.0.2)
92
+ rack-in-app-purchase (0.1.0)
75
93
  rack (~> 1.4)
76
94
  sequel (~> 3.37)
77
95
  sinatra (~> 1.3)
78
96
  venice
79
- rack-passbook (0.0.3)
97
+ rack-passbook (0.1.1)
80
98
  rack (~> 1.4)
81
99
  sequel (~> 3.37)
82
100
  sinatra (~> 1.3)
83
- rack-protection (1.4.0)
101
+ rack-protection (1.5.0)
84
102
  rack
85
- rack-push-notification (0.2.0)
86
- bootstrap-sass (~> 2.1.0)
87
- coffee-script (~> 2.2)
88
- compass (~> 0.11)
89
- eco (~> 1.0)
90
- haml (~> 3.1)
103
+ rack-push-notification (0.4.0)
91
104
  houston (~> 0.1.1)
92
105
  rack (~> 1.4)
93
106
  rack-contrib (~> 1.1)
94
- sass (~> 3.2)
95
107
  sequel (~> 3.37)
96
- sinatra (~> 1.3.2)
108
+ sinatra (~> 1.3)
97
109
  sinatra-param (~> 0.1)
98
- sprockets (~> 2.8)
99
- sprockets-sass (~> 0.9)
100
110
  rack-smart-app-banner (0.0.1)
101
111
  rack (>= 1.2.0, <= 2.0.0)
102
112
  rack-test (0.6.2)
103
113
  rack (>= 1.0)
114
+ raindrops (0.10.0)
104
115
  sass (3.2.7)
105
116
  sequel (3.37.0)
106
- sinatra (1.3.5)
117
+ sinatra (1.3.6)
107
118
  rack (~> 1.4)
108
119
  rack-protection (~> 1.3)
109
120
  tilt (~> 1.3, >= 1.3.3)
@@ -114,30 +125,29 @@ GEM
114
125
  tilt (>= 1.3.0)
115
126
  sinatra-backbone (0.1.0.rc2)
116
127
  sinatra
128
+ sinatra-contrib (1.3.2)
129
+ backports (>= 2.0)
130
+ eventmachine
131
+ rack-protection
132
+ rack-test
133
+ sinatra (~> 1.3.0)
134
+ tilt (~> 1.3)
117
135
  sinatra-param (0.1.2)
118
136
  sinatra (~> 1.3)
119
137
  sinatra-support (1.2.2)
120
138
  sinatra (>= 1.0)
121
- sprockets (2.9.0)
122
- hike (~> 1.2)
123
- multi_json (~> 1.0)
124
- rack (~> 1.0)
125
- tilt (~> 1.1, != 1.3.0)
126
- sprockets-sass (0.9.1)
127
- sprockets (~> 2.0)
128
- tilt (~> 1.1)
129
139
  terminal-table (1.4.5)
130
- thin (1.4.1)
131
- daemons (>= 1.0.9)
132
- eventmachine (>= 0.12.6)
133
- rack (>= 1.0.0)
134
- tilt (1.3.5)
140
+ tilt (1.3.6)
141
+ unicorn (4.6.2)
142
+ kgio (~> 2.6)
143
+ rack
144
+ raindrops (~> 0.7)
135
145
  venice (0.0.1)
136
146
  commander (~> 4.1.2)
137
147
  excon (~> 0.17.0)
138
148
  json (~> 1.7.3)
139
149
  terminal-table (~> 1.4.5)
140
- zurb-foundation (4.0.5)
150
+ zurb-foundation (4.0.9)
141
151
  sass (>= 3.2.0)
142
152
 
143
153
  PLATFORMS
@@ -145,5 +155,6 @@ PLATFORMS
145
155
 
146
156
  DEPENDENCIES
147
157
  helios!
158
+ omniauth-github
148
159
  pg
149
- thin (~> 1.4.1)
160
+ unicorn
@@ -1 +1 @@
1
- web: bundle exec thin start -p $PORT -D -V
1
+ web: bundle exec unicorn -p $PORT
@@ -1,23 +1,17 @@
1
1
  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
- <model name="" userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="1811" systemVersion="12C60" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
3
- <entity name="Customer" syncable="YES">
4
- <attribute name="active" optional="YES" attributeType="Boolean" syncable="YES"/>
5
- <attribute name="email" optional="YES" attributeType="String" syncable="YES"/>
6
- <attribute name="first_name" optional="YES" attributeType="String" syncable="YES"/>
7
- <attribute name="last_name" optional="YES" attributeType="String" syncable="YES"/>
8
- <attribute name="last_update" optional="YES" attributeType="Date" syncable="YES"/>
2
+ <model name="" userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="2061" systemVersion="12D78" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
3
+ <entity name="Product" syncable="YES">
4
+ <attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
5
+ <attribute name="price" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
6
+ <attribute name="productDescription" optional="YES" attributeType="String" syncable="YES"/>
7
+ <attribute name="quantity" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
9
8
  </entity>
10
- <entity name="Film">
11
- <attribute name="description" optional="YES" attributeType="String" syncable="YES"/>
12
- <attribute name="last_update" optional="YES" attributeType="Date" syncable="YES"/>
13
- <attribute name="length" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
14
- <attribute name="rating" optional="YES" attributeType="String" syncable="YES"/>
15
- <attribute name="releaseYear" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
16
- <attribute name="title" optional="YES" attributeType="String" syncable="YES"/>
17
- <userInfo/>
9
+ <entity name="User" syncable="YES">
10
+ <attribute name="email" optional="YES" attributeType="String" syncable="YES"/>
11
+ <attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
18
12
  </entity>
19
13
  <elements>
20
- <element name="Film" positionX="261" positionY="189" width="128" height="135"/>
21
- <element name="Customer" positionX="160" positionY="192" width="128" height="120"/>
14
+ <element name="Product" positionX="160" positionY="192" width="128" height="105"/>
15
+ <element name="User" positionX="160" positionY="192" width="128" height="75"/>
22
16
  </elements>
23
17
  </model>