susanoo 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbed1d4198f6bf07ec5a3b59ce91631beea51809
4
- data.tar.gz: 282d1cc7ed8d5c4d7c5010faccc4b891eef2dbf3
3
+ metadata.gz: b70dbf48109146268832b75a63b0f5fb69360b26
4
+ data.tar.gz: d39ce476d21f2b284c4b08b7c43027d3f6c648aa
5
5
  SHA512:
6
- metadata.gz: 263ae46b0e449a5c3445ec867b413149a072a61cd2f12a244812fe0a2414bb8906f248fd31f84d65799e4b4d7d4ea993cc3b84729e555bd917d12a39ec960f7e
7
- data.tar.gz: d69bd685e86216e7549758271fc2ebc4e1701553ee8edb1cceb82c332f868a7515af40398081ae523e92e2e865ceb50d2e2314d81ea94aede8fa2f56f4042e1b
6
+ metadata.gz: 4a24b04b291fdd00ebc0359fb82742fa4ec308b702cd5fa63b8dd999915eeaa9e566a91c1e0e2aaa2cdca277404c544a298822fe21ec8518e85370b1bbf73180
7
+ data.tar.gz: 94434fedeab4868194a06b1b8ae9d235409e8c2246f0172e47fa7b701a306f6c373881cd5aea96e1a33700bd3f56e656b7b1926ce23937d57f53e4ba3de795d5
data/.gitignore CHANGED
@@ -16,3 +16,5 @@ test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
18
  /**/.sass*/*
19
+ *~
20
+ docs/ruby/*
@@ -0,0 +1 @@
1
+ --no-private --exclude templates --protected lib/**/*.rb - docs/guide/**/*.md README.md LICENSE --markup-provider=redcarpet --markup=markdown --output-dir docs/ruby --private --protected --main docs/guide/index.md
@@ -0,0 +1,9 @@
1
+ # Susanoo
2
+
3
+ Susanoo is a meta framework on top of **Apache Cordova** and its goals is to provide
4
+ an easier way to develop mobile application.
5
+
6
+
7
+ * [Installation]
8
+ * [Quick Start]
9
+ * [Generators]
@@ -4,7 +4,7 @@ Bundler.require
4
4
 
5
5
  desc "Compile assets into statics folder"
6
6
  task :assets1 do
7
- require "sprockets"
7
+ require 'sprockets'
8
8
  #require "rake/sprocketstask"
9
9
 
10
10
  assets = Sprockets::Environment.new
@@ -13,13 +13,10 @@ task :assets1 do
13
13
 
14
14
  #Susanoo::Assets.path = ""
15
15
  LOOSE_APP_ASSETS = lambda do |path, filename|
16
- puts ">>>>>>>>>>>>>>>>>>>> ", filename, filename !~ %r~assets~ && !%w[.js .css].include?(File.extname(path))
17
16
  filename !~ %r~assets~ && !%w[.js .css].include?(File.extname(path))
18
17
  end
19
- puts ">>>>>"
20
18
  precompile = [LOOSE_APP_ASSETS, /(?:\/|\\|\A)application\.(css|js)$/]
21
19
  assets.each_logical_path(*precompile).each {|path|
22
- puts "<$$$$$$ ", File.extname(path)
23
20
  dir = ''
24
21
  case File.extname(path)
25
22
  when '.js'
@@ -27,7 +24,6 @@ task :assets1 do
27
24
  when '.css'
28
25
  dir = 'stylesheets'
29
26
  end
30
- puts "<<<<<<<<<<<<<<<< ", dir
31
27
  assets[path].write_to "www/assets/#{dir}/#{path}"
32
28
  }
33
29
 
@@ -1,9 +1,9 @@
1
1
  namespace :run do
2
- #require 'susanoo'
3
- [:android, :ios, "amazon-fireos", "ubuntu", "wp7", "wp8", "tizen"].each do |platform|
2
+ [:android, :ios, 'amazon-fireos', 'ubuntu', 'wp7', 'wp8', 'tizen'].each do |platform|
4
3
  desc "run application for #{platform} platform"
5
4
  task platform do
6
- Rake::Task["assets"].invoke
5
+ Rake::Task['assets'].invoke
6
+ Rake::Task['compile'].invoke
7
7
  system "cordova run #{platform}"
8
8
  end
9
9
  end
@@ -5,3 +5,4 @@ gem 'pry'
5
5
  gem 'rerun'
6
6
  gem 'rack'
7
7
  gem 'rake'
8
+ gem 'sprockets', '~>2.11.0'
@@ -1,3 +1,3 @@
1
1
  module Susanoo
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: susanoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sameer Rahmani
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-03 00:00:00.000000000 Z
11
+ date: 2014-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -229,6 +229,7 @@ extensions: []
229
229
  extra_rdoc_files: []
230
230
  files:
231
231
  - ".gitignore"
232
+ - ".yardopts"
232
233
  - Gemfile
233
234
  - LICENSE
234
235
  - README.md
@@ -236,6 +237,7 @@ files:
236
237
  - Susanoo.gemspec
237
238
  - TODO.org
238
239
  - bin/susanoo
240
+ - docs/guide/index.md
239
241
  - lib/susanoo.rb
240
242
  - lib/susanoo/application.rb
241
243
  - lib/susanoo/assets.rb