soupcms-cli 0.5.2.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/.rspec +2 -0
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +5 -0
  7. data/Gemfile +12 -0
  8. data/Gemfile.lock +43 -0
  9. data/LICENSE.txt +22 -0
  10. data/README.md +11 -0
  11. data/Rakefile +9 -0
  12. data/bin/soupcms +7 -0
  13. data/lib/soupcms/cli/colorize.rb +167 -0
  14. data/lib/soupcms/cli/front_matter_parser.rb +22 -0
  15. data/lib/soupcms/cli/model/base.rb +145 -0
  16. data/lib/soupcms/cli/model/chapter.rb +55 -0
  17. data/lib/soupcms/cli/model/markdown.rb +45 -0
  18. data/lib/soupcms/cli/model/page.rb +70 -0
  19. data/lib/soupcms/cli/model/post.rb +14 -0
  20. data/lib/soupcms/cli/model/yaml.rb +18 -0
  21. data/lib/soupcms/cli/resolve_file_reference.rb +35 -0
  22. data/lib/soupcms/cli/version.rb +5 -0
  23. data/lib/soupcms/cli.rb +14 -0
  24. data/lib/soupcms/soupcms_cli.rb +128 -0
  25. data/lib/templates/Gemfile +18 -0
  26. data/lib/templates/Procfile +1 -0
  27. data/lib/templates/blog/my-first-post.md +23 -0
  28. data/lib/templates/pages/about.md +6 -0
  29. data/lib/templates/pages/blog-post.yml +79 -0
  30. data/lib/templates/pages/default.yml +82 -0
  31. data/lib/templates/pages/home.yml +26 -0
  32. data/lib/templates/pages/posts.yml +23 -0
  33. data/lib/templates/public/blog/posts/images/my-first-post/1-post-image.png +0 -0
  34. data/lib/templates/public/blog/posts/images/my-first-post.png +0 -0
  35. data/lib/templates/public/favicon.png +0 -0
  36. data/lib/templates/schemaless/footer.yml +9 -0
  37. data/lib/templates/schemaless/navigation.yml +25 -0
  38. data/lib/templates/schemaless/social-toolbar.yml +7 -0
  39. data/lib/templates/single-app-config.ru +54 -0
  40. data/soupcms-cli.gemspec +25 -0
  41. data/spec/sopucms-site/dummy_spec.rb +8 -0
  42. data/spec/sopucms-site/rake/front_matter_parser_spec.rb +38 -0
  43. data/spec/spec_helper.rb +17 -0
  44. metadata +133 -0
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: soupcms-cli
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.2.rc1
5
+ platform: ruby
6
+ authors:
7
+ - Sunit Parekh
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-04-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.19'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.19'
27
+ - !ruby/object:Gem::Dependency
28
+ name: mongo
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.10'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bson_ext
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.10'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.10'
55
+ description: soupCMS command line interpreter for generating new application and applying
56
+ updates
57
+ email:
58
+ - parekh.sunit@gmail.com
59
+ executables:
60
+ - soupcms
61
+ extensions: []
62
+ extra_rdoc_files: []
63
+ files:
64
+ - ".gitignore"
65
+ - ".rspec"
66
+ - ".ruby-gemset"
67
+ - ".ruby-version"
68
+ - ".travis.yml"
69
+ - Gemfile
70
+ - Gemfile.lock
71
+ - LICENSE.txt
72
+ - README.md
73
+ - Rakefile
74
+ - bin/soupcms
75
+ - lib/soupcms/cli.rb
76
+ - lib/soupcms/cli/colorize.rb
77
+ - lib/soupcms/cli/front_matter_parser.rb
78
+ - lib/soupcms/cli/model/base.rb
79
+ - lib/soupcms/cli/model/chapter.rb
80
+ - lib/soupcms/cli/model/markdown.rb
81
+ - lib/soupcms/cli/model/page.rb
82
+ - lib/soupcms/cli/model/post.rb
83
+ - lib/soupcms/cli/model/yaml.rb
84
+ - lib/soupcms/cli/resolve_file_reference.rb
85
+ - lib/soupcms/cli/version.rb
86
+ - lib/soupcms/soupcms_cli.rb
87
+ - lib/templates/Gemfile
88
+ - lib/templates/Procfile
89
+ - lib/templates/blog/my-first-post.md
90
+ - lib/templates/pages/about.md
91
+ - lib/templates/pages/blog-post.yml
92
+ - lib/templates/pages/default.yml
93
+ - lib/templates/pages/home.yml
94
+ - lib/templates/pages/posts.yml
95
+ - lib/templates/public/blog/posts/images/my-first-post.png
96
+ - lib/templates/public/blog/posts/images/my-first-post/1-post-image.png
97
+ - lib/templates/public/favicon.png
98
+ - lib/templates/schemaless/footer.yml
99
+ - lib/templates/schemaless/navigation.yml
100
+ - lib/templates/schemaless/social-toolbar.yml
101
+ - lib/templates/single-app-config.ru
102
+ - soupcms-cli.gemspec
103
+ - spec/sopucms-site/dummy_spec.rb
104
+ - spec/sopucms-site/rake/front_matter_parser_spec.rb
105
+ - spec/spec_helper.rb
106
+ homepage: http://blog.soupcms.com/posts/setup-blog-site
107
+ licenses:
108
+ - MIT
109
+ metadata: {}
110
+ post_install_message:
111
+ rdoc_options: []
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">"
122
+ - !ruby/object:Gem::Version
123
+ version: 1.3.1
124
+ requirements: []
125
+ rubyforge_project:
126
+ rubygems_version: 2.2.2
127
+ signing_key:
128
+ specification_version: 4
129
+ summary: soupCMS command line interpreter
130
+ test_files:
131
+ - spec/sopucms-site/dummy_spec.rb
132
+ - spec/sopucms-site/rake/front_matter_parser_spec.rb
133
+ - spec/spec_helper.rb