bizarroids_slider 0.1.3 → 0.1.4

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: 8a49fa4b6954f51b5ba4c72f24649736f4e226a1
4
- data.tar.gz: 333ccb2526ced180ea3e4003cbeac4778a65bf5f
3
+ metadata.gz: 92f34dcc0249425848f705234ea2a236543f5f2e
4
+ data.tar.gz: 9036b4c19000aace8c65ff2b3c463fd232c64929
5
5
  SHA512:
6
- metadata.gz: 4a09cabc117e485b1cca749d61517b9141629eb71fe6c30cb2a5545d35e7bc5d3c843d52e0d9cfe789bf44829ebc81816e22f676a358f034d0dbccb8e1cf4cb2
7
- data.tar.gz: c2eb4b6160207c3e8ec407c56357b67ca3525c33e3fe4c4b8b6b52b7424658fd54248d817c35f790748cb78f8b647ba414a402762fcecb03f8bf76d8df1733a1
6
+ metadata.gz: eaf00460c648cc478f0a5b378be2b6553cfb5cf87680eefdc6c1f25a3d0bb0c4f313e36ea2b5cea180ee9ae77c48ce269f1dba3d6cfe83b3b5d17d3ad7b8cc37
7
+ data.tar.gz: 7a4df5a96b4c46a406c653c48136978264ea944b928acfe85877f53eb34f6658f46355fcbbdddf75d88e3486da3c6f8c4ed0920deaf92bcef72f0b9072417cc4
@@ -32,7 +32,7 @@ module Bizarroids::Slider
32
32
  end
33
33
 
34
34
  def update
35
- if @slie.update slide_params
35
+ if @slide.update slide_params
36
36
  redirect_to_collection t('bizarroids.slide.slide_updated')
37
37
  else
38
38
  render :edit
@@ -1,5 +1,5 @@
1
1
  module Bizarroids
2
2
  module Slider
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
@@ -1713,3 +1713,94 @@ Bizarroids::SliderTest: test_setup_block_yields_self
1713
1713
  Bizarroids::SliderTest: test_table_name_prefix
1714
1714
  ----------------------------------------------
1715
1715
   (0.0ms) rollback transaction
