psquared 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +6 -0
- data/README.rdoc +0 -0
- data/Rakefile +14 -0
- data/lib/psquared.rb +0 -0
- data/lib/rails/generators/psquared/scaffold/scaffold_generator.rb +11 -0
- data/lib/rails/generators/psquared/scaffold/templates/psquared_config.yml +2 -0
- data/psquared.gemspec +29 -0
- metadata +80 -0
data/Manifest
ADDED
data/README.rdoc
ADDED
File without changes
|
data/Rakefile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
require 'echoe'
|
4
|
+
|
5
|
+
Echoe.new('psquared', '0.0.1') do |p|
|
6
|
+
p.description = "Faster and better development"
|
7
|
+
p.url = "http://github.com/dziamber"
|
8
|
+
p.author = "Paweł Dąbrowski"
|
9
|
+
p.email = "dziamber@gmail.com"
|
10
|
+
p.ignore_pattern = ["tmp/*", "script/*"]
|
11
|
+
p.development_dependencies = []
|
12
|
+
end
|
13
|
+
|
14
|
+
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
|
data/lib/psquared.rb
ADDED
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# generator for true scaffold
|
2
|
+
module Psquared
|
3
|
+
module Generators
|
4
|
+
class ScaffoldGenerator < Rails::Generators::Base
|
5
|
+
desc "Generate restful application from given parameters"
|
6
|
+
def create_config_file
|
7
|
+
template 'psquared_config.yml', File.join('config', 'psquared_config.yml')
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
data/psquared.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{psquared}
|
5
|
+
s.version = "0.0.1"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = [%q{Paweł Dąbrowski}]
|
9
|
+
s.date = %q{2011-08-14}
|
10
|
+
s.description = %q{Faster and better development}
|
11
|
+
s.email = %q{dziamber@gmail.com}
|
12
|
+
s.extra_rdoc_files = [%q{README.rdoc}, %q{lib/psquared.rb}, %q{lib/rails/generators/psquared/scaffold/scaffold_generator.rb}, %q{lib/rails/generators/psquared/scaffold/templates/psquared_config.yml}]
|
13
|
+
s.files = [%q{Manifest}, %q{README.rdoc}, %q{Rakefile}, %q{lib/psquared.rb}, %q{lib/rails/generators/psquared/scaffold/scaffold_generator.rb}, %q{lib/rails/generators/psquared/scaffold/templates/psquared_config.yml}, %q{psquared.gemspec}]
|
14
|
+
s.homepage = %q{http://github.com/dziamber}
|
15
|
+
s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Psquared}, %q{--main}, %q{README.rdoc}]
|
16
|
+
s.require_paths = [%q{lib}]
|
17
|
+
s.rubyforge_project = %q{psquared}
|
18
|
+
s.rubygems_version = %q{1.8.8}
|
19
|
+
s.summary = %q{Faster and better development}
|
20
|
+
|
21
|
+
if s.respond_to? :specification_version then
|
22
|
+
s.specification_version = 3
|
23
|
+
|
24
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
25
|
+
else
|
26
|
+
end
|
27
|
+
else
|
28
|
+
end
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: psquared
|
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
|
+
- "Pawe\xC5\x82 D\xC4\x85browski"
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-08-14 00:00:00 Z
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: Faster and better development
|
22
|
+
email: dziamber@gmail.com
|
23
|
+
executables: []
|
24
|
+
|
25
|
+
extensions: []
|
26
|
+
|
27
|
+
extra_rdoc_files:
|
28
|
+
- README.rdoc
|
29
|
+
- lib/psquared.rb
|
30
|
+
- lib/rails/generators/psquared/scaffold/scaffold_generator.rb
|
31
|
+
- lib/rails/generators/psquared/scaffold/templates/psquared_config.yml
|
32
|
+
files:
|
33
|
+
- Manifest
|
34
|
+
- README.rdoc
|
35
|
+
- Rakefile
|
36
|
+
- lib/psquared.rb
|
37
|
+
- lib/rails/generators/psquared/scaffold/scaffold_generator.rb
|
38
|
+
- lib/rails/generators/psquared/scaffold/templates/psquared_config.yml
|
39
|
+
- psquared.gemspec
|
40
|
+
homepage: http://github.com/dziamber
|
41
|
+
licenses: []
|
42
|
+
|
43
|
+
post_install_message:
|
44
|
+
rdoc_options:
|
45
|
+
- --line-numbers
|
46
|
+
- --inline-source
|
47
|
+
- --title
|
48
|
+
- Psquared
|
49
|
+
- --main
|
50
|
+
- README.rdoc
|
51
|
+
require_paths:
|
52
|
+
- lib
|
53
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
hash: 11
|
68
|
+
segments:
|
69
|
+
- 1
|
70
|
+
- 2
|
71
|
+
version: "1.2"
|
72
|
+
requirements: []
|
73
|
+
|
74
|
+
rubyforge_project: psquared
|
75
|
+
rubygems_version: 1.8.8
|
76
|
+
signing_key:
|
77
|
+
specification_version: 3
|
78
|
+
summary: Faster and better development
|
79
|
+
test_files: []
|
80
|
+
|