ProtectedConstructor 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.idea/workspace.xml +21 -12
- data/README.md +1 -1
- data/lib/ProtectedConstructor/version.rb +1 -1
- metadata +1 -1
data/.idea/workspace.xml
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="d8942c7f-4ad1-4925-b73d-25c4ef52dd1d" name="Default" comment="">
|
5
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
|
6
6
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/ProtectedConstructor/version.rb" afterPath="$PROJECT_DIR$/lib/ProtectedConstructor/version.rb" />
|
7
7
|
</list>
|
8
8
|
<ignored path="ProtectedConstructor.iws" />
|
9
9
|
<ignored path=".idea/workspace.xml" />
|
10
10
|
<file path="/Dummy.txt" changelist="d8942c7f-4ad1-4925-b73d-25c4ef52dd1d" time="1373302834255" ignored="false" />
|
11
|
-
<file path="/README.md" changelist="d8942c7f-4ad1-4925-b73d-25c4ef52dd1d" time="
|
11
|
+
<file path="/README.md" changelist="d8942c7f-4ad1-4925-b73d-25c4ef52dd1d" time="1373304095331" ignored="false" />
|
12
12
|
<file path="/LICENSE.txt" changelist="d8942c7f-4ad1-4925-b73d-25c4ef52dd1d" time="1373293800369" ignored="false" />
|
13
13
|
<file path="/spec_helper.rb" changelist="d8942c7f-4ad1-4925-b73d-25c4ef52dd1d" time="1373297633742" ignored="false" />
|
14
14
|
<file path="/protected_constructor_spec.rb" changelist="d8942c7f-4ad1-4925-b73d-25c4ef52dd1d" time="1373298674255" ignored="false" />
|
@@ -37,7 +37,7 @@
|
|
37
37
|
<file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
|
38
38
|
<entry file="file://$PROJECT_DIR$/README.md">
|
39
39
|
<provider selected="true" editor-type-id="text-editor">
|
40
|
-
<state line="4" column="
|
40
|
+
<state line="4" column="102" selection-start="24" selection-end="338" vertical-scroll-proportion="0.0">
|
41
41
|
<folding />
|
42
42
|
</state>
|
43
43
|
</provider>
|
@@ -61,6 +61,15 @@
|
|
61
61
|
</provider>
|
62
62
|
</entry>
|
63
63
|
</file>
|
64
|
+
<file leaf-file-name="ProtectedConstructor.gemspec" pinned="false" current="false" current-in-tab="false">
|
65
|
+
<entry file="file://$PROJECT_DIR$/ProtectedConstructor.gemspec">
|
66
|
+
<provider selected="true" editor-type-id="text-editor">
|
67
|
+
<state line="11" column="132" selection-start="566" selection-end="566" vertical-scroll-proportion="0.0">
|
68
|
+
<folding />
|
69
|
+
</state>
|
70
|
+
</provider>
|
71
|
+
</entry>
|
72
|
+
</file>
|
64
73
|
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
65
74
|
<entry file="file://$PROJECT_DIR$/Rakefile">
|
66
75
|
<provider selected="true" editor-type-id="text-editor">
|
@@ -116,8 +125,8 @@
|
|
116
125
|
<option value="$PROJECT_DIR$/ProtectedConstructor.gemspec" />
|
117
126
|
<option value="$PROJECT_DIR$/lib/ProtectedConstructor.rb" />
|
118
127
|
<option value="$PROJECT_DIR$/Rakefile" />
|
119
|
-
<option value="$PROJECT_DIR$/README.md" />
|
120
128
|
<option value="$PROJECT_DIR$/Gemfile" />
|
129
|
+
<option value="$PROJECT_DIR$/README.md" />
|
121
130
|
<option value="$PROJECT_DIR$/lib/ProtectedConstructor/version.rb" />
|
122
131
|
</list>
|
123
132
|
</option>
|
@@ -528,13 +537,6 @@
|
|
528
537
|
</state>
|
529
538
|
</provider>
|
530
539
|
</entry>
|
531
|
-
<entry file="file://$PROJECT_DIR$/ProtectedConstructor.gemspec">
|
532
|
-
<provider selected="true" editor-type-id="text-editor">
|
533
|
-
<state line="11" column="132" selection-start="566" selection-end="566" vertical-scroll-proportion="0.0">
|
534
|
-
<folding />
|
535
|
-
</state>
|
536
|
-
</provider>
|
537
|
-
</entry>
|
538
540
|
<entry file="file://$PROJECT_DIR$/spec/klass_factory.rb">
|
539
541
|
<provider selected="true" editor-type-id="text-editor">
|
540
542
|
<state line="9" column="10" selection-start="17" selection-end="127" vertical-scroll-proportion="0.28301886">
|
@@ -572,7 +574,7 @@
|
|
572
574
|
</entry>
|
573
575
|
<entry file="file://$PROJECT_DIR$/README.md">
|
574
576
|
<provider selected="true" editor-type-id="text-editor">
|
575
|
-
<state line="4" column="
|
577
|
+
<state line="4" column="102" selection-start="24" selection-end="338" vertical-scroll-proportion="0.0">
|
576
578
|
<folding />
|
577
579
|
</state>
|
578
580
|
</provider>
|
@@ -584,6 +586,13 @@
|
|
584
586
|
</state>
|
585
587
|
</provider>
|
586
588
|
</entry>
|
589
|
+
<entry file="file://$PROJECT_DIR$/ProtectedConstructor.gemspec">
|
590
|
+
<provider selected="true" editor-type-id="text-editor">
|
591
|
+
<state line="11" column="132" selection-start="566" selection-end="566" vertical-scroll-proportion="0.0">
|
592
|
+
<folding />
|
593
|
+
</state>
|
594
|
+
</provider>
|
595
|
+
</entry>
|
587
596
|
<entry file="file://$PROJECT_DIR$/lib/ProtectedConstructor/version.rb">
|
588
597
|
<provider selected="true" editor-type-id="text-editor">
|
589
598
|
<state line="1" column="18" selection-start="46" selection-end="46" vertical-scroll-proportion="0.031446543">
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Provides a module that may be included in a Ruby class, that protects the constructor; good for enforcing
|
4
4
|
instantiation of classes using, for instance, a class factory. The code itself is not mine, I just wrapped it
|
5
|
-
in a gem; sorry, I don't remember the origin of the code to give credit.
|
5
|
+
in a gem and provided the examples; sorry, I don't remember the origin of the code to give credit.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|