borda 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.borda.gemspec.swp +0 -0
- data/app/models/.manda.rb.swp +0 -0
- data/app/models/manda.rb +2 -0
- data/borda.gemspec +21 -0
- data/borda.gemspec~ +21 -0
- data/config/.database.yml.swp +0 -0
- data/config/.environment.rb.swp +0 -0
- data/db/migrate/.20110828110813_create_mandas.rb.swp +0 -0
- data/db/migrate/20110828110813_create_mandas.rb +13 -0
- data/lib/tasks/.my.rake.swp +0 -0
- data/lib/tasks/my.rake +7 -0
- data/test/fixtures/mandas.yml +11 -0
- data/test/unit/manda_test.rb +8 -0
- metadata +19 -4
data/.borda.gemspec.swp
ADDED
Binary file
|
Binary file
|
data/app/models/manda.rb
ADDED
data/borda.gemspec
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
#require "forum/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "borda"
|
7
|
+
s.version = "0.0.5"
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["koleso"]
|
10
|
+
s.email = ["koleso@bk.ru"]
|
11
|
+
s.homepage = ""
|
12
|
+
s.summary = %q{Simple forum}
|
13
|
+
s.description = %q{Simple forum for a testing purpose}
|
14
|
+
|
15
|
+
s.rubyforge_project = "borda"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib", "lib/tasks"]
|
21
|
+
end
|
data/borda.gemspec~
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
#require "forum/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "borda"
|
7
|
+
s.version = 0.0.1
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["koleso"]
|
10
|
+
s.email = ["koleso@bk.ru"]
|
11
|
+
s.homepage = ""
|
12
|
+
s.summary = %q{Simple forum}
|
13
|
+
s.description = %q{Simple forum for a testing purpose}
|
14
|
+
|
15
|
+
s.rubyforge_project = "borda"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class CreateMandas < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :mandas do |t|
|
4
|
+
t.string :manda_name, :limit => 50, :null => false
|
5
|
+
t.integer :manda_width, :null => false
|
6
|
+
t.timestamps
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.down
|
11
|
+
drop_table :mandas
|
12
|
+
end
|
13
|
+
end
|
Binary file
|
data/lib/tasks/my.rake
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: borda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- koleso
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-29 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -29,6 +29,7 @@ extensions: []
|
|
29
29
|
extra_rdoc_files: []
|
30
30
|
|
31
31
|
files:
|
32
|
+
- .borda.gemspec.swp
|
32
33
|
- README
|
33
34
|
- Rakefile
|
34
35
|
- app/controllers/.forum_controller.rb.swp
|
@@ -36,8 +37,14 @@ files:
|
|
36
37
|
- app/controllers/forum_controller.rb
|
37
38
|
- app/helpers/application_helper.rb
|
38
39
|
- app/helpers/forum_helper.rb
|
40
|
+
- app/models/.manda.rb.swp
|
41
|
+
- app/models/manda.rb
|
39
42
|
- app/views/forum/.index.html.erb.swp
|
40
43
|
- app/views/forum/index.html.erb
|
44
|
+
- borda.gemspec
|
45
|
+
- borda.gemspec~
|
46
|
+
- config/.database.yml.swp
|
47
|
+
- config/.environment.rb.swp
|
41
48
|
- config/boot.rb
|
42
49
|
- config/database.yml
|
43
50
|
- config/environment.rb
|
@@ -52,8 +59,12 @@ files:
|
|
52
59
|
- config/initializers/session_store.rb
|
53
60
|
- config/locales/en.yml
|
54
61
|
- config/routes.rb
|
62
|
+
- db/migrate/.20110828110813_create_mandas.rb.swp
|
63
|
+
- db/migrate/20110828110813_create_mandas.rb
|
55
64
|
- db/seeds.rb
|
56
65
|
- doc/README_FOR_APP
|
66
|
+
- lib/tasks/.my.rake.swp
|
67
|
+
- lib/tasks/my.rake
|
57
68
|
- log/development.log
|
58
69
|
- log/production.log
|
59
70
|
- log/server.log
|
@@ -80,10 +91,12 @@ files:
|
|
80
91
|
- script/plugin
|
81
92
|
- script/runner
|
82
93
|
- script/server
|
94
|
+
- test/fixtures/mandas.yml
|
83
95
|
- test/functional/forum_controller_test.rb
|
84
96
|
- test/performance/browsing_test.rb
|
85
97
|
- test/test_helper.rb
|
86
98
|
- test/unit/helpers/forum_helper_test.rb
|
99
|
+
- test/unit/manda_test.rb
|
87
100
|
has_rdoc: true
|
88
101
|
homepage: ""
|
89
102
|
licenses: []
|
@@ -120,7 +133,9 @@ signing_key:
|
|
120
133
|
specification_version: 3
|
121
134
|
summary: Simple forum
|
122
135
|
test_files:
|
136
|
+
- test/fixtures/mandas.yml
|
123
137
|
- test/functional/forum_controller_test.rb
|
124
138
|
- test/performance/browsing_test.rb
|
125
139
|
- test/test_helper.rb
|
126
140
|
- test/unit/helpers/forum_helper_test.rb
|
141
|
+
- test/unit/manda_test.rb
|