cybele 1.2.0 → 1.3.0

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: 5ce419226c7397827b7ed7d95e0468c926a77e45
4
- data.tar.gz: cb9c10158769ce8b60af2c268e6102fd1009eb84
3
+ metadata.gz: 36dfd41c993b499501b3576b90b3173c3a5c2d91
4
+ data.tar.gz: 2cd51f38730ab49cd85638d753a933b0ffbcf983
5
5
  SHA512:
6
- metadata.gz: d23b3c69280551d61d7580bdb58aee35a90410770b2217bfc59e6a5afba47234f38cc09871444f5f5ec3745b451580dffdd34e5da5b98774bf967fe5d0ea003b
7
- data.tar.gz: 3aa137a079684ff7a368bb646dad16776bda0bb20f611efcb5989bb6f380b07258a29ff3ef448496b2f5ff66924b1ed13ef7a1a2f064da93717cff55fdd20fd7
6
+ metadata.gz: 4f26336f38098060f1f3ca26bbf2f9a15aa7dc07b9deda72de01977fb7ccd45558bb3e3b3359465f883e67f0c7481570df28544605b26710cb40b078acd9e4b8
7
+ data.tar.gz: 987cc3cab4afee325b9961768ef6da6a135ad9efdddeef780ca8e2a05598b60bc86f3a1a321c7eb5b98d566e5e702efb734859ee8cc2eaa3ebf0b97ba7062bbc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
 
2
2
  #### [Current]
