actic 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/actic.iml +33 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +8 -0
- data/.idea/modules.xml +9 -0
- data/.idea/vcs.xml +8 -0
- data/.idea/workspace.xml +373 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +21 -0
- data/MIT-LICENSE +20 -0
- data/README +52 -0
- data/actic.gemspec +1 -1
- data/lib/actic.rb +2 -2
- data/lib/actic/version.rb +1 -1
- metadata +23 -6
- data/.gitignore +0 -4
data/.DS_Store
ADDED
Binary file
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Remove rdoc products" fullCmd="clobber_rdoc" taksId="clobber_rdoc" /><RakeTask description="Default: run unit tests" fullCmd="default" taksId="default" /><RakeTask description="Build the rdoc HTML Files" fullCmd="rdoc" taksId="rdoc" /><RakeTask description="Force a rebuild of the RDOC files" fullCmd="rerdoc" taksId="rerdoc" /><RakeTask description="Run tests" fullCmd="test" taksId="test" /><RakeTask description="" fullCmd="clobber" taksId="clobber" /><RakeTask description="" fullCmd="rdoc/index.html" taksId="rdoc/index.html" /></RakeGroup></Settings>
|
data/.idea/actic.iml
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="NewModuleRootManager">
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
5
|
+
<orderEntry type="inheritedJdk" />
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
7
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] rake (v0.8.7, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174@global/gems/rake-0.8.7)" level="application" />
|
8
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] bundler (v0.9.26, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/bundler-0.9.26)" level="application" />
|
9
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] rails (v3.0.0.beta4, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/rails-3.0.0.beta4)" level="application" />
|
10
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] mail (v2.2.5, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/mail-2.2.5)" level="application" />
|
11
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] mime-types (v1.16, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/mime-types-1.16)" level="application" />
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] railties (v3.0.0.beta4, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/railties-3.0.0.beta4)" level="application" />
|
13
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] rack-test (v0.5.4, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/rack-test-0.5.4)" level="application" />
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] activerecord (v3.0.0.beta4, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4)" level="application" />
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] actionmailer (v3.0.0.beta4, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/actionmailer-3.0.0.beta4)" level="application" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] rack (v1.1.0, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/rack-1.1.0)" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] tzinfo (v0.3.22, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/tzinfo-0.3.22)" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] i18n (v0.4.1, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/i18n-0.4.1)" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] abstract (v1.0.0, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/abstract-1.0.0)" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] actionpack (v3.0.0.beta4, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/actionpack-3.0.0.beta4)" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] thor (v0.13.7, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/thor-0.13.7)" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] polyglot (v0.3.1, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/polyglot-0.3.1)" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] activesupport (v3.0.0.beta4, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4)" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] erubis (v2.6.6, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/erubis-2.6.6)" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] activemodel (v3.0.0.beta4, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/activemodel-3.0.0.beta4)" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] arel (v0.4.0, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/arel-0.4.0)" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] builder (v2.1.2, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/builder-2.1.2)" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] rack-mount (v0.6.6, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/rack-mount-0.6.6)" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] activeresource (v3.0.0.beta4, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/activeresource-3.0.0.beta4)" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="[gem] treetop (v1.4.8, /Users/stevecaney/.rvm/gems/ruby-1.8.7-p174/gems/treetop-1.4.8)" level="application" />
|
31
|
+
</component>
|
32
|
+
</module>
|
33
|
+
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="DependencyValidationManager">
|
4
|
+
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
|
5
|
+
</component>
|
6
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="Ruby SDK 1.8.7 (1)" project-jdk-type="RUBY_SDK" />
|
7
|
+
</project>
|
8
|
+
|
data/.idea/modules.xml
ADDED
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,373 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="d3cf5bac-e354-4650-bb9d-a7a20e63c8a1" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/actic.iml" afterPath="$PROJECT_DIR$/.idea/actic.iml" />
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
|
8
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/actic.gemspec" afterPath="$PROJECT_DIR$/actic.gemspec" />
|
9
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/actic.rb" afterPath="$PROJECT_DIR$/lib/actic.rb" />
|
10
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/actic/version.rb" afterPath="$PROJECT_DIR$/lib/actic/version.rb" />
|
11
|
+
</list>
|
12
|
+
<ignored path=".idea/workspace.xml" />
|
13
|
+
<ignored path="actic.iws" />
|
14
|
+
<option name="TRACKING_ENABLED" value="true" />
|
15
|
+
<option name="SHOW_DIALOG" value="false" />
|
16
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
17
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
18
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
19
|
+
</component>
|
20
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
21
|
+
<component name="CreatePatchCommitExecutor">
|
22
|
+
<option name="PATCH_PATH" value="" />
|
23
|
+
<option name="REVERSE_PATCH" value="false" />
|
24
|
+
</component>
|
25
|
+
<component name="DaemonCodeAnalyzer">
|
26
|
+
<disable_hints />
|
27
|
+
</component>
|
28
|
+
<component name="FavoritesManager">
|
29
|
+
<favorites_list name="actic" />
|
30
|
+
</component>
|
31
|
+
<component name="FileColors" enabled="true" enabledForTabs="true" showNonProject="true">
|
32
|
+
<fileColor scope="Non-Project Files" color="ffffe4" />
|
33
|
+
</component>
|
34
|
+
<component name="FileEditorManager">
|
35
|
+
<leaf>
|
36
|
+
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
37
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
38
|
+
<provider selected="true" editor-type-id="text-editor">
|
39
|
+
<state line="1" column="51" selection-start="29" selection-end="29" vertical-scroll-proportion="0.0">
|
40
|
+
<folding />
|
41
|
+
</state>
|
42
|
+
</provider>
|
43
|
+
</entry>
|
44
|
+
</file>
|
45
|
+
<file leaf-file-name="actic.rb" pinned="false" current="false" current-in-tab="false">
|
46
|
+
<entry file="file://$PROJECT_DIR$/lib/actic.rb">
|
47
|
+
<provider selected="true" editor-type-id="text-editor">
|
48
|
+
<state line="11" column="18" selection-start="376" selection-end="376" vertical-scroll-proportion="0.0">
|
49
|
+
<folding />
|
50
|
+
</state>
|
51
|
+
</provider>
|
52
|
+
</entry>
|
53
|
+
</file>
|
54
|
+
<file leaf-file-name="actic.gemspec" pinned="false" current="true" current-in-tab="true">
|
55
|
+
<entry file="file://$PROJECT_DIR$/actic.gemspec">
|
56
|
+
<provider selected="true" editor-type-id="text-editor">
|
57
|
+
<state line="16" column="23" selection-start="575" selection-end="575" vertical-scroll-proportion="0.29493088">
|
58
|
+
<folding />
|
59
|
+
</state>
|
60
|
+
</provider>
|
61
|
+
</entry>
|
62
|
+
</file>
|
63
|
+
<file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
|
64
|
+
<entry file="file://$PROJECT_DIR$/lib/actic/version.rb">
|
65
|
+
<provider selected="true" editor-type-id="text-editor">
|
66
|
+
<state line="3" column="0" selection-start="37" selection-end="37" vertical-scroll-proportion="0.0">
|
67
|
+
<folding />
|
68
|
+
</state>
|
69
|
+
</provider>
|
70
|
+
</entry>
|
71
|
+
</file>
|
72
|
+
<file leaf-file-name="Gemfile.lock" pinned="false" current="false" current-in-tab="false">
|
73
|
+
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
74
|
+
<provider selected="true" editor-type-id="text-editor">
|
75
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
76
|
+
<folding />
|
77
|
+
</state>
|
78
|
+
</provider>
|
79
|
+
</entry>
|
80
|
+
</file>
|
81
|
+
</leaf>
|
82
|
+
</component>
|
83
|
+
<component name="FindManager">
|
84
|
+
<FindUsagesManager>
|
85
|
+
<setting name="OPEN_NEW_TAB" value="false" />
|
86
|
+
</FindUsagesManager>
|
87
|
+
</component>
|
88
|
+
<component name="Git.Branch.Configurations">
|
89
|
+
<option name="CURRENT" value="r3" />
|
90
|
+
<option name="CONFIGURATIONS">
|
91
|
+
<array>
|
92
|
+
<BranchConfiguration>
|
93
|
+
<option name="IS_AUTO_DETECTED" value="true" />
|
94
|
+
<option name="NAME" value="r3" />
|
95
|
+
<option name="BRANCHES">
|
96
|
+
<array>
|
97
|
+
<BranchInfo>
|
98
|
+
<option name="ROOT" value="$PROJECT_DIR$" />
|
99
|
+
<option name="REFERENCE" value="r3" />
|
100
|
+
</BranchInfo>
|
101
|
+
</array>
|
102
|
+
</option>
|
103
|
+
</BranchConfiguration>
|
104
|
+
</array>
|
105
|
+
</option>
|
106
|
+
</component>
|
107
|
+
<component name="Git.Settings">
|
108
|
+
<option name="GIT_EXECUTABLE" value="/opt/local/bin/git" />
|
109
|
+
<option name="CHECKOUT_INCLUDE_TAGS" value="false" />
|
110
|
+
<option name="UPDATE_CHANGES_POLICY" value="STASH" />
|
111
|
+
</component>
|
112
|
+
<component name="IdeDocumentHistory">
|
113
|
+
<option name="changedFiles">
|
114
|
+
<list>
|
115
|
+
<option value="$PROJECT_DIR$/lib/generators/actic/orm_helpers.rb" />
|
116
|
+
<option value="$PROJECT_DIR$/lib/generators/actic/install_generator.rb" />
|
117
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
118
|
+
<option value="$PROJECT_DIR$/lib/generators/actic/actic_generator.rb" />
|
119
|
+
<option value="$PROJECT_DIR$/lib/generators/actic_install_generator.rb" />
|
120
|
+
<option value="$PROJECT_DIR$/lib/generators/actic/actic/actic_generator.rb" />
|
121
|
+
<option value="$PROJECT_DIR$/lib/generators/actic/install/templates/actic.rb" />
|
122
|
+
<option value="$PROJECT_DIR$/lib/generators/actic/install/install_generator.rb" />
|
123
|
+
<option value="$PROJECT_DIR$/config/locales/en.yml" />
|
124
|
+
<option value="$PROJECT_DIR$/lib/generators/actic/install/templates/README" />
|
125
|
+
<option value="$PROJECT_DIR$/README" />
|
126
|
+
<option value="$PROJECT_DIR$/MIT-LICENSE" />
|
127
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
128
|
+
<option value="$PROJECT_DIR$/lib/actic.rb" />
|
129
|
+
<option value="$PROJECT_DIR$/lib/actic/version.rb" />
|
130
|
+
<option value="$PROJECT_DIR$/actic.gemspec" />
|
131
|
+
</list>
|
132
|
+
</option>
|
133
|
+
</component>
|
134
|
+
<component name="ProjectLevelVcsManager">
|
135
|
+
<OptionsSetting value="true" id="Add" />
|
136
|
+
<OptionsSetting value="true" id="Remove" />
|
137
|
+
<OptionsSetting value="true" id="Checkout" />
|
138
|
+
<OptionsSetting value="true" id="Update" />
|
139
|
+
<OptionsSetting value="true" id="Status" />
|
140
|
+
<OptionsSetting value="true" id="Edit" />
|
141
|
+
<ConfirmationsSetting value="0" id="Add" />
|
142
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
143
|
+
</component>
|
144
|
+
<component name="ProjectReloadState">
|
145
|
+
<option name="STATE" value="0" />
|
146
|
+
</component>
|
147
|
+
<component name="ProjectView">
|
148
|
+
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
149
|
+
<flattenPackages />
|
150
|
+
<showMembers />
|
151
|
+
<showModules />
|
152
|
+
<showLibraryContents />
|
153
|
+
<hideEmptyPackages />
|
154
|
+
<abbreviatePackageNames />
|
155
|
+
<autoscrollToSource />
|
156
|
+
<autoscrollFromSource />
|
157
|
+
<sortByType />
|
158
|
+
</navigator>
|
159
|
+
<panes>
|
160
|
+
<pane id="Favorites" />
|
161
|
+
<pane id="ProjectPane">
|
162
|
+
<subPane>
|
163
|
+
<PATH>
|
164
|
+
<PATH_ELEMENT>
|
165
|
+
<option name="myItemId" value="actic" />
|
166
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
167
|
+
</PATH_ELEMENT>
|
168
|
+
</PATH>
|
169
|
+
<PATH>
|
170
|
+
<PATH_ELEMENT>
|
171
|
+
<option name="myItemId" value="actic" />
|
172
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
173
|
+
</PATH_ELEMENT>
|
174
|
+
<PATH_ELEMENT>
|
175
|
+
<option name="myItemId" value="actic" />
|
176
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
177
|
+
</PATH_ELEMENT>
|
178
|
+
</PATH>
|
179
|
+
<PATH>
|
180
|
+
<PATH_ELEMENT>
|
181
|
+
<option name="myItemId" value="actic" />
|
182
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
183
|
+
</PATH_ELEMENT>
|
184
|
+
<PATH_ELEMENT>
|
185
|
+
<option name="myItemId" value="actic" />
|
186
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
187
|
+
</PATH_ELEMENT>
|
188
|
+
<PATH_ELEMENT>
|
189
|
+
<option name="myItemId" value="lib" />
|
190
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
191
|
+
</PATH_ELEMENT>
|
192
|
+
</PATH>
|
193
|
+
<PATH>
|
194
|
+
<PATH_ELEMENT>
|
195
|
+
<option name="myItemId" value="actic" />
|
196
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
197
|
+
</PATH_ELEMENT>
|
198
|
+
<PATH_ELEMENT>
|
199
|
+
<option name="myItemId" value="actic" />
|
200
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
201
|
+
</PATH_ELEMENT>
|
202
|
+
<PATH_ELEMENT>
|
203
|
+
<option name="myItemId" value="lib" />
|
204
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
205
|
+
</PATH_ELEMENT>
|
206
|
+
<PATH_ELEMENT>
|
207
|
+
<option name="myItemId" value="actic" />
|
208
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
209
|
+
</PATH_ELEMENT>
|
210
|
+
</PATH>
|
211
|
+
</subPane>
|
212
|
+
</pane>
|
213
|
+
<pane id="Scope" />
|
214
|
+
</panes>
|
215
|
+
</component>
|
216
|
+
<component name="PropertiesComponent">
|
217
|
+
<property name="options.splitter.main.proportions" value="0.3" />
|
218
|
+
<property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
|
219
|
+
<property name="options.searchVisible" value="true" />
|
220
|
+
<property name="options.splitter.details.proportions" value="0.2" />
|
221
|
+
</component>
|
222
|
+
<component name="RecentsManager">
|
223
|
+
<key name="CopyFile.RECENT_KEYS">
|
224
|
+
<recent name="$PROJECT_DIR$/lib/generators/actic/install/templates" />
|
225
|
+
</key>
|
226
|
+
</component>
|
227
|
+
<component name="RunManager">
|
228
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
229
|
+
<module name="" />
|
230
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift)" />
|
231
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
232
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
233
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
234
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
235
|
+
<envs />
|
236
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
237
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov" />
|
238
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
239
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
240
|
+
<method />
|
241
|
+
</configuration>
|
242
|
+
<list size="0" />
|
243
|
+
</component>
|
244
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
245
|
+
<component name="SvnConfiguration" maxAnnotateRevisions="500">
|
246
|
+
<option name="USER" value="" />
|
247
|
+
<option name="PASSWORD" value="" />
|
248
|
+
<option name="LAST_MERGED_REVISION" />
|
249
|
+
<option name="UPDATE_RUN_STATUS" value="false" />
|
250
|
+
<option name="MERGE_DRY_RUN" value="false" />
|
251
|
+
<option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
|
252
|
+
<option name="UPDATE_LOCK_ON_DEMAND" value="false" />
|
253
|
+
<option name="IGNORE_SPACES_IN_MERGE" value="false" />
|
254
|
+
<option name="DETECT_NESTED_COPIES" value="true" />
|
255
|
+
<option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
|
256
|
+
<option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
|
257
|
+
<option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
|
258
|
+
<myIsUseDefaultProxy>false</myIsUseDefaultProxy>
|
259
|
+
</component>
|
260
|
+
<component name="TaskManager">
|
261
|
+
<task active="true" id="Default" summary="Default task">
|
262
|
+
<changelist id="d3cf5bac-e354-4650-bb9d-a7a20e63c8a1" name="Default" comment="" />
|
263
|
+
<created>1281099554225</created>
|
264
|
+
<updated>1281099554225</updated>
|
265
|
+
</task>
|
266
|
+
<servers />
|
267
|
+
</component>
|
268
|
+
<component name="ToolWindowManager">
|
269
|
+
<frame x="0" y="22" width="1280" height="774" extended-state="0" />
|
270
|
+
<editor active="true" />
|
271
|
+
<layout>
|
272
|
+
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
273
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
274
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
|
275
|
+
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
276
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.6706231" order="0" side_tool="false" content_ui="tabs" />
|
277
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
278
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
279
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
280
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
281
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
282
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
283
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32937685" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
284
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
285
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
286
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
287
|
+
</layout>
|
288
|
+
</component>
|
289
|
+
<component name="VcsManagerConfiguration">
|
290
|
+
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
|
291
|
+
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
|
292
|
+
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
|
293
|
+
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
|
294
|
+
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
|
295
|
+
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
|
296
|
+
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
297
|
+
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
298
|
+
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
299
|
+
<option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
|
300
|
+
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
301
|
+
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
302
|
+
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
303
|
+
<option name="LAST_COMMIT_MESSAGE" />
|
304
|
+
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
|
305
|
+
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
306
|
+
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
307
|
+
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
|
308
|
+
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
|
309
|
+
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
|
310
|
+
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
|
311
|
+
<option name="ACTIVE_VCS_NAME" />
|
312
|
+
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
313
|
+
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
314
|
+
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
315
|
+
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
316
|
+
</component>
|
317
|
+
<component name="XDebuggerManager">
|
318
|
+
<breakpoint-manager />
|
319
|
+
</component>
|
320
|
+
<component name="editorHistoryManager">
|
321
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
322
|
+
<provider selected="true" editor-type-id="text-editor">
|
323
|
+
<state line="34" column="66" selection-start="1005" selection-end="1005" vertical-scroll-proportion="0.0" />
|
324
|
+
</provider>
|
325
|
+
</entry>
|
326
|
+
<entry file="file://$PROJECT_DIR$/README">
|
327
|
+
<provider selected="true" editor-type-id="text-editor">
|
328
|
+
<state line="42" column="31" selection-start="989" selection-end="989" vertical-scroll-proportion="-18.666666" />
|
329
|
+
</provider>
|
330
|
+
</entry>
|
331
|
+
<entry file="file://$PROJECT_DIR$/MIT-LICENSE">
|
332
|
+
<provider selected="true" editor-type-id="text-editor">
|
333
|
+
<state line="0" column="31" selection-start="31" selection-end="31" vertical-scroll-proportion="0.0" />
|
334
|
+
</provider>
|
335
|
+
</entry>
|
336
|
+
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
337
|
+
<provider selected="true" editor-type-id="text-editor">
|
338
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
339
|
+
<folding />
|
340
|
+
</state>
|
341
|
+
</provider>
|
342
|
+
</entry>
|
343
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
344
|
+
<provider selected="true" editor-type-id="text-editor">
|
345
|
+
<state line="1" column="51" selection-start="29" selection-end="29" vertical-scroll-proportion="0.0">
|
346
|
+
<folding />
|
347
|
+
</state>
|
348
|
+
</provider>
|
349
|
+
</entry>
|
350
|
+
<entry file="file://$PROJECT_DIR$/lib/actic.rb">
|
351
|
+
<provider selected="true" editor-type-id="text-editor">
|
352
|
+
<state line="11" column="18" selection-start="376" selection-end="376" vertical-scroll-proportion="0.0">
|
353
|
+
<folding />
|
354
|
+
</state>
|
355
|
+
</provider>
|
356
|
+
</entry>
|
357
|
+
<entry file="file://$PROJECT_DIR$/lib/actic/version.rb">
|
358
|
+
<provider selected="true" editor-type-id="text-editor">
|
359
|
+
<state line="3" column="0" selection-start="37" selection-end="37" vertical-scroll-proportion="0.0">
|
360
|
+
<folding />
|
361
|
+
</state>
|
362
|
+
</provider>
|
363
|
+
</entry>
|
364
|
+
<entry file="file://$PROJECT_DIR$/actic.gemspec">
|
365
|
+
<provider selected="true" editor-type-id="text-editor">
|
366
|
+
<state line="16" column="23" selection-start="575" selection-end="575" vertical-scroll-proportion="0.29493088">
|
367
|
+
<folding />
|
368
|
+
</state>
|
369
|
+
</provider>
|
370
|
+
</entry>
|
371
|
+
</component>
|
372
|
+
</project>
|
373
|
+
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git@github.com:tevio/ri_cal.git
|
3
|
+
revision: 9523264c8c87ad54f557d2e2d93e8d4b69d28983
|
4
|
+
specs:
|
5
|
+
ri_cal (0.8.7)
|
6
|
+
|
7
|
+
PATH
|
8
|
+
remote: .
|
9
|
+
specs:
|
10
|
+
actic (0.0.1)
|
11
|
+
|
12
|
+
GEM
|
13
|
+
remote: http://rubygems.org/
|
14
|
+
specs:
|
15
|
+
|
16
|
+
PLATFORMS
|
17
|
+
ruby
|
18
|
+
|
19
|
+
DEPENDENCIES
|
20
|
+
actic!
|
21
|
+
ri_cal!
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2010 Steve Martin
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
Actic
|
2
|
+
=====
|
3
|
+
Hi,
|
4
|
+
|
5
|
+
This is a very early beta, functionality is currently very limited.
|
6
|
+
|
7
|
+
This gem fuses iCalendar with ORM, can be used to make your data model date and event aware.
|
8
|
+
it can be used to create calendar objects and events at the moment,
|
9
|
+
more subcomponents will be added in time
|
10
|
+
|
11
|
+
Generators
|
12
|
+
=========
|
13
|
+
|
14
|
+
rails g actic_calendar ### will generate a calendar model and migration with the model name Calendar.
|
15
|
+
rails g actic_calendar NuCal owner:references ### you can supply a name and/or additional database fields
|
16
|
+
rails g actic_calendar owner:references ### you can supply additional fields and no name!
|
17
|
+
|
18
|
+
|
19
|
+
API Example
|
20
|
+
==========
|
21
|
+
|
22
|
+
Models implementing this interface will need to offer an 'ical' string field ( t.string :ical ) in the database schema. ( if you use the generators you wont need to worry about this )
|
23
|
+
|
24
|
+
class Event < ActiveRecord::Base
|
25
|
+
include Actic::Event
|
26
|
+
end
|
27
|
+
|
28
|
+
event = Event.new
|
29
|
+
event.start_time = DateTime.now
|
30
|
+
event.end_time = DateTime.now + 3.hours
|
31
|
+
|
32
|
+
event.recurrence = "FREQ=DAILY;COUNT=10"
|
33
|
+
# OR
|
34
|
+
event.recurs :freq => :daily, :count => 10
|
35
|
+
|
36
|
+
event.description = "Bake Cake"
|
37
|
+
event.occurrences(:after => DateTime.now, :before => (DateTime.now + 5.days))
|
38
|
+
|
39
|
+
|
40
|
+
class Calendar < ActiveRecord::Base
|
41
|
+
include Actic::Calendar
|
42
|
+
end
|
43
|
+
|
44
|
+
c = Calendar.new
|
45
|
+
c.add_subcomponent event
|
46
|
+
|
47
|
+
|
48
|
+
Many Thanks to RubyRedrick ( Rick DeNatale ) for the awesome ri_cal library
|
49
|
+
|
50
|
+
Copyright (c) 2010 Steve Martin, released under the MIT license
|
51
|
+
|
52
|
+
|
data/actic.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
|
15
15
|
s.rubyforge_project = "actic"
|
16
16
|
|
17
|
-
|
17
|
+
s.add_dependency('ri_cal', '>= 0.8.7')
|
18
18
|
|
19
19
|
s.files = `git ls-files`.split("\n")
|
20
20
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/lib/actic.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Every active record model that implements the interface must
|
2
2
|
# have a string variable either in the DB or initialized in memory called "ical"
|
3
3
|
|
4
|
-
|
4
|
+
|
5
5
|
require 'active_support/dependencies'
|
6
6
|
require 'set'
|
7
7
|
#require 'actic/models/calendar'
|
@@ -9,7 +9,7 @@ require 'set'
|
|
9
9
|
module Actic
|
10
10
|
require 'actic/railtie' if defined?(Rails)
|
11
11
|
require 'actic/engine' if defined?(Rails)
|
12
|
-
|
12
|
+
require 'ri_cal'
|
13
13
|
def ic_respond
|
14
14
|
true
|
15
15
|
end
|
data/lib/actic/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Steve A Martin
|
@@ -14,10 +14,24 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-10-
|
17
|
+
date: 2010-10-31 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: ri_cal
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
- 8
|
31
|
+
- 7
|
32
|
+
version: 0.8.7
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
21
35
|
description: This gem includes the actic orm wrapperb and a series of generators, it is purely for rails 3
|
22
36
|
email:
|
23
37
|
- steve@shakewell.co.uk
|
@@ -28,7 +42,7 @@ extensions: []
|
|
28
42
|
extra_rdoc_files: []
|
29
43
|
|
30
44
|
files:
|
31
|
-
- .
|
45
|
+
- .DS_Store
|
32
46
|
- .idea/.rakeTasks
|
33
47
|
- .idea/actic.iml
|
34
48
|
- .idea/encodings.xml
|
@@ -37,6 +51,9 @@ files:
|
|
37
51
|
- .idea/vcs.xml
|
38
52
|
- .idea/workspace.xml
|
39
53
|
- Gemfile
|
54
|
+
- Gemfile.lock
|
55
|
+
- MIT-LICENSE
|
56
|
+
- README
|
40
57
|
- Rakefile
|
41
58
|
- actic.gemspec
|
42
59
|
- lib/actic.rb
|
data/.gitignore
DELETED