themeable 1.0.1 → 1.0.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: 3d994ec319535ad6ca31ee8f6d14caf24ac10c5c
4
- data.tar.gz: 578f1155a4328f835f8b007554f5b6a29790be9f
3
+ metadata.gz: fa6d3445f0046219df9a252081e25219a8fcb5c2
4
+ data.tar.gz: 5aaa8a8c34245b06311d348652f258f35e5cac98
5
5
  SHA512:
6
- metadata.gz: 0993b7200f31de50eef9538452549f612658c3a9a11eed8ec8a3d8c34d17fb49bb737415bf46079b45c43be984cc4b4a522d96a4738e14cbb92d78648530318c
7
- data.tar.gz: bd010b629d4aa0d1b1d941dcf92d3303a19e574452c81ebf29dae8019e9046632f3113a65229337778888d173bcad72c06f365b5fa94e39791c50a4d49d73147
6
+ metadata.gz: 0c505f3ca0972da747652603733b79aa74d267d316bbe55370bb0e86266454016b6bf80a5cba0811d6024f3aef1176435505d6eac0c83df8f8b7cb7cae00e9bb
7
+ data.tar.gz: 5f16c93af12deaa041f7fa9e7d537b9cf97903cb0ee5c6d3e0e9520be3fa62b306ee166cb8092b596168c9eec44eef2bf31e8fffcd5dc56ee27f404aac739dd2
@@ -23,6 +23,9 @@ module Themeable
23
23
  @destination_stack[0] = File.expand_path(app_name)
24
24
 
25
25
  gsub_file "#{app_name}.gemspec", /TODO[: ]*/, ''
26
+ gsub_file "#{app_name}.gemspec", %r{^ *s\.files *=.*} do
27
+ ' s.files = Dir["{lib,theme}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]'
28
+ end
26
29
 
27
30
  insert_into_file "#{app_name}.gemspec", after: %r{^ *s\.add_dependency .*} do
28
31
  "\n s.add_dependency 'themeable'"
@@ -1,3 +1,3 @@
1
1
  module Themeable
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: themeable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - xiaohui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-05 00:00:00.000000000 Z
11
+ date: 2016-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails