netzke-basepack 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/.travis.yml +11 -0
  2. data/CHANGELOG.rdoc +10 -0
  3. data/README.md +36 -2
  4. data/Rakefile +1 -3
  5. data/config/ci/before-travis.sh +28 -0
  6. data/lib/netzke/active_record.rb +10 -8
  7. data/lib/netzke/active_record/attributes.rb +28 -17
  8. data/lib/netzke/active_record/relation_extensions.rb +3 -1
  9. data/lib/netzke/basepack.rb +10 -2
  10. data/lib/netzke/basepack/action_column.rb +6 -8
  11. data/lib/netzke/basepack/data_accessor.rb +11 -174
  12. data/lib/netzke/basepack/data_adapters/abstract_adapter.rb +164 -0
  13. data/lib/netzke/basepack/data_adapters/active_record_adapter.rb +279 -0
  14. data/lib/netzke/basepack/data_adapters/data_mapper_adapter.rb +264 -0
  15. data/lib/netzke/basepack/data_adapters/sequel_adapter.rb +260 -0
  16. data/lib/netzke/basepack/form_panel.rb +3 -3
  17. data/lib/netzke/basepack/form_panel/fields.rb +6 -10
  18. data/lib/netzke/basepack/form_panel/javascripts/form_panel.js +1 -0
  19. data/lib/netzke/basepack/form_panel/services.rb +15 -16
  20. data/lib/netzke/basepack/grid_panel.rb +16 -10
  21. data/lib/netzke/basepack/grid_panel/columns.rb +6 -7
  22. data/lib/netzke/basepack/grid_panel/javascripts/event_handling.js +29 -27
  23. data/lib/netzke/basepack/grid_panel/services.rb +13 -90
  24. data/lib/netzke/basepack/paging_form_panel.rb +3 -3
  25. data/lib/netzke/basepack/query_builder.rb +2 -0
  26. data/lib/netzke/basepack/query_builder/javascripts/query_builder.js +29 -19
  27. data/lib/netzke/basepack/search_panel.rb +6 -3
  28. data/lib/netzke/basepack/search_panel/javascripts/search_panel.js +2 -1
  29. data/lib/netzke/basepack/search_window.rb +2 -1
  30. data/lib/netzke/basepack/version.rb +1 -1
  31. data/lib/netzke/data_mapper.rb +18 -0
  32. data/lib/netzke/data_mapper/attributes.rb +273 -0
  33. data/lib/netzke/data_mapper/combobox_options.rb +11 -0
  34. data/lib/netzke/data_mapper/relation_extensions.rb +38 -0
  35. data/lib/netzke/sequel.rb +18 -0
  36. data/lib/netzke/sequel/attributes.rb +274 -0
  37. data/lib/netzke/sequel/combobox_options.rb +10 -0
  38. data/lib/netzke/sequel/relation_extensions.rb +40 -0
  39. data/netzke-basepack.gemspec +24 -13
  40. data/test/basepack_test_app/Gemfile +33 -8
  41. data/test/basepack_test_app/Gemfile.lock +98 -79
  42. data/test/basepack_test_app/Guardfile +46 -0
  43. data/test/basepack_test_app/app/components/book_grid_with_persistence.rb +3 -0
  44. data/test/basepack_test_app/app/components/extras/book_presentation.rb +10 -3
  45. data/test/basepack_test_app/app/models/address.rb +27 -1
  46. data/test/basepack_test_app/app/models/author.rb +28 -0
  47. data/test/basepack_test_app/app/models/book.rb +43 -0
  48. data/test/basepack_test_app/app/models/book_with_custom_primary_key.rb +22 -0
  49. data/test/basepack_test_app/app/models/role.rb +21 -0
  50. data/test/basepack_test_app/app/models/user.rb +24 -0
  51. data/test/basepack_test_app/config/database.yml.sample +11 -10
  52. data/test/basepack_test_app/config/database.yml.travis +15 -0
  53. data/test/basepack_test_app/config/initializers/data_mapper_logging.rb +3 -0
  54. data/test/basepack_test_app/config/initializers/sequel.rb +26 -0
  55. data/test/basepack_test_app/db/schema.rb +0 -3
  56. data/test/basepack_test_app/features/grid_panel.feature +28 -8
  57. data/test/basepack_test_app/features/grid_sorting.feature +6 -6
  58. data/test/basepack_test_app/features/paging_form_panel.feature +13 -13
  59. data/test/basepack_test_app/features/search_in_grid.feature +31 -31
  60. data/test/basepack_test_app/features/step_definitions/generic_steps.rb +3 -1
  61. data/test/basepack_test_app/features/support/env.rb +17 -4
  62. data/test/basepack_test_app/lib/tasks/travis.rake +7 -0
  63. data/test/basepack_test_app/spec/components/form_panel_spec.rb +2 -2
  64. data/test/basepack_test_app/spec/data_adapter/adapter_spec.rb +68 -0
  65. data/test/basepack_test_app/spec/{active_record → data_adapter}/attributes_spec.rb +12 -4
  66. data/test/basepack_test_app/spec/data_adapter/relation_extensions_spec.rb +125 -0
  67. data/test/basepack_test_app/spec/spec_helper.rb +9 -0
  68. data/test/unit/active_record_basepack_test.rb +1 -1
  69. data/test/unit/grid_panel_test.rb +1 -1
  70. metadata +26 -31
  71. data/app/models/netzke_field_list.rb +0 -261
  72. data/app/models/netzke_model_attr_list.rb +0 -21
  73. data/app/models/netzke_persistent_array_auto_model.rb +0 -57
  74. data/test/basepack_test_app/spec/active_record/relation_extensions_spec.rb +0 -44
