catarse_credits 0.0.6 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 825c397eaa58a415299781fd83cbbcc78cfcc249
4
+ data.tar.gz: 7586e6e73f774fe10ff420126200a9a95cfd0b11
5
+ SHA512:
6
+ metadata.gz: 5ff71e3fb964b9cb32e323c1844207ca10d319d80f6420b547d88bdce8db6e0a8e8f57326fbbadab5b9062eb5badcacc93b6e47dc93c1527123881b32229bdc7
7
+ data.tar.gz: d8e4c27004f90622fae0db8fc07f114aac5d6ed5923949b25b0899e07488a0b497a1e8a1b3689e4c1d64465f7f93a33dc1d71de5c284f53e55c07201a6234ef7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- catarse_credits (0.0.6)
4
+ catarse_credits (1.0.0)
5
5
  rails (>= 4.0)
6
6
 
7
7
  GEM
@@ -84,12 +84,12 @@ GEM
84
84
  rspec-core (~> 2.14.0)
85
85
  rspec-expectations (~> 2.14.0)
86
86
  rspec-mocks (~> 2.14.0)
87
- sprockets (2.12.1)
87
+ sprockets (2.12.2)
88
88
  hike (~> 1.2)
89
89
  multi_json (~> 1.0)
90
90
  rack (~> 1.0)
91
91
  tilt (~> 1.1, != 1.3.0)
92
- sprockets-rails (2.1.3)
92
+ sprockets-rails (2.1.4)
93
93
  actionpack (>= 3.0)
94
94
  activesupport (>= 3.0)
95
95
  sprockets (~> 2.8)
@@ -1,16 +1,14 @@
1
1
  - if current_user.credits < @contribution.value
2
- #contribute_with_credits
3
- .bootstrap-alert
4
- .alert
5
- #credits_notice= t('projects.contributions.edit.insufficient_credits', credits: number_to_currency((current_user.credits), unit: 'R$', precision: 0, delimiter: '.'))
2
+ .w-row
3
+ #contribute_with_credits.w-col.w-col-12
4
+ .card.card-error.u-radius.fontsize-small.zindex-10.u-marginbottom-30
5
+ #credits_notice = t('projects.contributions.edit.insufficient_credits', credits: number_to_currency((current_user.credits), unit: 'R$', precision: 0, delimiter: '.'))
6
6
  - else
7
- h3= t('projects.contributions.edit.credits_title')
8
- br/
9
- p= t('projects.contributions.edit.credits_notice_html', credits: number_to_currency((current_user.credits - @contribution.value), unit: 'R$', precision: 0, delimiter: '.'))
10
- br/
11
- .clearfix
12
- #catarse_credits_form
13
- = form_tag pay_credit_path(params[:id]) do
14
- .clearfix
15
- .bootstrap-twitter
16
- = submit_tag t('projects.contributions.edit.credits_submit'), :class => 'btn btn'
7
+ .w-row
8
+ .w-col.w-col-12
9
+ .card.card-message.u-radius.fontsize-small.zindex-10.u-marginbottom-30
10
+ = t('projects.contributions.edit.credits_notice_html', credits: number_to_currency((current_user.credits - @contribution.value), unit: 'R$', precision: 0, delimiter: '.'))
11
+ .w-row
12
+ #catarse_credits_form.w-col.w-col-push-3.w-col-6
13
+ = form_tag pay_credit_path(params[:id]) do
14
+ = submit_tag t('projects.contributions.edit.credits_submit'), :class => 'btn btn-large u-marginbottom-20'
@@ -1,3 +1,3 @@
1
1
  module CatarseCredits
2
- VERSION = "0.0.6"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_credits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
5
- prerelease:
4
+ version: 1.0.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Antônio Roberto Silva
@@ -10,70 +9,62 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2014-08-04 00:00:00.000000000 Z
12
+ date: 2014-10-03 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - ">="
21
19
  - !ruby/object:Gem::Version
22
20
  version: '4.0'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - ">="
29
26
  - !ruby/object:Gem::Version
30
27
  version: '4.0'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: rspec-rails
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ~>
32
+ - - "~>"
37
33
  - !ruby/object:Gem::Version
38
34
  version: 2.14.0
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ~>
39
+ - - "~>"
45
40
  - !ruby/object:Gem::Version
46
41
  version: 2.14.0
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: factory_girl_rails
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - ">="
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - ">="
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: pg
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - ">="
69
61
  - !ruby/object:Gem::Version
70
62
  version: '0'
71
63
  type: :development
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - ">="
77
68
  - !ruby/object:Gem::Version
78
69
  version: '0'
79
70
  description: Credits integration for catarse
@@ -84,7 +75,7 @@ executables: []
84
75
  extensions: []
85
76
  extra_rdoc_files: []
86
77
  files:
87
- - .gitignore
78
+ - ".gitignore"
88
79
  - Gemfile
89
80
  - Gemfile.lock
90
81
  - MIT-LICENSE
@@ -171,27 +162,26 @@ files:
171
162
  - spec/support/user_total.rb
172
163
  homepage: http://github.com/catarse/catarse_credits
173
164
  licenses: []
165
+ metadata: {}
174
166
  post_install_message:
175
167
  rdoc_options: []
176
168
  require_paths:
177
169
  - lib
178
170
  required_ruby_version: !ruby/object:Gem::Requirement
179
- none: false
180
171
  requirements:
181
- - - ! '>='
172
+ - - ">="
182
173
  - !ruby/object:Gem::Version
183
174
  version: '0'
184
175
  required_rubygems_version: !ruby/object:Gem::Requirement
185
- none: false
186
176
  requirements:
187
- - - ! '>='
177
+ - - ">="
188
178
  - !ruby/object:Gem::Version
189
179
  version: '0'
190
180
  requirements: []
191
181
  rubyforge_project:
192
- rubygems_version: 1.8.21
182
+ rubygems_version: 2.2.2
193
183
  signing_key:
194
- specification_version: 3
184
+ specification_version: 4
195
185
  summary: Credits System for catarse
196
186
  test_files:
197
187
  - spec/controllers/catarse_credits/credits_controller_spec.rb