uncle 0.0.3 → 0.0.4

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: 5b4cacd411915be33e1ecb0e1d76cb0887fe50ff
4
- data.tar.gz: 1384c20c13aadad70f1c24442b6ebebd1f83194d
3
+ metadata.gz: f1241ade816af7d8095d9a4d8f4238c4d33830c8
4
+ data.tar.gz: 8dec2dcc208e660dba6ee1276c076421d86c9187
5
5
  SHA512:
6
- metadata.gz: 34a8a5b927803aaf1b61e78dd4f62de74c28c541949f1b42acd3eb653f8d4b81a55a6009d9c6ddfe16fb351e761a1f9cd46ed2cf55ad83a2a1532b82a5dcf016
7
- data.tar.gz: fd3870593f469753ca923b044397fcb80274be3606364d3cb8dc83f3602b9e86891f223690c675415c8dd0c16ca253f9c3ae1162822d1f6f44bac01846d47494
6
+ metadata.gz: 89a9f169e3f4c58afa702da2287d43fc2856a48b7c24c9b0e9f9648c35e1b82d48e9d3e7d5cb904cab5ff981426949fa93e5e4bbf36689c5d88ecf6a972a8a87
7
+ data.tar.gz: 877daebb5b30edb71a348381bf2925faf719a2796d812c9635b6864cc32e0d46eccdabb76519f95ee3519983f218f78a4892ecdb930702df48fe337da7afa2f1
@@ -80,7 +80,7 @@ module Uncle
80
80
 
81
81
  def node_elimination_block(path)
82
82
  lambda do |node|
83
- node.value.one? do |r|
83
+ node.value.any? do |r|
84
84
  r.path.to_regexp === path && r.matches?(request)
85
85
  end
86
86
  end
@@ -1,3 +1,3 @@
1
1
  module Uncle
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -3033,6 +3033,146 @@ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
3033
3033
  UncleTest: test_returning_the_parent_resource_from_a_resource_instance
3034
3034
  ----------------------------------------------------------------------
3035
3035
  Started GET "/thingies/1" for 127.0.0.1 at 2014-04-14 02:28:12 +0100