@@ -0,0 +1,10 @@
1
+ module Netzke
2
+ module Sequel
3
+ module ComboboxOptions
4
+ def netzke_combo_options_for(column, query = "")
5
+ ds = query.empty? ? self : filter(column.to_sym.ilike("#{query}%"))
6
+ ds.select(column.to_sym).distinct.all.map &column.to_sym
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,40 @@
1
+ module Netzke
2
+ module Sequel
3
+ module RelationExtensions
4
+ def self.included receiver
5
+ receiver.class_eval do
6
+ def_dataset_method :extend_with do |*params|
7
+ scope = params.shift
8
+ case scope.class.name
9
+ when "Symbol" # model's scope
10
+ self.send(scope, *params)
11
+ when "String" # SQL query or SQL query with params (e.g. ["created_at < ?", 1.day.ago])
12
+ params.empty? ? self.where(scope) : self.where([scope, *params])
13
+ when "Array"
14
+ self.extend_with(*scope)
15
+ when "Hash" # conditions hash
16
+ self.where(scope)
17
+ when "ActiveSupport::HashWithIndifferentAccess" # conditions hash
18
+ self.where(scope)
19
+ when "Proc" # receives a relation, must return a relation
20
+ scope.call(self)
21
+ else
22
+ raise ArgumentError, "Wrong parameter type for ActiveRecord::Relation#extend_with"
23
+ end
24
+ end
25
+
26
+ # Non-destructively extends itself whith a hash of double-underscore'd conditions,
27
+ # where the last part "__" is MetaWhere operator (which is required), e.g.:
28
+ # {:role__name__like => "%admin"}
29
+
30
+ def_dataset_method :extend_with_netzke_conditions do |cond|
31
+ cond.each_pair.inject(self) do |r, (k,v)|
32
+ assoc, method, *operator = k.to_s.split("__")
33
+ operator.empty? ? r.where(assoc.to_sym.send(method) => v) : r.where(assoc.to_sym => {method.to_sym.send(operator.last) => v}).joins(assoc.to_sym)
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "netzke-basepack"
8
- s.version = "0.7.4"
8
+ s.version = "0.7.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sergei Kozlov"]
12
- s.date = "2012-03-05"
12
+ s.date = "2012-07-27"
13
13
  s.description = "A set of full-featured extendible Netzke components (such as FormPanel, GridPanel, Window, BorderLayoutPanel, etc) which can be used as building block for your RIA"
14
14
  s.email = "sergei@playcode.nl"
