opal-factory_girl 4.5.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +7 -0
  2. data/factory_girl/lib/factory_girl.rb +132 -0
  3. data/factory_girl/lib/factory_girl/aliases.rb +18 -0
  4. data/factory_girl/lib/factory_girl/attribute.rb +62 -0
  5. data/factory_girl/lib/factory_girl/attribute/association.rb +27 -0
  6. data/factory_girl/lib/factory_girl/attribute/dynamic.rb +24 -0
  7. data/factory_girl/lib/factory_girl/attribute/sequence.rb +16 -0
  8. data/factory_girl/lib/factory_girl/attribute/static.rb +16 -0
  9. data/factory_girl/lib/factory_girl/attribute_assigner.rb +97 -0
  10. data/factory_girl/lib/factory_girl/attribute_list.rb +67 -0
  11. data/factory_girl/lib/factory_girl/callback.rb +40 -0
  12. data/factory_girl/lib/factory_girl/callbacks_observer.rb +21 -0
  13. data/factory_girl/lib/factory_girl/configuration.rb +33 -0
  14. data/factory_girl/lib/factory_girl/declaration.rb +23 -0
  15. data/factory_girl/lib/factory_girl/declaration/association.rb +28 -0
  16. data/factory_girl/lib/factory_girl/declaration/dynamic.rb +26 -0
  17. data/factory_girl/lib/factory_girl/declaration/implicit.rb +33 -0
  18. data/factory_girl/lib/factory_girl/declaration/static.rb +26 -0
  19. data/factory_girl/lib/factory_girl/declaration_list.rb +49 -0
  20. data/factory_girl/lib/factory_girl/decorator.rb +21 -0
  21. data/factory_girl/lib/factory_girl/decorator/attribute_hash.rb +17 -0
  22. data/factory_girl/lib/factory_girl/decorator/class_key_hash.rb +27 -0
  23. data/factory_girl/lib/factory_girl/decorator/disallows_duplicates_registry.rb +13 -0
  24. data/factory_girl/lib/factory_girl/decorator/invocation_tracker.rb +19 -0
  25. data/factory_girl/lib/factory_girl/decorator/new_constructor.rb +12 -0
  26. data/factory_girl/lib/factory_girl/definition.rb +141 -0
  27. data/factory_girl/lib/factory_girl/definition_hierarchy.rb +48 -0
  28. data/factory_girl/lib/factory_girl/definition_proxy.rb +174 -0
  29. data/factory_girl/lib/factory_girl/errors.rb +25 -0
  30. data/factory_girl/lib/factory_girl/evaluation.rb +23 -0
  31. data/factory_girl/lib/factory_girl/evaluator.rb +76 -0
  32. data/factory_girl/lib/factory_girl/evaluator_class_definer.rb +20 -0
  33. data/factory_girl/lib/factory_girl/factory.rb +162 -0
  34. data/factory_girl/lib/factory_girl/factory_runner.rb +33 -0
  35. data/factory_girl/lib/factory_girl/find_definitions.rb +25 -0
  36. data/factory_girl/lib/factory_girl/linter.rb +47 -0
  37. data/factory_girl/lib/factory_girl/null_factory.rb +18 -0
  38. data/factory_girl/lib/factory_girl/null_object.rb +24 -0
  39. data/factory_girl/lib/factory_girl/registry.rb +38 -0
  40. data/factory_girl/lib/factory_girl/reload.rb +8 -0
  41. data/factory_girl/lib/factory_girl/sequence.rb +62 -0
  42. data/factory_girl/lib/factory_girl/strategy/attributes_for.rb +13 -0
  43. data/factory_girl/lib/factory_girl/strategy/build.rb +15 -0
  44. data/factory_girl/lib/factory_girl/strategy/create.rb +18 -0
  45. data/factory_girl/lib/factory_girl/strategy/null.rb +11 -0
  46. data/factory_girl/lib/factory_girl/strategy/stub.rb +73 -0
  47. data/factory_girl/lib/factory_girl/strategy_calculator.rb +26 -0
  48. data/factory_girl/lib/factory_girl/strategy_syntax_method_registrar.rb +46 -0
  49. data/factory_girl/lib/factory_girl/syntax.rb +7 -0
  50. data/factory_girl/lib/factory_girl/syntax/default.rb +76 -0
  51. data/factory_girl/lib/factory_girl/syntax/methods.rb +95 -0
  52. data/factory_girl/lib/factory_girl/syntax_runner.rb +6 -0
  53. data/factory_girl/lib/factory_girl/trait.rb +30 -0
  54. data/factory_girl/lib/factory_girl/version.rb +3 -0
  55. data/lib/opal-factory_girl.rb +16 -0
  56. data/lib/opal/factory_girl/version.rb +8 -0
  57. data/opal/opal-factory_girl.rb +184 -0
  58. data/opal/opal/active_support/inflector/methods.rb +395 -0
  59. metadata +142 -0
