helios 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 542d4bf39d51733c585843526ac03d025fde4e62
4
- data.tar.gz: 97a855428917028f33235877b5b128508ec14dd3
3
+ metadata.gz: 7a75c56b14d0456d4558131f3aed4bdb64ff4746
4
+ data.tar.gz: b58f34c91a32e0cebef0744c433cddf2b42adb40
5
5
  SHA512:
6
- metadata.gz: b2351f4ac3eb166c14c5f6573a55510a47c3a799701801990fea73955c05e1c3819f10050451b7a54f1de389c28b81a59a3571d0c7e1fad3210023e437ce5253
7
- data.tar.gz: d75fe05ef0a3218eb950dbfeb5ef8e2de7257b70de7abeb7455a335c4d86acd0f4eee1c8823b7d3800572e278a299203f5c269a03c26cc20836e6ceb830d6d1f
6
+ metadata.gz: e04e4a761cf56e07b4462f257add5761875ce77a7693ba355293410691f9ad6d3ec0baadcf1b1c2bacbc06548fb100090b16a09581ca14975e29906ef444b816
7
+ data.tar.gz: 7195c98339ae436b4ce6cbd037af1a2c5663166e155eb9d7135d64d155c8977e09cd409a5aea922c4fad66e4f7b71ce70b613ae7951cefc3ab34fe357dd64ed4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- helios (0.4.0)
4
+ helios (0.4.1)
5
5
  coffee-script (~> 2.2)
6
6
  commander (~> 4.1)
7
7
  compass (~> 0.12)
@@ -77,7 +77,7 @@ GEM
77
77
  net-ssh (>= 2.1.3)
78
78
  fog-json (1.0.0)
79
79
  multi_json (~> 1.0)
80
- fog-softlayer (0.3.15)
80
+ fog-softlayer (0.3.16)
81
81
  fog-core
82
82
  fog-json
83
83
  foreman (0.75.0)
@@ -98,7 +98,7 @@ GEM
98
98
  json (1.8.1)
99
99
  mime-types (2.3)
100
100
  mini_portile (0.6.0)
101
- minitest (5.4.0)
101
+ minitest (5.4.1)
102
102
  multi_json (1.10.1)
103
103
  net-scp (1.2.1)
104
104
  net-ssh (>= 2.6.5)
@@ -127,7 +127,7 @@ GEM
127
127
  sinatra (~> 1.3)
128
128
  rack-protection (1.5.3)
129
129
  rack
130
- rack-push-notification (0.5.0)
130
+ rack-push-notification (0.5.1)
131
131
  rack (~> 1.4)
132
132
  rack-contrib (~> 1.1)
133
133
  sequel (>= 3.0)
data/README.md CHANGED
@@ -314,7 +314,11 @@ $ helios console
314
314
  This command activates the services as configured by your Helios application, including any generated Core Data models. The `rack` module is automatically included on launch, allowing you to access everything more directly:
315
315
 
316
316
  ```ruby
317
- > Passbook::Passes.all # => [...]
317
+ > Data::Artist.all #=> [...]
318
+ > InAppPurchase::Receipt.all #=> [...]
319
+ > Newsstand::Issue.all #=> [...]
320
+ > Passbook::Passes.all #=> [...]
321
+ > PushNotification::Device.all #=> [...]
318
322
  ```
319
323
 
320
324
  ## Deploying to Heroku
@@ -21,7 +21,6 @@ class Helios::Backend::Data < Sinatra::Base
21
21
  end
22
22
 
23
23
  options '/resources' do
24
-
25
24
  links = []
26
25
  @model.entities.each do |entity|
27
26
  links << %{</#{entity.name.downcase.pluralize}>; rel="resource"}
@@ -77,7 +77,7 @@ class Helios::Backend::PushNotification < Sinatra::Base
77
77
  options.delete("aps")
78
78
 
79
79
  begin
80
- notifications = tokens.collect{|token| Houston::Notification.new(options.update({device: token}))}
80
+ notifications = tokens.collect{|token| Houston::Notification.new(options.dup.update({device: token}))}
81
81
  client.push(*notifications)
82
82
 
83
83
  status 204
@@ -13,6 +13,11 @@ command :console do |c|
13
13
  Dotenv.load
14
14
  Sequel.connect(ENV['DATABASE_URL'])
15
15
 
16
+ Rack::Scaffold.new(models: Dir['*.xcdatamodel*'])
17
+ Rack::Scaffold::Adapters::CoreData.constants.each do |constant|
18
+ Data.const_set(constant, Rack::Scaffold::Adapters::CoreData.const_get(constant))
19
+ end
20
+
16
21
  ARGV.clear
17
22
  IRB.start
18
23
  end
@@ -1,3 +1,3 @@
1
1
  module Helios
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattt Thompson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-28 00:00:00.000000000 Z
11
+ date: 2014-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander