dasher-ruby 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa5e96cc84dc470f8f048514db42cf977c0576a1
4
- data.tar.gz: 4665e9ec8ca11bec51e21a66c8e01725c2183ee9
3
+ metadata.gz: f4c1f2c573dd89fb8a74c4dd62693a34a6543199
4
+ data.tar.gz: ef18d61b75c59cbc2c8968cef06c2be051d40e4c
5
5
  SHA512:
6
- metadata.gz: b1f2465224a7c14313a8bf3139945614847c48233e5c9cd29bff7d5ed8a7168d15ff0c17aff8db107c2ec8607bf767e75ae7c69c70c5b3427d36fad69f0bef69
7
- data.tar.gz: 2245dc6e9e5d53bd3ee5f5932601217b27897aa52c64d8df6912ec14b90676b468297fec13c5ee6b533c6dad1b87143cad9edd4445e35538b09db35942bc666f
6
+ metadata.gz: a486b0e4f77eb530b89fb8a798a29c4e94f5b65635b2dfdd84b9454b6412095331c1ba337b0418e98fa1b12cb74a607413ae4c6c3e4d1dc0a69b644fc6ae3303
7
+ data.tar.gz: 742f24163c6ee72e0f348063aeb0884c6465c5108ab78f583e068148a2a8988b05dc83540ba9d12bfc5ef37d7c92ff96ab53fbac879d126c7c40a00426f4603d
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Dasher Ruby Client
2
2
 
3
- This client allows you to easily update screen data for [Dasher](http://dasherapp.com).
3
+ This client allows you to easily update screen data for [Dasher](http://dasher.tv).
4
4
  You can use this gem to easily push new data to any of your Dasher screens with
5
5
  ease.
6
6
 
@@ -40,7 +40,7 @@ Dasher.client.replace_list(2, [
40
40
  ```
41
41
 
42
42
  The `Dasher.client` instance is automatically configured to use the production
43
- Dasher endpoints and the key in the `Dasher_TOKEN` environment variable.
43
+ Dasher endpoints and the key in the `DASHER_TOKEN` environment variable.
44
44
  You can create your own clients if you would like.
45
45
 
46
46
  ```ruby
data/lib/dasher/client.rb CHANGED
@@ -30,6 +30,10 @@ module Dasher
30
30
  api.lists.add!(:square => square, :identifier => identifier, :properties => properties)
31
31
  end
32
32
 
33
+ def insert_list_item(square, index, identifier, properties = {})
34
+ api.lists.add!(:square => square, :index => index, :identifier => identifier, :properties => properties)
35
+ end
36
+
33
37
  def replace_list(square, items = [])
34
38
  api.lists.replace!(:square => square, :items => items)
35
39
  rescue MoonropeClient::RequestError => e
@@ -1,3 +1,3 @@
1
1
  module Dasher
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
data/lib/dasher.rb CHANGED
@@ -4,7 +4,7 @@ module Dasher
4
4
 
5
5
  class << self
6
6
  def client
7
- @client ||= Dasher::Client.new("dasherapp.com", ENV["DASHER_TOKEN"], :port => 443, :ssl => true)
7
+ @client ||= Dasher::Client.new("dasher.tv", ENV["DASHER_TOKEN"], :port => 443, :ssl => true)
8
8
  end
9
9
  end
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dasher-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-11 00:00:00.000000000 Z
11
+ date: 2015-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: moonrope-client
@@ -41,7 +41,7 @@ files:
41
41
  - lib/dasher.rb
42
42
  - lib/dasher/client.rb
43
43
  - lib/dasher/version.rb
44
- homepage: https://dasherapp.com
44
+ homepage: https://dasher.tv
45
45
  licenses:
46
46
  - MIT
47
47
  metadata: {}