copy 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/LICENSE +20 -0
- data/README.md +9 -0
- data/Rakefile +10 -0
- data/copy.gemspec +26 -0
- data/lib/copy/admin/copy.css +56 -0
- data/lib/copy/admin/edit.html.erb +12 -0
- data/lib/copy/admin/index.html.erb +44 -0
- data/lib/copy/admin/index.js.erb +53 -0
- data/lib/copy/admin/jquery.js +18 -0
- data/lib/copy/router.rb +62 -0
- data/lib/copy/server.rb +118 -0
- data/lib/copy/storage/mongodb.rb +39 -0
- data/lib/copy/storage/redis.rb +19 -0
- data/lib/copy/storage/relational.rb +37 -0
- data/lib/copy/storage.rb +30 -0
- data/lib/copy/version.rb +3 -0
- data/lib/copy.rb +6 -0
- data/test/router_test.rb +108 -0
- data/test/server_test.rb +167 -0
- data/test/storage_test.rb +50 -0
- data/test/test_app/views/about/index.html.erb +1 -0
- data/test/test_app/views/about/us.html.erb +1 -0
- data/test/test_app/views/data/people.csv.erb +1 -0
- data/test/test_app/views/data/people.xml.erb +1 -0
- data/test/test_app/views/index.html.erb +1 -0
- data/test/test_app/views/layout.html.erb +8 -0
- data/test/test_app/views/with_copy_helper.html.erb +3 -0
- data/test/test_app/views/with_copy_helper_one_line.html.erb +1 -0
- data/test/test_helper.rb +49 -0
- metadata +152 -0
metadata
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: copy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Javan Makhmali
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-05-15 00:00:00 -04:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: sinatra
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 19
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 2
|
33
|
+
- 6
|
34
|
+
version: 1.2.6
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: redcarpet
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
version: "0"
|
49
|
+
type: :runtime
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: mocha
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
version: "0"
|
63
|
+
type: :development
|
64
|
+
version_requirements: *id003
|
65
|
+
description: Serve mostly static pages with blocks of client-editable text.
|
66
|
+
email:
|
67
|
+
- javan@javan.us
|
68
|
+
executables: []
|
69
|
+
|
70
|
+
extensions: []
|
71
|
+
|
72
|
+
extra_rdoc_files: []
|
73
|
+
|
74
|
+
files:
|
75
|
+
- .gitignore
|
76
|
+
- Gemfile
|
77
|
+
- LICENSE
|
78
|
+
- README.md
|
79
|
+
- Rakefile
|
80
|
+
- copy.gemspec
|
81
|
+
- lib/copy.rb
|
82
|
+
- lib/copy/admin/copy.css
|
83
|
+
- lib/copy/admin/edit.html.erb
|
84
|
+
- lib/copy/admin/index.html.erb
|
85
|
+
- lib/copy/admin/index.js.erb
|
86
|
+
- lib/copy/admin/jquery.js
|
87
|
+
- lib/copy/router.rb
|
88
|
+
- lib/copy/server.rb
|
89
|
+
- lib/copy/storage.rb
|
90
|
+
- lib/copy/storage/mongodb.rb
|
91
|
+
- lib/copy/storage/redis.rb
|
92
|
+
- lib/copy/storage/relational.rb
|
93
|
+
- lib/copy/version.rb
|
94
|
+
- test/router_test.rb
|
95
|
+
- test/server_test.rb
|
96
|
+
- test/storage_test.rb
|
97
|
+
- test/test_app/views/about/index.html.erb
|
98
|
+
- test/test_app/views/about/us.html.erb
|
99
|
+
- test/test_app/views/data/people.csv.erb
|
100
|
+
- test/test_app/views/data/people.xml.erb
|
101
|
+
- test/test_app/views/index.html.erb
|
102
|
+
- test/test_app/views/layout.html.erb
|
103
|
+
- test/test_app/views/with_copy_helper.html.erb
|
104
|
+
- test/test_app/views/with_copy_helper_one_line.html.erb
|
105
|
+
- test/test_helper.rb
|
106
|
+
has_rdoc: true
|
107
|
+
homepage: ""
|
108
|
+
licenses: []
|
109
|
+
|
110
|
+
post_install_message:
|
111
|
+
rdoc_options: []
|
112
|
+
|
113
|
+
require_paths:
|
114
|
+
- lib
|
115
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
hash: 3
|
121
|
+
segments:
|
122
|
+
- 0
|
123
|
+
version: "0"
|
124
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
|
+
none: false
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
hash: 3
|
130
|
+
segments:
|
131
|
+
- 0
|
132
|
+
version: "0"
|
133
|
+
requirements: []
|
134
|
+
|
135
|
+
rubyforge_project: copy
|
136
|
+
rubygems_version: 1.4.2
|
137
|
+
signing_key:
|
138
|
+
specification_version: 3
|
139
|
+
summary: Tiny CMS built with Sinatra
|
140
|
+
test_files:
|
141
|
+
- test/router_test.rb
|
142
|
+
- test/server_test.rb
|
143
|
+
- test/storage_test.rb
|
144
|
+
- test/test_app/views/about/index.html.erb
|
145
|
+
- test/test_app/views/about/us.html.erb
|
146
|
+
- test/test_app/views/data/people.csv.erb
|
147
|
+
- test/test_app/views/data/people.xml.erb
|
148
|
+
- test/test_app/views/index.html.erb
|
149
|
+
- test/test_app/views/layout.html.erb
|
150
|
+
- test/test_app/views/with_copy_helper.html.erb
|
151
|
+
- test/test_app/views/with_copy_helper_one_line.html.erb
|
152
|
+
- test/test_helper.rb
|