karousel 0.9.15 → 0.10.0

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: 606a6df4c01aeba6bf5bc220e1506d168e096b2f
4
- data.tar.gz: edc41e330cd23cde31aefca7ab1f14f250c9a79a
3
+ metadata.gz: 97a5ddc013953c857eb982a7fe283434eaac8ee4
4
+ data.tar.gz: a463bc84dca074d140979c1df2dd00d06075f53e
5
5
  SHA512:
6
- metadata.gz: d63da985e2de623a59bf0a7af7c839ba62f1e92b1857d5410344b509ba48886deaebaaa2f823d96cb0be96503bfc1aecdb47306242e8459f10ad51d84d8a9aff
7
- data.tar.gz: 587c731ac53170afbe76bfacfa3072450a79120ac60ccd80d2c3fe9e3bf9d3c8e9452a0885822300db5c131dfa560fd9360b77ff3ea3729463b9263c9fc95c21
6
+ metadata.gz: 85e6dc4fa5781fa7e83835437ab668193e9b339bde6a605fe1831c4c7f36d06be4bbfe00f58568e30512edcce5124b113f8c4a8b652f98d3c5fe7718f2085d8a
7
+ data.tar.gz: 730ab4197e3affe646f5d2d1d26daa0a4a463b7e8951df8c4738bac8f16f45c0a46bb9b5b3ea8c9f7940975ba61921ba5abfe5e0758d0e3b5edfee45e62bd2dc
data/.gitignore CHANGED
@@ -1,3 +1,6 @@
1
+ # misc
2
+ .vim.custom
3
+
1
4
  # rcov generated
2
5
  coverage
3
6
  coverage.data
@@ -13,7 +16,6 @@ doc
13
16
  .bundle
14
17
  Gemfile.lock
15
18
 
16
-
17
19
  # jeweler generated
18
20
  pkg
19
21
 
@@ -1,6 +1,4 @@
1
1
  rvm:
2
- - 2.0
3
- - 2.1
4
2
  - 2.2
5
3
  - 2.3
6
4
  - 2.4
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ 0.10.0 -- add load function for the job class
1
2
  0.9.15 -- cleaning up styles
2
3
  0.9.14 -- removed jeweler, refactoring
3
4
  0.9.13 -- major bug fixes
@@ -14,11 +14,12 @@ class Karousel
14
14
  VERSION
15
15
  end
16
16
 
17
- def initialize(klass, size = 10, time_interval = 0)
17
+ def initialize(klass, size = 10, time_interval = 0, data = nil)
18
18
  @klass = klass
19
19
  @size = size
20
20
  @time_interval = time_interval
21
21
  @seats = []
22
+ @klass.load(data) if data
22
23
  end
23
24
 
24
25
  def populate
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Karousel
4
- VERSION = '0.9.15'
4
+ VERSION = '0.10.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karousel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.15
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Mozzherin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-25 00:00:00.000000000 Z
12
+ date: 2017-09-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: byebug