prototypical 0.0.1 → 0.0.2

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: f144bf537e1411652d68114caafa0e4fdc71ca54
4
- data.tar.gz: 5cbbf20c481a788bca3668c9d3f9c628c828db07
3
+ metadata.gz: d7cbe20e0df0fbbf18935e65de6ff580ac1044ae
4
+ data.tar.gz: 3e82acd379f420a53a5846151e1de297462d0131
5
5
  SHA512:
6
- metadata.gz: b912a028d37f17cbc94eed72f6120232b017f3a2daf57320653c0f4423e07c33a6da1a7375a535298e5e41897ae128368fd54e61c9783f9916b6e5bcc2899baf
7
- data.tar.gz: ba45e2d17387a62ab86574cf31e8daa7c21ee3195a6a280898ba195d5ffebbe63591f9cc2b814b50644dd64793996fef0dd6ec3dc5f4d32c360cd2821e93ad01
6
+ metadata.gz: 6d1b4e8bd698d4e302653f360dd73871d038001d5bbc06101955b6ab38d3e75158600ffb34bd42029be01073aa897209b1c7fc884e549f51ca5ecb029bd9624b
7
+ data.tar.gz: 31e60a26c616659e6fe78b97c90325afc16764c0d943bcf9d9eb6f316f1011745f636022a90ced8cbbeaa260b9178ab7664de854ed1e42a2d7bd547f74ec094e
@@ -1,3 +1,3 @@
1
1
  module Prototypical
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1572,3 +1572,39 @@ Prototypical::ControllerTest::including::when Prototypical.enable_on_include is
1572
1572
  -----------------------------------------------------------------------------------------------------------------------------------------
1573
1573
  Prototypical::ControllerTest::including::when Prototypical.enabled_on_include? is true: test_0001_should automatically enable prototyping
1574
1574
  -----------------------------------------------------------------------------------------------------------------------------------------
1575
+ --------------------------------------------------------------------------------------------------------------------------------------------
1576
+ Prototypical::ControllerTest::including::when Prototypical.enable_on_include is false: test_0001_should not automatically enable prototyping
1577
+ --------------------------------------------------------------------------------------------------------------------------------------------
1578
+ -------------------------------------------------------------------------------------------------------------------
1579
+ Prototypical::ControllerTest::#enable_prototyping::when Prototypical.enabled? is false: test_0001_should do nothing
1580
+ -------------------------------------------------------------------------------------------------------------------
1581
+ ---------------------------------
1582
+ PrototypicalTest: test_0001_truth
1583
+ ---------------------------------
1584
+ ---------------------------------------------------------------------------------------------------------------------------------------
1585
+ Prototypical::ControllerTest::#enable_prototyping::when Prototypical.enabled? is true: test_0001_should append the protypical view path
1586
+ ---------------------------------------------------------------------------------------------------------------------------------------
1587
+ -----------------------------------------------------------------------------------------------------------------------------------------
1588
+ Prototypical::ControllerTest::including::when Prototypical.enabled_on_include? is true: test_0001_should automatically enable prototyping
1589
+ -----------------------------------------------------------------------------------------------------------------------------------------
1590
+ -------------------------------
1591
+ RootTest: test_0001_should work
1592
+ -------------------------------
1593
+ Started GET "/" for 127.0.0.1 at 2015-12-09 23:58:38 +0000
1594
+ Processing by StaticController#home as HTML
1595
+ Rendered static/home.html.erb within layouts/application (1.2ms)
1596
+ Completed 200 OK in 8ms (Views: 8.2ms)
1597
+ -----------------------------------------------------------------------------
1598
+ RootTest: test_0003_should not display a prototype if prototyping is disabled
1599
+ -----------------------------------------------------------------------------
1600
+ Started GET "/disabled_prototype" for 127.0.0.1 at 2015-12-09 23:58:38 +0000
1601
+ Processing by StaticController#disabled_prototype as HTML
1602
+ Rendered static/disabled_prototype.html.erb within layouts/application (0.2ms)
1603
+ Completed 200 OK in 1ms (Views: 1.1ms)
1604
+ -----------------------------------------------------------------------------------------
1605
+ RootTest: test_0002_should display a prototype if there is one and prototyping is enabled
1606
+ -----------------------------------------------------------------------------------------
1607
+ Started GET "/enabled_prototype" for 127.0.0.1 at 2015-12-09 23:58:38 +0000
1608
+ Processing by StaticController#enabled_prototype as HTML
1609
+ Rendered app/prototypes/static/enabled_prototype.html.erb within layouts/application (0.3ms)
1610
+ Completed 200 OK in 2ms (Views: 1.5ms)
@@ -3,6 +3,7 @@ ENV["RAILS_ENV"] = "test"
3
3
 
4
4
  require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
5
  require "rails/test_help"
6
+ require 'minitest-spec-rails'
6
7
  require 'mocha/mini_test'
7
8
 
8
9
  # Filter out Minitest backtrace while allowing backtrace from other libraries
metadata CHANGED
@@ -1,29 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prototypical
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Phillips
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-09 00:00:00.000000000 Z
11
+ date: 2015-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.5
19
+ version: '4'
20
20
  type: :runtime
21
21
  prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '4'
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest-spec-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '5.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '5.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: mocha
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.1'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry-byebug
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.3'
62
+ type: :development
63
+ prerelease: false
22
64
  version_requirements: !ruby/object:Gem::Requirement
23
65
  requirements:
24
66
  - - "~>"
25
67
  - !ruby/object:Gem::Version
26
- version: 4.2.5
68
+ version: '3.3'
27
69
  description: Adds simple prototyping to Rails application via a secondary template
28
70
  folder.
29
71
  email: