cmstyle 0.0.15 → 0.0.16
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/lib/cmstyle/railtie.rb +0 -3
- data/lib/cmstyle/version.rb +1 -1
- data/lib/tasks/{setup.rake → install.rake} +5 -2
- metadata +36 -33
data/lib/cmstyle/railtie.rb
CHANGED
data/lib/cmstyle/version.rb
CHANGED
@@ -3,7 +3,9 @@ namespace :cmstyle do
|
|
3
3
|
task :setup do
|
4
4
|
|
5
5
|
puts "Setting up CmStyle for your Project..."
|
6
|
-
|
6
|
+
Rake::Task["cmstyle:run"].invoke
|
7
|
+
end
|
8
|
+
task :run do
|
7
9
|
#source paths
|
8
10
|
source_view_files = Dir.glob(Gem.loaded_specs["cmstyle"].full_gem_path + "/lib/app/views/layouts/*")
|
9
11
|
source_image_files = Dir.glob(Gem.loaded_specs["cmstyle"].full_gem_path + "/lib/app/assets/images/*")
|
@@ -25,8 +27,9 @@ namespace :cmstyle do
|
|
25
27
|
FileUtils.cp_r source_application_css, target_css_path
|
26
28
|
puts "Copying images to app/assets/images"
|
27
29
|
FileUtils.cp_r source_image_files, target_image_path
|
28
|
-
|
30
|
+
|
29
31
|
puts ""
|
30
32
|
puts "NOTE: don't forget to add APPLICATION_MENU, APPLICATION_NAME and APPLICATION_DATABASE to application.rb initializer to get the header and footer working properly."
|
33
|
+
puts "Done."
|
31
34
|
end
|
32
35
|
end
|
metadata
CHANGED
@@ -1,39 +1,38 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmstyle
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.15
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.0.16
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Thomas Steiner
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
|
13
|
+
date: 2012-12-11 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
15
16
|
name: json
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :development
|
23
17
|
prerelease: false
|
24
|
-
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
19
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version:
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
type: :development
|
25
|
+
version_requirements: *id001
|
30
26
|
description: CM specific styles
|
31
|
-
email:
|
27
|
+
email:
|
32
28
|
- thomas.steiner@ikey.ch
|
33
29
|
executables: []
|
30
|
+
|
34
31
|
extensions: []
|
32
|
+
|
35
33
|
extra_rdoc_files: []
|
36
|
-
|
34
|
+
|
35
|
+
files:
|
37
36
|
- lib/app/assets/images/cm_app.ico
|
38
37
|
- lib/app/assets/images/cm_app.png
|
39
38
|
- lib/app/assets/images/cm_app_30x30.png
|
@@ -56,29 +55,33 @@ files:
|
|
56
55
|
- lib/cmstyle/version.rb
|
57
56
|
- lib/cmstyle.rb
|
58
57
|
- lib/tasks/cleanup.rake
|
59
|
-
- lib/tasks/
|
58
|
+
- lib/tasks/install.rake
|
60
59
|
homepage: http://github.com/thomis/cmstyle
|
61
60
|
licenses: []
|
61
|
+
|
62
62
|
post_install_message:
|
63
63
|
rdoc_options: []
|
64
|
-
|
64
|
+
|
65
|
+
require_paths:
|
65
66
|
- lib
|
66
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
67
68
|
none: false
|
68
|
-
requirements:
|
69
|
-
- -
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version:
|
72
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: "0"
|
73
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
74
|
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version:
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: "0"
|
78
79
|
requirements: []
|
80
|
+
|
79
81
|
rubyforge_project:
|
80
82
|
rubygems_version: 1.8.24
|
81
83
|
signing_key:
|
82
84
|
specification_version: 3
|
83
85
|
summary: CM specific styles
|
84
86
|
test_files: []
|
87
|
+
|