1716
+ Bizarroids::Slider::Collection Load (0.7ms) SELECT "bizarroids_slider_collections".* FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."key" = 'home_page_slider' ORDER BY "bizarroids_slider_collections"."position" ASC LIMIT 1
1717
+  (0.1ms) begin transaction
1718
+ Bizarroids::Slider::Collection Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_slider_collections" WHERE ("bizarroids_slider_collections"."key" = 'home_page_slider' AND "bizarroids_slider_collections"."id" != 1) LIMIT 1
1719
+  (0.1ms) commit transaction
1720
+ ActiveRecord::SchemaMigration Load (10.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
1721
+  (0.1ms) begin transaction
1722
+ ---------------------------------------------------------------------
1723
+ Bizarroids::SliderTest: test_Duplicate_collection_key_raises_an_error
1724
+ ---------------------------------------------------------------------
1725
+ Bizarroids::Slider::Collection Load (0.1ms) SELECT "bizarroids_slider_collections".* FROM "bizarroids_slider_collections" ORDER BY "bizarroids_slider_collections"."position" ASC
1726
+  (0.0ms) SAVEPOINT active_record_1
1727
+ SQL (0.3ms) DELETE FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."id" = ? [["id", 1]]
1728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1729
+ Bizarroids::Slider::Collection Load (0.1ms) SELECT "bizarroids_slider_collections".* FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."key" = 'home_page_slider' ORDER BY "bizarroids_slider_collections"."position" ASC LIMIT 1
1730
+  (0.0ms) SAVEPOINT active_record_1
1731
+ Bizarroids::Slider::Collection Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."key" = 'home_page_slider' LIMIT 1
1732
+ SQL (10.6ms) INSERT INTO "bizarroids_slider_collections" ("key", "position") VALUES (?, ?) [["key", "home_page_slider"], ["position", 0]]
1733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1734
+  (0.6ms) rollback transaction
1735
+  (0.1ms) begin transaction
1736
+ --------------------------------------------------------
1737
+ Bizarroids::SliderTest: test_creating_option_from_config
1738
+ --------------------------------------------------------
1739
+ Bizarroids::Slider::Collection Load (0.1ms) SELECT "bizarroids_slider_collections".* FROM "bizarroids_slider_collections" ORDER BY "bizarroids_slider_collections"."position" ASC
1740
+  (0.0ms) SAVEPOINT active_record_1
1741
+ SQL (0.2ms) DELETE FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."id" = ? [["id", 1]]
1742
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1743
+ Bizarroids::Slider::Collection Load (0.1ms) SELECT "bizarroids_slider_collections".* FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."key" = 'home_page_slider' ORDER BY "bizarroids_slider_collections"."position" ASC LIMIT 1
1744
+  (0.0ms) SAVEPOINT active_record_1
1745
+ Bizarroids::Slider::Collection Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."key" = 'home_page_slider' LIMIT 1
1746
+ SQL (0.2ms) INSERT INTO "bizarroids_slider_collections" ("key", "position") VALUES (?, ?) [["key", "home_page_slider"], ["position", 0]]
1747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1748
+ Bizarroids::Slider::Collection Load (0.1ms) SELECT "bizarroids_slider_collections".* FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."key" IN ('home_page_slider') AND "bizarroids_slider_collections"."key" = 'home_page_slider' ORDER BY "bizarroids_slider_collections"."position" ASC LIMIT 1
1749
+ Bizarroids::Slider::Slide Load (0.3ms) SELECT "bizarroids_slider_slides".* FROM "bizarroids_slider_slides" WHERE "bizarroids_slider_slides"."collection_id" = ? ORDER BY "bizarroids_slider_slides"."position" ASC [["collection_id", 2]]
1750
+  (0.5ms) rollback transaction
1751
+  (0.0ms) begin transaction
1752
+ -------------------------------------------------------
1753
+ Bizarroids::SliderTest: test_get_:key_retuns_collection
1754
+ -------------------------------------------------------
1755
+ Bizarroids::Slider::Collection Load (0.1ms) SELECT "bizarroids_slider_collections".* FROM "bizarroids_slider_collections" ORDER BY "bizarroids_slider_collections"."position" ASC
1756
+  (0.1ms) SAVEPOINT active_record_1
1757
+ SQL (0.2ms) DELETE FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."id" = ? [["id", 1]]
1758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1759
+ Bizarroids::Slider::Collection Load (0.1ms) SELECT "bizarroids_slider_collections".* FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."key" = 'home_page_slider' ORDER BY "bizarroids_slider_collections"."position" ASC LIMIT 1
1760
+  (0.0ms) SAVEPOINT active_record_1
1761
+ Bizarroids::Slider::Collection Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."key" = 'home_page_slider' LIMIT 1
1762
+ SQL (0.3ms) INSERT INTO "bizarroids_slider_collections" ("key", "position") VALUES (?, ?) [["key", "home_page_slider"], ["position", 0]]
1763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1764
+ Bizarroids::Slider::Collection Load (0.1ms) SELECT "bizarroids_slider_collections".* FROM "bizarroids_slider_collections" WHERE "bizarroids_slider_collections"."key" IN ('home_page_slider') AND "bizarroids_slider_collections"."key" = 'home_page_slider' ORDER BY "bizarroids_slider_collections"."position" ASC LIMIT 1
1765
+ Bizarroids::Slider::Slide Load (0.0ms) SELECT "bizarroids_slider_slides".* FROM "bizarroids_slider_slides" WHERE "bizarroids_slider_slides"."collection_id" = ? ORDER BY "bizarroids_slider_slides"."position" ASC [["collection_id", 2]]
1766
+  (0.6ms) rollback transaction
1767
+  (0.1ms) begin transaction
1768
+ -----------------------------------------------
1769
+ Bizarroids::SliderTest: test_is_a_module_module
1770
+ -----------------------------------------------
1771
+  (0.0ms) rollback transaction
1772
+  (0.0ms) begin transaction
1773
+ -------------------------------------------
1774
+ Bizarroids::SliderTest: test_respond_to_#[]
1775
+ -------------------------------------------
1776
+  (0.0ms) rollback transaction
1777
+  (0.0ms) begin transaction
1778
+ --------------------------------------------
1779
+ Bizarroids::SliderTest: test_respond_to_#get
1780
+ --------------------------------------------
1781
+  (0.0ms) rollback transaction
1782
+  (0.0ms) begin transaction
1783
+ ----------------------------------------------------
1784
+ Bizarroids::SliderTest: test_setup_block_yields_self
1785
+ ----------------------------------------------------
1786
+  (0.0ms) rollback transaction
1787
+  (0.0ms) begin transaction
1788
+ ----------------------------------------------
1789
+ Bizarroids::SliderTest: test_table_name_prefix
1790
+ ----------------------------------------------
1791
+  (0.0ms) rollback transaction
1792
+  (0.1ms) begin transaction
1793
+ ----------------------------------------------------------------------
1794
+ Bizarroids::Slider::InstallGeneratorTest: test_generator_creates_files
1795
+ ----------------------------------------------------------------------
1796
+  (0.1ms) rollback transaction
1797
+  (0.0ms) begin transaction
1798
+ ----------------------------------------------------------------------------
1799
+ Bizarroids::Slider::InstallGeneratorTest: test_generator_runs_without_errors
1800
+ ----------------------------------------------------------------------------
1801
+  (0.1ms) rollback transaction
1802
+  (0.0ms) begin transaction
1803
+ --------------------------
1804
+ BizarroidsTest: test_truth
1805
+ --------------------------
1806
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bizarroids_slider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corlinus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-07 00:00:00.000000000 Z
11
+ date: 2014-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -202,7 +202,7 @@ files:
202
202
  - test/dummy/tmp/generators/config/locales/bizarroids_slider.en.yml
203
203
  - test/dummy/tmp/generators/config/locales/bizarroids_slider.ru.yml
204
204
  - test/dummy/tmp/generators/config/routes.rb
205
- - test/dummy/tmp/generators/db/migrate/20140807082438_create_bizarroids_slider_tables.rb
205
+ - test/dummy/tmp/generators/db/migrate/20140814072937_create_bizarroids_slider_tables.rb
206
206
  - test/fixtures/bizarroids/slider/collections.yml
207
207
  - test/helpers/bizarroids/slider/collections_helper_test.rb
208
208
  - test/helpers/bizarroids/slider/slides_helper_test.rb
@@ -292,7 +292,7 @@ test_files:
292
292
  - test/dummy/tmp/generators/config/locales/bizarroids_slider.en.yml
293
293
  - test/dummy/tmp/generators/config/locales/bizarroids_slider.ru.yml
294
294
  - test/dummy/tmp/generators/config/routes.rb
295
- - test/dummy/tmp/generators/db/migrate/20140807082438_create_bizarroids_slider_tables.rb
295
+ - test/dummy/tmp/generators/db/migrate/20140814072937_create_bizarroids_slider_tables.rb
296
296
  - test/fixtures/bizarroids/slider/collections.yml
297
297
  - test/helpers/bizarroids/slider/collections_helper_test.rb
298
298
  - test/helpers/bizarroids/slider/slides_helper_test.rb