3036
+ Processing by ThingiesController#show as HTML
3037
+ Parameters: {"id"=>"1"}
3038
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3039
+  (0.1ms) rollback transaction
3040
+  (0.1ms) begin transaction
3041
+ ----------------------------------------------------------------------
3042
+ UncleTest: test_returning_the_child_resources_from_a_resource_instance
3043
+ ----------------------------------------------------------------------
3044
+ Started GET "/widgets/1" for 127.0.0.1 at 2014-04-14 06:35:32 +0100
3045
+ Processing by WidgetsController#show as HTML
3046
+ Parameters: {"id"=>"1"}
3047
+ Completed 500 Internal Server Error in 0ms
3048
+  (0.1ms) rollback transaction
3049
+  (0.0ms) begin transaction
3050
+ ----------------------------------------------------------------
3051
+ UncleTest: test_returning_the_child_resources_from_the_root_path
3052
+ ----------------------------------------------------------------
3053
+ Started GET "/" for 127.0.0.1 at 2014-04-14 06:35:32 +0100
3054
+ Processing by WidgetsController#show as HTML
3055
+ Completed 500 Internal Server Error in 0ms
3056
+  (0.0ms) rollback transaction
3057
+  (0.0ms) begin transaction
3058
+ ------------------------------------------------------------------------
3059
+ UncleTest: test_returning_the_parent_resource_from_a_collection_resource
3060
+ ------------------------------------------------------------------------
3061
+ Started GET "/widgets/1/gizmos" for 127.0.0.1 at 2014-04-14 06:35:32 +0100
3062
+ Processing by GizmosController#index as HTML
3063
+ Parameters: {"widget_id"=>"1"}
3064
+ Completed 500 Internal Server Error in 0ms
3065
+  (0.1ms) rollback transaction
3066
+  (0.0ms) begin transaction
3067
+ ----------------------------------------------------------------------
3068
+ UncleTest: test_returning_the_parent_resource_from_a_resource_instance
3069
+ ----------------------------------------------------------------------
3070
+ Started GET "/thingies/1" for 127.0.0.1 at 2014-04-14 06:35:32 +0100
3071
+ Processing by ThingiesController#show as HTML
3072
+ Parameters: {"id"=>"1"}
3073
+ Completed 500 Internal Server Error in 0ms
3074
+  (0.0ms) rollback transaction
3075
+  (0.1ms) begin transaction
3076
+ ----------------------------------------------------------------------
3077
+ UncleTest: test_returning_the_child_resources_from_a_resource_instance
3078
+ ----------------------------------------------------------------------
3079
+ Started GET "/widgets/1" for 127.0.0.1 at 2014-04-14 06:35:43 +0100
3080
+ Processing by WidgetsController#show as HTML
3081
+ Parameters: {"id"=>"1"}
3082
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3083
+  (0.1ms) rollback transaction
3084
+  (0.0ms) begin transaction
3085
+ ----------------------------------------------------------------
3086
+ UncleTest: test_returning_the_child_resources_from_the_root_path
3087
+ ----------------------------------------------------------------
3088
+ Started GET "/" for 127.0.0.1 at 2014-04-14 06:35:43 +0100
3089
+ Processing by WidgetsController#show as HTML
3090
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3091
+  (0.0ms) rollback transaction
3092
+  (0.0ms) begin transaction
3093
+ ------------------------------------------------------------------------
3094
+ UncleTest: test_returning_the_parent_resource_from_a_collection_resource
3095
+ ------------------------------------------------------------------------
3096
+ Started GET "/widgets/1/gizmos" for 127.0.0.1 at 2014-04-14 06:35:43 +0100
3097
+ Processing by GizmosController#index as HTML
3098
+ Parameters: {"widget_id"=>"1"}
3099
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3100
+  (0.1ms) rollback transaction
3101
+  (0.1ms) begin transaction
3102
+ ----------------------------------------------------------------------
3103
+ UncleTest: test_returning_the_parent_resource_from_a_resource_instance
3104
+ ----------------------------------------------------------------------
3105
+ Started GET "/thingies/1" for 127.0.0.1 at 2014-04-14 06:35:43 +0100
3106
+ Processing by ThingiesController#show as HTML
3107
+ Parameters: {"id"=>"1"}
3108
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3109
+  (0.1ms) rollback transaction
3110
+  (0.1ms) begin transaction
3111
+ ----------------------------------------------------------------------
3112
+ UncleTest: test_returning_the_child_resources_from_a_resource_instance
3113
+ ----------------------------------------------------------------------
3114
+ Started GET "/widgets/1" for 127.0.0.1 at 2014-04-14 07:00:22 +0100
3115
+ Processing by WidgetsController#show as HTML
3116
+ Parameters: {"id"=>"1"}
3117
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3118
+  (0.1ms) rollback transaction
3119
+  (0.1ms) begin transaction
3120
+ ----------------------------------------------------------------
3121
+ UncleTest: test_returning_the_child_resources_from_the_root_path
3122
+ ----------------------------------------------------------------
3123
+ Started GET "/" for 127.0.0.1 at 2014-04-14 07:00:22 +0100
3124
+ Processing by WidgetsController#show as HTML
3125
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3126
+  (0.0ms) rollback transaction
3127
+  (0.1ms) begin transaction
3128
+ ------------------------------------------------------------------------
3129
+ UncleTest: test_returning_the_parent_resource_from_a_collection_resource
3130
+ ------------------------------------------------------------------------
3131
+ Started GET "/widgets/1/gizmos" for 127.0.0.1 at 2014-04-14 07:00:22 +0100
3132
+ Processing by GizmosController#index as HTML
3133
+ Parameters: {"widget_id"=>"1"}
3134
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3135
+  (0.1ms) rollback transaction
3136
+  (0.1ms) begin transaction
3137
+ ----------------------------------------------------------------------
3138
+ UncleTest: test_returning_the_parent_resource_from_a_resource_instance
3139
+ ----------------------------------------------------------------------
3140
+ Started GET "/thingies/1" for 127.0.0.1 at 2014-04-14 07:00:22 +0100
3141
+ Processing by ThingiesController#show as HTML
3142
+ Parameters: {"id"=>"1"}
3143
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3144
+  (0.1ms) rollback transaction
3145
+  (0.1ms) begin transaction
3146
+ ----------------------------------------------------------------------
3147
+ UncleTest: test_returning_the_child_resources_from_a_resource_instance
3148
+ ----------------------------------------------------------------------
3149
+ Started GET "/widgets/1" for 127.0.0.1 at 2014-04-14 07:01:47 +0100
3150
+ Processing by WidgetsController#show as HTML
3151
+ Parameters: {"id"=>"1"}
3152
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3153
+  (0.1ms) rollback transaction
3154
+  (0.0ms) begin transaction
3155
+ ----------------------------------------------------------------
3156
+ UncleTest: test_returning_the_child_resources_from_the_root_path
3157
+ ----------------------------------------------------------------
3158
+ Started GET "/" for 127.0.0.1 at 2014-04-14 07:01:47 +0100
3159
+ Processing by WidgetsController#show as HTML
3160
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3161
+  (0.0ms) rollback transaction
3162
+  (0.0ms) begin transaction
3163
+ ------------------------------------------------------------------------
3164
+ UncleTest: test_returning_the_parent_resource_from_a_collection_resource
3165
+ ------------------------------------------------------------------------
3166
+ Started GET "/widgets/1/gizmos" for 127.0.0.1 at 2014-04-14 07:01:47 +0100
3167
+ Processing by GizmosController#index as HTML
3168
+ Parameters: {"widget_id"=>"1"}
3169
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3170
+  (0.0ms) rollback transaction
3171
+  (0.0ms) begin transaction
3172
+ ----------------------------------------------------------------------
3173
+ UncleTest: test_returning_the_parent_resource_from_a_resource_instance
3174
+ ----------------------------------------------------------------------
3175
+ Started GET "/thingies/1" for 127.0.0.1 at 2014-04-14 07:01:47 +0100
3036
3176
  Processing by ThingiesController#show as HTML
3037
3177
  Parameters: {"id"=>"1"}
3038
3178
  Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uncle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stevie Graham