metadata ADDED
@@ -0,0 +1,142 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: opal-factory_girl
3
+ version: !ruby/object:Gem::Version
4
+ version: 4.5.0.3
5
+ platform: ruby
6
+ authors:
7
+ - Brady Wied
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-01-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: opal-activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.3'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: opal
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 0.9.0.beta1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 0.9.0.beta1
55
+ description: Makes necessary patches to FactoryGirl such that it runs on Opal, with
56
+ some limitations
57
+ email: brady@bswtechconsulting.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - factory_girl/lib/factory_girl.rb
63
+ - factory_girl/lib/factory_girl/aliases.rb
64
+ - factory_girl/lib/factory_girl/attribute.rb
65
+ - factory_girl/lib/factory_girl/attribute/association.rb
66
+ - factory_girl/lib/factory_girl/attribute/dynamic.rb
67
+ - factory_girl/lib/factory_girl/attribute/sequence.rb
68
+ - factory_girl/lib/factory_girl/attribute/static.rb
69
+ - factory_girl/lib/factory_girl/attribute_assigner.rb
70
+ - factory_girl/lib/factory_girl/attribute_list.rb
71
+ - factory_girl/lib/factory_girl/callback.rb
72
+ - factory_girl/lib/factory_girl/callbacks_observer.rb
73
+ - factory_girl/lib/factory_girl/configuration.rb
74
+ - factory_girl/lib/factory_girl/declaration.rb
75
+ - factory_girl/lib/factory_girl/declaration/association.rb
76
+ - factory_girl/lib/factory_girl/declaration/dynamic.rb
77
+ - factory_girl/lib/factory_girl/declaration/implicit.rb
78
+ - factory_girl/lib/factory_girl/declaration/static.rb
79
+ - factory_girl/lib/factory_girl/declaration_list.rb
80
+ - factory_girl/lib/factory_girl/decorator.rb
81
+ - factory_girl/lib/factory_girl/decorator/attribute_hash.rb
82
+ - factory_girl/lib/factory_girl/decorator/class_key_hash.rb
83
+ - factory_girl/lib/factory_girl/decorator/disallows_duplicates_registry.rb
84
+ - factory_girl/lib/factory_girl/decorator/invocation_tracker.rb
85
+ - factory_girl/lib/factory_girl/decorator/new_constructor.rb
86
+ - factory_girl/lib/factory_girl/definition.rb
87
+ - factory_girl/lib/factory_girl/definition_hierarchy.rb
88
+ - factory_girl/lib/factory_girl/definition_proxy.rb
89
+ - factory_girl/lib/factory_girl/errors.rb
90
+ - factory_girl/lib/factory_girl/evaluation.rb
91
+ - factory_girl/lib/factory_girl/evaluator.rb
92
+ - factory_girl/lib/factory_girl/evaluator_class_definer.rb
93
+ - factory_girl/lib/factory_girl/factory.rb
94
+ - factory_girl/lib/factory_girl/factory_runner.rb
95
+ - factory_girl/lib/factory_girl/find_definitions.rb
96
+ - factory_girl/lib/factory_girl/linter.rb
97
+ - factory_girl/lib/factory_girl/null_factory.rb
98
+ - factory_girl/lib/factory_girl/null_object.rb
99
+ - factory_girl/lib/factory_girl/registry.rb
100
+ - factory_girl/lib/factory_girl/reload.rb
101
+ - factory_girl/lib/factory_girl/sequence.rb
102
+ - factory_girl/lib/factory_girl/strategy/attributes_for.rb
103
+ - factory_girl/lib/factory_girl/strategy/build.rb
104
+ - factory_girl/lib/factory_girl/strategy/create.rb
105
+ - factory_girl/lib/factory_girl/strategy/null.rb
106
+ - factory_girl/lib/factory_girl/strategy/stub.rb
107
+ - factory_girl/lib/factory_girl/strategy_calculator.rb
108
+ - factory_girl/lib/factory_girl/strategy_syntax_method_registrar.rb
109
+ - factory_girl/lib/factory_girl/syntax.rb
110
+ - factory_girl/lib/factory_girl/syntax/default.rb
111
+ - factory_girl/lib/factory_girl/syntax/methods.rb
112
+ - factory_girl/lib/factory_girl/syntax_runner.rb
113
+ - factory_girl/lib/factory_girl/trait.rb
114
+ - factory_girl/lib/factory_girl/version.rb
115
+ - lib/opal-factory_girl.rb
116
+ - lib/opal/factory_girl/version.rb
117
+ - opal/opal-factory_girl.rb
118
+ - opal/opal/active_support/inflector/methods.rb
119
+ homepage: https://github.com/wied03/opal-factory_girl
120
+ licenses: []
121
+ metadata: {}
122
+ post_install_message:
123
+ rdoc_options: []
124
+ require_paths:
125
+ - lib
126
+ required_ruby_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ requirements: []
137
+ rubyforge_project:
138
+ rubygems_version: 2.4.8
139
+ signing_key:
140
+ specification_version: 4
141
+ summary: Opal compatible FactoryGirl
142
+ test_files: []