15
15
  s.extra_rdoc_files = [
@@ -18,14 +18,13 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.files = [
20
20
  ".autotest",
21
+ ".travis.yml",
21
22
  "CHANGELOG.rdoc",
22
23
  "LICENSE",
23
24
  "README.md",
24
25
  "Rakefile",
25
26
  "TODO.rdoc",
26
- "app/models/netzke_field_list.rb",
27
- "app/models/netzke_model_attr_list.rb",
28
- "app/models/netzke_persistent_array_auto_model.rb",
27
+ "config/ci/before-travis.sh",
29
28
  "init.rb",
30
29
  "install.rb",
31
30
  "javascripts/basepack.js",
@@ -47,6 +46,10 @@ Gem::Specification.new do |s|
47
46
  "lib/netzke/basepack/border_layout_panel.rb",
48
47
  "lib/netzke/basepack/border_layout_panel/javascripts/border_layout_panel.js",
49
48
  "lib/netzke/basepack/data_accessor.rb",
49
+ "lib/netzke/basepack/data_adapters/abstract_adapter.rb",
50
+ "lib/netzke/basepack/data_adapters/active_record_adapter.rb",
51
+ "lib/netzke/basepack/data_adapters/data_mapper_adapter.rb",
52
+ "lib/netzke/basepack/data_adapters/sequel_adapter.rb",
50
53
  "lib/netzke/basepack/form_panel.rb",
51
54
  "lib/netzke/basepack/form_panel/fields.rb",
52
55
  "lib/netzke/basepack/form_panel/javascripts/comma_list_cbg.js",
@@ -86,6 +89,14 @@ Gem::Specification.new do |s|
86
89
  "lib/netzke/basepack/window/javascripts/window.js",
87
90
  "lib/netzke/basepack/wrap_lazy_loaded.rb",
88
91
  "lib/netzke/basepack/wrapper.rb",
92
+ "lib/netzke/data_mapper.rb",
93
+ "lib/netzke/data_mapper/attributes.rb",
94
+ "lib/netzke/data_mapper/combobox_options.rb",
95
+ "lib/netzke/data_mapper/relation_extensions.rb",
96
+ "lib/netzke/sequel.rb",
97
+ "lib/netzke/sequel/attributes.rb",
98
+ "lib/netzke/sequel/combobox_options.rb",
99
+ "lib/netzke/sequel/relation_extensions.rb",
89
100
  "lib/tasks/netzke_basepack_tasks.rake",
90
101
  "locales/de.yml",
91
102
  "locales/en.yml",
@@ -96,6 +107,7 @@ Gem::Specification.new do |s|
96
107
  "test/basepack_test_app/.rvmrc",
97
108
  "test/basepack_test_app/Gemfile",
98
109
  "test/basepack_test_app/Gemfile.lock",
110
+ "test/basepack_test_app/Guardfile",
99
111
  "test/basepack_test_app/README",
100
112
  "test/basepack_test_app/Rakefile",
101
113
  "test/basepack_test_app/app/components/author_form.rb",
@@ -169,15 +181,18 @@ Gem::Specification.new do |s|
169
181
  "test/basepack_test_app/config/boot.rb",
170
182
  "test/basepack_test_app/config/cucumber.yml",
171
183
  "test/basepack_test_app/config/database.yml.sample",
184
+ "test/basepack_test_app/config/database.yml.travis",
172
185
  "test/basepack_test_app/config/environment.rb",
173
186
  "test/basepack_test_app/config/environments/development.rb",
174
187
  "test/basepack_test_app/config/environments/production.rb",
175
188
  "test/basepack_test_app/config/environments/test.rb",
176
189
  "test/basepack_test_app/config/initializers/backtrace_silencers.rb",
190
+ "test/basepack_test_app/config/initializers/data_mapper_logging.rb",
177
191
  "test/basepack_test_app/config/initializers/inflections.rb",
178
192
  "test/basepack_test_app/config/initializers/mime_types.rb",
179
193
  "test/basepack_test_app/config/initializers/netzke.rb",
180
194
  "test/basepack_test_app/config/initializers/secret_token.rb",
195
+ "test/basepack_test_app/config/initializers/sequel.rb",
181
196
  "test/basepack_test_app/config/initializers/session_store.rb",
182
197
  "test/basepack_test_app/config/locales/de.yml",
183
198
  "test/basepack_test_app/config/locales/es.yml",
@@ -224,6 +239,7 @@ Gem::Specification.new do |s|
224
239
  "test/basepack_test_app/features/window.feature",
225
240
  "test/basepack_test_app/lib/tasks/.gitkeep",
226
241
  "test/basepack_test_app/lib/tasks/cucumber.rake",
242
+ "test/basepack_test_app/lib/tasks/travis.rake",
227
243
  "test/basepack_test_app/public/404.html",
228
244
  "test/basepack_test_app/public/422.html",
229
245
  "test/basepack_test_app/public/500.html",
@@ -240,10 +256,11 @@ Gem::Specification.new do |s|
240
256
  "test/basepack_test_app/public/stylesheets/.gitkeep",
241
257
  "test/basepack_test_app/script/cucumber",
242
258
  "test/basepack_test_app/script/rails",
243
- "test/basepack_test_app/spec/active_record/attributes_spec.rb",
244
- "test/basepack_test_app/spec/active_record/relation_extensions_spec.rb",
245
259
  "test/basepack_test_app/spec/components/form_panel_spec.rb",
246
260
  "test/basepack_test_app/spec/components/grid_panel_spec.rb",
261
+ "test/basepack_test_app/spec/data_adapter/adapter_spec.rb",
262
+ "test/basepack_test_app/spec/data_adapter/attributes_spec.rb",
263
+ "test/basepack_test_app/spec/data_adapter/relation_extensions_spec.rb",
247
264
  "test/basepack_test_app/spec/factories.rb",
248
265
  "test/basepack_test_app/spec/spec_helper.rb",
249
266
  "test/basepack_test_app/test/performance/browsing_test.rb",
@@ -280,17 +297,11 @@ Gem::Specification.new do |s|
280
297
 
281
298
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
282
299
  s.add_runtime_dependency(%q<netzke-core>, ["~> 0.7.4"])
283
- s.add_runtime_dependency(%q<will_paginate>, ["~> 3.0.0"])
284
- s.add_runtime_dependency(%q<acts_as_list>, ["~> 0.1.4"])
285
300
  else
286
301
  s.add_dependency(%q<netzke-core>, ["~> 0.7.4"])
287
- s.add_dependency(%q<will_paginate>, ["~> 3.0.0"])
288
- s.add_dependency(%q<acts_as_list>, ["~> 0.1.4"])
289
302
  end
290
303
  else
291
304
  s.add_dependency(%q<netzke-core>, ["~> 0.7.4"])
292
- s.add_dependency(%q<will_paginate>, ["~> 3.0.0"])
293
- s.add_dependency(%q<acts_as_list>, ["~> 0.1.4"])
294
305
  end
295
306
  end
296
307
 
@@ -1,34 +1,59 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rails', '3.1.0'
3
+ RAILS_VERSION = '3.2.1'
4
+ DM_VERSION = '1.2.0'
4
5
 
6
+ # we are getting AR still regardless of ORM env, because netzke-persistence needs it
7
+ gem 'rails', RAILS_VERSION
5
8
  gem 'mysql2'
6
9
 
10
+ case (ENV['ORM'] || '').downcase
11
+ when 'dm'
12
+ # DataMapper
13
+ gem 'dm-rails', DM_VERSION
14
+ gem 'dm-mysql-adapter', DM_VERSION
15
+ gem 'dm-validations', DM_VERSION # needed for manual validations
16
+ gem 'dm-timestamps', DM_VERSION # needed for created_at and updated_at
17
+ gem 'dm-aggregates', DM_VERSION # needed for efficient count queries, else * will be selected and counted afterwards
18
+ when 'sq'
19
+ gem 'sequel'
20
+ end
21
+
7
22
  gem 'netzke-core', :path => File.expand_path('../vendor/gems/netzke-core', __FILE__)
8
23
  gem 'netzke-persistence', :path => File.expand_path('../vendor/gems/netzke-persistence', __FILE__)
9
24
 
10
25
  # We need to manually include these Basepack dependencies, because we're not including Basepack as a gem
11
- gem 'will_paginate', '~>3.0'
12
- gem 'acts_as_list'
26
+ # gem 'will_paginate', :git=> "git://github.com/mislav/will_paginate.git"
27
+
13
28
 
14
29
  # Bundle gems for the local environment. Make sure to
15
30
  # put test-only gems in this group so their generators
16
31
  # and rake tasks are available in development mode:
17
32
  group :development, :test do
33
+ gem 'pry'
34
+ gem 'thin'
18
35
  gem 'capybara'
36
+ gem 'capybara-screenshot'
19
37
  gem 'cucumber-rails'
20
38
  gem 'cucumber'
39
+ gem 'selenium-webdriver', '2.17.0'
21
40
  gem 'rspec-rails'
22
41
  gem 'spork'
23
42
  gem 'launchy' # So you can do Then show me the page
24
43
  gem 'factory_girl'
25
44
  end
26
45
 
27
- group :development do
28
- end
29
-
30
46
  group :test do
31
47
  gem 'sqlite3-ruby', :require => 'sqlite3'
32
- gem 'pickle'
48
+ case (ENV['ORM'] || '').downcase
49
+ when 'dm'
50
+ # if we are using dm, we need the sqlite adapter
51
+ gem 'dm-sqlite-adapter', DM_VERSION
52
+ else
53
+ # default case: use ar
54
+ # nothing to do here
55
+ end
56
+ # pickle branch with sequel support
57
+ gem 'pickle', :git=>'git://github.com/NZX/pickle.git'
33
58
  gem 'database_cleaner'
34
- end
59
+ end
@@ -1,7 +1,17 @@
1
+ GIT
2
+ remote: git://github.com/NZX/pickle.git
3
+ revision: 71421eb9de6aaa81268fb9aa73682c05d3b4cb74
4
+ specs:
5
+ pickle (0.4.4)
6
+ cucumber (>= 0.8)
7
+ rake
8
+ rspec (>= 1.3)
9
+ yard
10
+
1
11
  PATH
2
12
  remote: vendor/gems/netzke-core
3
13
  specs:
4
- netzke-core (0.7.4)
14
+ netzke-core (0.7.5)
5
15
  activesupport (>= 3.0.0)
6
16
 
7
17
  PATH
@@ -12,39 +22,35 @@ PATH
12
22
  GEM
13
23
  remote: http://rubygems.org/
14
24
  specs:
15
- actionmailer (3.1.0)
16
- actionpack (= 3.1.0)
17
- mail (~> 2.3.0)
18
- actionpack (3.1.0)
19
- activemodel (= 3.1.0)
20
- activesupport (= 3.1.0)
25
+ actionmailer (3.2.1)
26
+ actionpack (= 3.2.1)
27
+ mail (~> 2.4.0)
28
+ actionpack (3.2.1)
29
+ activemodel (= 3.2.1)
30
+ activesupport (= 3.2.1)
21
31
  builder (~> 3.0.0)
22
32
  erubis (~> 2.7.0)
23
- i18n (~> 0.6)
24
- rack (~> 1.3.2)
25
- rack-cache (~> 1.0.3)
26
- rack-mount (~> 0.8.2)
33
+ journey (~> 1.0.1)
34
+ rack (~> 1.4.0)
35
+ rack-cache (~> 1.1)
27
36
  rack-test (~> 0.6.1)
28
- sprockets (~> 2.0.0)
29
- activemodel (3.1.0)
30
- activesupport (= 3.1.0)
31
- bcrypt-ruby (~> 3.0.0)
37
+ sprockets (~> 2.1.2)
38
+ activemodel (3.2.1)
39
+ activesupport (= 3.2.1)
32
40
  builder (~> 3.0.0)
33
- i18n (~> 0.6)
34
- activerecord (3.1.0)
35
- activemodel (= 3.1.0)
36
- activesupport (= 3.1.0)
37
- arel (~> 2.2.1)
41
+ activerecord (3.2.1)
42
+ activemodel (= 3.2.1)
43
+ activesupport (= 3.2.1)
44
+ arel (~> 3.0.0)
38
45
  tzinfo (~> 0.3.29)
39
- activeresource (3.1.0)
40
- activemodel (= 3.1.0)
41
- activesupport (= 3.1.0)
42
- activesupport (3.1.0)
46
+ activeresource (3.2.1)
47
+ activemodel (= 3.2.1)
48
+ activesupport (= 3.2.1)
49
+ activesupport (3.2.1)
50
+ i18n (~> 0.6)
43
51
  multi_json (~> 1.0)
44
- acts_as_list (0.1.4)
45
- addressable (2.2.6)
46
- arel (2.2.1)
47
- bcrypt-ruby (3.0.1)
52
+ addressable (2.2.7)
53
+ arel (3.0.2)
48
54
  builder (3.0.0)
49
55
  capybara (1.1.2)
50
56
  mime-types (>= 1.16)
@@ -53,63 +59,69 @@ GEM
53
59
  rack-test (>= 0.5.4)
54
60
  selenium-webdriver (~> 2.0)
55
61
  xpath (~> 0.1.4)
56
- childprocess (0.2.8)
62
+ capybara-screenshot (0.1.10)
63
+ capybara (>= 1.0)
64
+ childprocess (0.3.1)
57
65
  ffi (~> 1.0.6)
58
- cucumber (1.1.4)
66
+ coderay (1.0.5)
67
+ cucumber (1.1.9)
59
68
  builder (>= 2.1.2)
60
69
  diff-lcs (>= 1.1.2)
61
- gherkin (~> 2.7.1)
70
+ gherkin (~> 2.9.0)
62
71
  json (>= 1.4.6)
63
72
  term-ansicolor (>= 1.0.6)
64
- cucumber-rails (1.2.1)
73
+ cucumber-rails (1.3.0)
65
74
  capybara (>= 1.1.2)
66
- cucumber (>= 1.1.3)
75
+ cucumber (>= 1.1.8)
67
76
  nokogiri (>= 1.5.0)
68
- database_cleaner (0.7.0)
77
+ daemons (1.1.8)
78
+ database_cleaner (0.7.2)
69
79
  diff-lcs (1.1.3)
70
80
  erubis (2.7.0)
71
- factory_girl (2.3.2)
72
- activesupport
81
+ eventmachine (0.12.10)
82
+ factory_girl (3.0.0)
83
+ activesupport (>= 3.0.0)
73
84
  ffi (1.0.11)
74
- gherkin (2.7.2)
85
+ gherkin (2.9.1)
75
86
  json (>= 1.4.6)
76
87
  hike (1.2.1)
77
88
  i18n (0.6.0)
78
- json (1.6.4)
79
- launchy (2.0.5)
89
+ journey (1.0.3)
90
+ json (1.6.5)
91
+ launchy (2.1.0)
80
92
  addressable (~> 2.2.6)
81
- mail (2.3.0)
93
+ mail (2.4.4)
82
94
  i18n (>= 0.4.0)
83
95
  mime-types (~> 1.16)
84
96
  treetop (~> 1.4.8)
85
- mime-types (1.17.2)
97
+ method_source (0.7.1)
98
+ mime-types (1.18)
86
99
  multi_json (1.0.4)
87
100
  mysql2 (0.3.11)
88
- nokogiri (1.5.0)
89
- pickle (0.4.10)
90
- cucumber (>= 0.8)
91
- rake
101
+ nokogiri (1.5.2)
92
102
  polyglot (0.3.3)
93
- rack (1.3.6)
94
- rack-cache (1.0.3)
103
+ pry (0.9.8.4)
104
+ coderay (~> 1.0.5)
105
+ method_source (~> 0.7.1)
106
+ slop (>= 2.4.4, < 3)
107
+ rack (1.4.1)
108
+ rack-cache (1.2)
95
109
  rack (>= 0.4)
96
- rack-mount (0.8.3)
97
- rack (>= 1.0.0)
98
110
  rack-ssl (1.3.2)
99
111
  rack
100
112
  rack-test (0.6.1)
101
113
  rack (>= 1.0)
102
- rails (3.1.0)
103
- actionmailer (= 3.1.0)
104
- actionpack (= 3.1.0)
105
- activerecord (= 3.1.0)
106
- activeresource (= 3.1.0)
107
- activesupport (= 3.1.0)
114
+ rails (3.2.1)
115
+ actionmailer (= 3.2.1)
116
+ actionpack (= 3.2.1)
117
+ activerecord (= 3.2.1)
118
+ activeresource (= 3.2.1)
119
+ activesupport (= 3.2.1)
108
120
  bundler (~> 1.0)
109
- railties (= 3.1.0)
110
- railties (3.1.0)
111
- actionpack (= 3.1.0)
112
- activesupport (= 3.1.0)
121
+ railties (= 3.2.1)
122
+ railties (3.2.1)
123
+ actionpack (= 3.2.1)
124
+ activesupport (= 3.2.1)
113
125
  rack-ssl (~> 1.3.2)
114
126
  rake (>= 0.8.7)
115
127
  rdoc (~> 3.4)
@@ -117,27 +129,28 @@ GEM
117
129
  rake (0.9.2.2)
118
130
  rdoc (3.12)
119
131
  json (~> 1.4)
120
- rspec (2.8.0)
121
- rspec-core (~> 2.8.0)
122
- rspec-expectations (~> 2.8.0)
123
- rspec-mocks (~> 2.8.0)
124
- rspec-core (2.8.0)
125
- rspec-expectations (2.8.0)
126
- diff-lcs (~> 1.1.2)
127
- rspec-mocks (2.8.0)
128
- rspec-rails (2.8.1)
132
+ rspec (2.9.0)
133
+ rspec-core (~> 2.9.0)
134
+ rspec-expectations (~> 2.9.0)
135
+ rspec-mocks (~> 2.9.0)
136
+ rspec-core (2.9.0)
137
+ rspec-expectations (2.9.0)
138
+ diff-lcs (~> 1.1.3)
139
+ rspec-mocks (2.9.0)
140
+ rspec-rails (2.9.0)
129
141
  actionpack (>= 3.0)
130
142
  activesupport (>= 3.0)
131
143
  railties (>= 3.0)
132
- rspec (~> 2.8.0)
133
- rubyzip (0.9.5)
134
- selenium-webdriver (2.16.0)
144
+ rspec (~> 2.9.0)
145
+ rubyzip (0.9.6.1)
146
+ selenium-webdriver (2.17.0)
135
147
  childprocess (>= 0.2.5)
136
148
  ffi (~> 1.0.9)
137
149
  multi_json (~> 1.0.4)
138
150
  rubyzip
139
- spork (0.8.5)
140
- sprockets (2.0.3)
151
+ slop (2.4.4)
152
+ spork (0.9.0)
153
+ sprockets (2.1.2)
141
154
  hike (~> 1.2)
142
155
  rack (~> 1.0)
143
156
  tilt (~> 1.1, != 1.3.0)
@@ -145,22 +158,26 @@ GEM
145
158
  sqlite3-ruby (1.3.3)
146
159
  sqlite3 (>= 1.3.3)
147
160
  term-ansicolor (1.0.7)
161
+ thin (1.3.1)
162
+ daemons (>= 1.0.9)
163
+ eventmachine (>= 0.12.6)
164
+ rack (>= 1.0.0)
148
165
  thor (0.14.6)
149
166
  tilt (1.3.3)
150
167
  treetop (1.4.10)
151
168
  polyglot
152
169
  polyglot (>= 0.3.1)
153
- tzinfo (0.3.31)
154
- will_paginate (3.0.2)
170
+ tzinfo (0.3.32)
155
171
  xpath (0.1.4)
156
172
  nokogiri (~> 1.3)
173
+ yard (0.7.5)
157
174
 
158
175
  PLATFORMS
159
176
  ruby
160
177
 
161
178
  DEPENDENCIES
162
- acts_as_list
163
179
  capybara
180
+ capybara-screenshot
164
181
  cucumber
165
182
  cucumber-rails
166
183
  database_cleaner
@@ -169,9 +186,11 @@ DEPENDENCIES
169
186
  mysql2
170
187
  netzke-core!
171
188
  netzke-persistence!
172
- pickle
173
- rails (= 3.1.0)
189
+ pickle!
190
+ pry
191
+ rails (= 3.2.1)
174
192
  rspec-rails
193
+ selenium-webdriver (= 2.17.0)
175
194
  spork
176
195
  sqlite3-ruby
177
- will_paginate (~> 3.0)
196
+ thin