3
+ * [d482e6b](../../commit/d482e6b) - __(Muhammet DİLEK)__ Merge pull request [#112](../../issues/112) from sbagdat/patch-1
4
+
5
+ Update cybele_gitignore
6
+ * [1cc0c24](../../commit/1cc0c24) - __(Sıtkı Bağdat)__ Update cybele_gitignore
7
+ * [a3e1185](../../commit/a3e1185) - __(Onur Özgür ÖZKAN)__ [#111](../../issues/111) Configure number currency for ₺ unit
8
+ * [8b13d54](../../commit/8b13d54) - __(hamitturkukaya)__ [#110](../../issues/110) paperclip amazon s3 settings added to initializers
9
+ * [05948c9](../../commit/05948c9) - __(hamitturkukaya)__ [#110](../../issues/110) paperclip amazon s3 settings added to initializers
10
+ * [8d41713](../../commit/8d41713) - __(Muhammet DİLEK)__ # 109 bootstrap-sass and compass-rails updated
11
+
12
+ #### 1.2.0
13
+ * [00e244b](../../commit/00e244b) - __(Muhammet DİLEK)__ bump version 1.2.0
3
14
  * [499e2f7](../../commit/499e2f7) - __(Onur Ozgur OZKAN)__ update kangal version 1.1.0
4
15
  * [e220eb5](../../commit/e220eb5) - __(Onur Ozgur OZKAN)__ [#106](../../issues/106) Don't copy application.rb from template
5
16
  * [5affe99](../../commit/5affe99) - __(Onur Ozgur OZKAN)__ Typo fixed. Add a new line.
data/Gemfile.lock CHANGED
@@ -1,73 +1,73 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cybele (1.0.0)
5
- bundler (~> 1.3)
6
- rails (~> 4.0.0)
4
+ cybele (1.3.0)
5
+ bundler (~> 1.5)
6
+ rails (~> 4.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionmailer (4.0.0)
12
- actionpack (= 4.0.0)
13
- mail (~> 2.5.3)
14
- actionpack (4.0.0)
15
- activesupport (= 4.0.0)
11
+ actionmailer (4.0.2)
12
+ actionpack (= 4.0.2)
13
+ mail (~> 2.5.4)
14
+ actionpack (4.0.2)
15
+ activesupport (= 4.0.2)
16
16
  builder (~> 3.1.0)
17
17
  erubis (~> 2.7.0)
18
18
  rack (~> 1.5.2)
19
19
  rack-test (~> 0.6.2)
20
- activemodel (4.0.0)
21
- activesupport (= 4.0.0)
20
+ activemodel (4.0.2)
21
+ activesupport (= 4.0.2)
22
22
  builder (~> 3.1.0)
23
- activerecord (4.0.0)
24
- activemodel (= 4.0.0)
23
+ activerecord (4.0.2)
24
+ activemodel (= 4.0.2)
25
25
  activerecord-deprecated_finders (~> 1.0.2)
26
- activesupport (= 4.0.0)
26
+ activesupport (= 4.0.2)
27
27
  arel (~> 4.0.0)
28
28
  activerecord-deprecated_finders (1.0.3)
29
- activesupport (4.0.0)
29
+ activesupport (4.0.2)
30
30
  i18n (~> 0.6, >= 0.6.4)
31
31
  minitest (~> 4.2)
32
32
  multi_json (~> 1.3)
33
33
  thread_safe (~> 0.1)
34
34
  tzinfo (~> 0.3.37)
35
- arel (4.0.0)
35
+ arel (4.0.1)
36
36
  atomic (1.1.14)
37
37
  builder (3.1.4)
38
38
  erubis (2.7.0)
39
39
  hike (1.2.3)
40
- i18n (0.6.5)
40
+ i18n (0.6.9)
41
41
  mail (2.5.4)
42
42
  mime-types (~> 1.16)
43
43
  treetop (~> 1.4.8)
44
- mime-types (1.25)
44
+ mime-types (1.25.1)
45
45
  minitest (4.7.5)
46
- multi_json (1.8.0)
46
+ multi_json (1.8.2)
47
47
  polyglot (0.3.3)
48
48
  rack (1.5.2)
49
49
  rack-test (0.6.2)
50
50
  rack (>= 1.0)
51
- rails (4.0.0)
52
- actionmailer (= 4.0.0)
53
- actionpack (= 4.0.0)
54
- activerecord (= 4.0.0)
55
- activesupport (= 4.0.0)
51
+ rails (4.0.2)
52
+ actionmailer (= 4.0.2)
53
+ actionpack (= 4.0.2)
54
+ activerecord (= 4.0.2)
55
+ activesupport (= 4.0.2)
56
56
  bundler (>= 1.3.0, < 2.0)
57
- railties (= 4.0.0)
57
+ railties (= 4.0.2)
58
58
  sprockets-rails (~> 2.0.0)
59
- railties (4.0.0)
60
- actionpack (= 4.0.0)
61
- activesupport (= 4.0.0)
59
+ railties (4.0.2)
60
+ actionpack (= 4.0.2)
61
+ activesupport (= 4.0.2)
62
62
  rake (>= 0.8.7)
63
63
  thor (>= 0.18.1, < 2.0)
64
64
  rake (10.0.4)
65
- sprockets (2.10.0)
65
+ sprockets (2.10.1)
66
66
  hike (~> 1.2)
67
67
  multi_json (~> 1.0)
68
68
  rack (~> 1.0)
69
69
  tilt (~> 1.1, != 1.3.0)
70
- sprockets-rails (2.0.0)
70
+ sprockets-rails (2.0.1)
71
71
  actionpack (>= 3.0)
72
72
  activesupport (>= 3.0)
73
73
  sprockets (~> 2.8)
@@ -78,12 +78,11 @@ GEM
78
78
  treetop (1.4.15)
79
79
  polyglot
80
80
  polyglot (>= 0.3.1)
81
- tzinfo (0.3.37)
81
+ tzinfo (0.3.38)
82
82
 
83
83
  PLATFORMS
84
84
  ruby
85
85
 
86
86
  DEPENDENCIES
87
- bundler (~> 1.3)
88
87
  cybele!
89
88
  rake
data/cybele.gemspec CHANGED
@@ -14,15 +14,14 @@ Gem::Specification.new do |spec|
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.required_ruby_version = '>= 2.0.0'
17
- spec.add_dependency 'bundler', '~> 1.3'
18
- spec.add_dependency 'rails', '~> 4.0.0'
17
+ spec.add_dependency 'bundler', '~> 1.5'
18
+ spec.add_dependency 'rails', '~> 4.0'
19
19
 
20
20
  spec.files = `git ls-files`.split($/)
21
21
  spec.executables = %w[cybele]
22
22
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
23
23
  spec.require_paths = %w[lib]
24
24
 
25
- spec.add_development_dependency 'bundler', '~> 1.3'
26
25
  spec.add_development_dependency 'rake'
27
26
 
28
27
  spec.extra_rdoc_files = %w[README.md MIT-LICENSE]
@@ -27,6 +27,10 @@ module Cybele
27
27
  copy_file 'config/initializers/disable_xml_params.rb', 'config/initializers/disable_xml_params.rb'
28
28
  end
29
29
 
30
+ def add_paperclip_aws
31
+ copy_file 'config/initializers/paperclip.rb', 'config/initializers/paperclip.rb'
32
+ end
33
+
30
34
  def replace_erb_with_haml
31
35
  remove_file 'app/views/layouts/application.html.erb'
32
36
  template 'app/views/layouts/application.html.haml.erb', 'app/views/layouts/application.html.haml', force: true
@@ -21,6 +21,7 @@ module Cybele
21
21
  invoke :setup_editorconfig
22
22
  invoke :setup_ruby_version
23
23
  invoke :setup_add_disable_xml_params
24
+ invoke :setup_add_paperclip_aws
24
25
  invoke :setup_database
25
26
  invoke :remove_files_we_dont_need
26
27
  invoke :replace_files
@@ -62,6 +63,11 @@ module Cybele
62
63
  build :add_disable_xml_params
63
64
  end
64
65
 
66
+ def setup_add_paperclip_aws
67
+ say 'Add paperclip.rb file to initilizers'
68
+ build :add_paperclip_aws
69
+ end
70
+
65
71
  def remove_files_we_dont_need
66
72
  say 'Remove files we don\'t need'
67
73
  build :remove_readme_rdoc
@@ -1,4 +1,4 @@
1
1
  module Cybele
2
- VERSION = '1.2.0'
2
+ VERSION = '1.3.0'
3
3
  end
4
4
 
@@ -0,0 +1,10 @@
1
+ #Remove command lines
2
+
3
+ #Paperclip::Attachment.default_options[:storage] = :s3
4
+ #Paperclip::Attachment.default_options[:s3_host_name] = Settings.AWS.S3.end_point
5
+ #Paperclip::Attachment.default_options[:s3_host_alias] = Settings.AWS.S3.aws_raw_url
6
+ #Paperclip::Attachment.default_options[:bucket] = Settings.AWS.S3.bucket
7
+ #Paperclip::Attachment.default_options[:s3_credentials] = {
8
+ # access_key_id: Settings.AWS.S3.access_key_id,
9
+ # secret_access_key: Settings.AWS.S3.secret_access_key
10
+ #}
@@ -22,4 +22,9 @@
22
22
  # available at http://guides.rubyonrails.org/i18n.html.
23
23
 
24
24
  tr:
25
- hello: "Merhaba Dünya"
25
+ hello: "Merhaba Dünya"
26
+ number:
27
+ currency:
28
+ format:
29
+ format: "%u %n"
30
+ unit: "₺"
@@ -7,10 +7,11 @@ smtp:
7
7
  password: 'password'
8
8
  authentication: 'plain'
9
9
 
10
- Aws:
10
+ AWS:
11
11
  S3:
12
12
  bucket: projectname-production
13
13
  access_key_id: XXXXXXXXXXXXXXXX
14
14
  secret_access_key: YYYYYYYYYYYYYYYYYY
15
15
  aws_url: http://projectname-production.s3.amazonaws.com/
16
- aws_raw_url: projectname-production.s3.amazonaws.com
16
+ aws_raw_url: projectname-production.s3.amazonaws.com
17
+ end_point: s3-eu-west-1.amazonaws.com
@@ -7,10 +7,11 @@ smtp:
7
7
  password: 'password'
8
8
  authentication: 'plain'
9
9
 
10
- Aws:
10
+ AWS:
11
11
  S3:
12
12
  bucket: projectname-production
13
13
  access_key_id: XXXXXXXXXXXXXXXX
14
14
  secret_access_key: YYYYYYYYYYYYYYYYYY
15
15
  aws_url: http://projectname-production.s3.amazonaws.com/
16
- aws_raw_url: projectname-production.s3.amazonaws.com
16
+ aws_raw_url: projectname-production.s3.amazonaws.com
17
+ end_point: s3-eu-west-1.amazonaws.com
@@ -9,13 +9,13 @@ gem 'jquery-rails', '~> 3.0.4'
9
9
  gem 'turbolinks', '~> 1.3.0'
10
10
  gem 'haml', '~> 4.0.2'
11
11
  gem 'haml-rails'
12
- gem 'bootstrap-sass', :git => 'git://github.com/thomas-mcdonald/bootstrap-sass.git', :branch => '3'
12
+ gem 'bootstrap-sass', '~> 3.0.3.0'
13
13
  gem 'responders', '~> 1.0.0.rc'
14
14
  gem 'exception_notification', '~> 4.0.1'
15
15
  gem 'simple_form', '~> 3.0.0.rc'
16
16
  gem 'show_for', '~> 0.3.0.rc'
17
17
  gem 'rails_config', '~> 0.3.3'
18
- gem 'compass-rails', github: 'Compass/compass-rails', branch: 'rails4-hack'
18
+ gem 'compass-rails', '~> 1.1.2'
19
19
  gem 'devise', '~> 3.0.0'
20
20
  gem 'devise-i18n', '~> 0.9.0'
21
21
  gem 'will_paginate', '~> 3.0.4'
@@ -35,7 +35,8 @@ vendor/bundler_gems
35
35
  .DS_Store
36
36
 
37
37
  # Ignore config files
38
+ config/initializers/secret_token.rb
38
39
  config/settings.local.yml
39
40
  config/settings/*.local.yml
40
41
  config/environments/*.local.yml
41
- .secret
42
+ .secret
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybele
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lab2023
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-13 00:00:00.000000000 Z
11
+ date: 2014-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,42 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '1.5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
26
+ version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 4.0.0
33
+ version: '4.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 4.0.0
41
- - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ~>
46
- - !ruby/object:Gem::Version
47
- version: '1.3'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- version: '1.3'
40
+ version: '4.0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -116,6 +102,7 @@ files:
116
102
  - templates/config/database.yml.erb
117
103
  - templates/config/initializers/disable_xml_params.rb
118
104
  - templates/config/initializers/mail.rb
105
+ - templates/config/initializers/paperclip.rb
119
106
  - templates/config/initializers/secret_token.erb
120
107
  - templates/config/initializers/simple_form.rb
121
108
  - templates/config/initializers/simple_form_bootstrap.rb
@@ -152,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
139
  version: '0'
153
140
  requirements: []
154
141
  rubyforge_project:
155
- rubygems_version: 2.0.6
142
+ rubygems_version: 2.2.0
156
143
  signing_key:
157
144
  specification_version: 4
158
145
  summary: Rails 4.x template with responder, simple form, haml, exception notification,