rails_growth 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +32 -0
  5. data/app/controllers/growth/admin/aim_entities_controller.rb +30 -0
  6. data/app/controllers/growth/admin/aim_logs_controller.rb +21 -0
  7. data/app/controllers/growth/admin/aim_users_controller.rb +30 -0
  8. data/app/controllers/growth/admin/aims_controller.rb +73 -0
  9. data/app/controllers/growth/admin/base_controller.rb +4 -0
  10. data/app/controllers/growth/admin/praise_incomes_controller.rb +61 -0
  11. data/app/controllers/growth/admin/reward_expenses_controller.rb +63 -0
  12. data/app/controllers/growth/admin/reward_incomes_controller.rb +59 -0
  13. data/app/controllers/growth/admin/rewards_controller.rb +65 -0
  14. data/app/controllers/growth/controller/application.rb +77 -0
  15. data/app/controllers/growth/my/aim_logs_controller.rb +45 -0
  16. data/app/controllers/growth/my/aim_users_controller.rb +25 -0
  17. data/app/controllers/growth/my/aims_controller.rb +44 -0
  18. data/app/controllers/growth/my/base_controller.rb +4 -0
  19. data/app/controllers/growth/my/gifts_controller.rb +27 -0
  20. data/app/controllers/growth/my/rewards_controller.rb +28 -0
  21. data/app/models/growth/aim.rb +5 -0
  22. data/app/models/growth/aim_code.rb +5 -0
  23. data/app/models/growth/aim_entity.rb +5 -0
  24. data/app/models/growth/aim_log.rb +5 -0
  25. data/app/models/growth/aim_user.rb +5 -0
  26. data/app/models/growth/model/aim.rb +52 -0
  27. data/app/models/growth/model/aim_code.rb +40 -0
  28. data/app/models/growth/model/aim_entity.rb +74 -0
  29. data/app/models/growth/model/aim_log.rb +79 -0
  30. data/app/models/growth/model/aim_user.rb +60 -0
  31. data/app/models/growth/model/card.rb +25 -0
  32. data/app/models/growth/model/cash.rb +17 -0
  33. data/app/models/growth/model/entity.rb +74 -0
  34. data/app/models/growth/model/praise_compute.rb +70 -0
  35. data/app/models/growth/model/praise_income.rb +82 -0
  36. data/app/models/growth/model/praise_user.rb +47 -0
  37. data/app/models/growth/model/promote.rb +30 -0
  38. data/app/models/growth/model/reward.rb +67 -0
  39. data/app/models/growth/model/reward_expense.rb +98 -0
  40. data/app/models/growth/model/reward_income.rb +35 -0
  41. data/app/models/growth/model/royalty_compute.rb +72 -0
  42. data/app/models/growth/model/user.rb +21 -0
  43. data/app/models/growth/praise_income.rb +7 -0
  44. data/app/models/growth/praise_user.rb +5 -0
  45. data/app/models/growth/reward.rb +5 -0
  46. data/app/models/growth/reward_expense.rb +5 -0
  47. data/app/models/growth/reward_income.rb +5 -0
  48. data/app/models/growth.rb +11 -0
  49. data/app/views/application/_growth_nav.html.erb +12 -0
  50. data/app/views/growth/admin/aim_entities/_filter.html.erb +10 -0
  51. data/app/views/growth/admin/aim_entities/index.html.erb +68 -0
  52. data/app/views/growth/admin/aim_entities/show.html.erb +22 -0
  53. data/app/views/growth/admin/aim_logs/_filter.html.erb +9 -0
  54. data/app/views/growth/admin/aim_logs/index.html.erb +62 -0
  55. data/app/views/growth/admin/aim_logs/show.html.erb +14 -0
  56. data/app/views/growth/admin/aim_users/_filter.html.erb +7 -0
  57. data/app/views/growth/admin/aim_users/index.html.erb +63 -0
  58. data/app/views/growth/admin/aim_users/show.html.erb +30 -0
  59. data/app/views/growth/admin/aims/_filter.html.erb +8 -0
  60. data/app/views/growth/admin/aims/_form.html.erb +14 -0
  61. data/app/views/growth/admin/aims/_item_field.html.erb +3 -0
  62. data/app/views/growth/admin/aims/_item_form.html.erb +24 -0
  63. data/app/views/growth/admin/aims/add_item.js.erb +9 -0
  64. data/app/views/growth/admin/aims/index.html.erb +54 -0
  65. data/app/views/growth/admin/aims/remove_item.js.erb +1 -0
  66. data/app/views/growth/admin/aims/show.html.erb +38 -0
  67. data/app/views/growth/admin/managers/_edit.html.erb +13 -0
  68. data/app/views/growth/admin/managers/_form.html.erb +34 -0
  69. data/app/views/growth/admin/managers/_new.html.erb +13 -0
  70. data/app/views/growth/admin/managers/_search_form.html.erb +8 -0
  71. data/app/views/growth/admin/managers/edit.js.erb +8 -0
  72. data/app/views/growth/admin/managers/index.html.erb +68 -0
  73. data/app/views/growth/admin/managers/new.js.erb +8 -0
  74. data/app/views/growth/admin/managers/show.html.erb +0 -0
  75. data/app/views/growth/admin/managers/update.js.erb +1 -0
  76. data/app/views/growth/admin/praise_incomes/_filter.html.erb +5 -0
  77. data/app/views/growth/admin/praise_incomes/_form.html.erb +3 -0
  78. data/app/views/growth/admin/praise_incomes/edit.html.erb +11 -0
  79. data/app/views/growth/admin/praise_incomes/index.html.erb +59 -0
  80. data/app/views/growth/admin/praise_incomes/new.html.erb +11 -0
  81. data/app/views/growth/admin/praise_incomes/show.html.erb +18 -0
  82. data/app/views/growth/admin/reward_expenses/_filter.html.erb +5 -0
  83. data/app/views/growth/admin/reward_expenses/_form.html.erb +7 -0
  84. data/app/views/growth/admin/reward_expenses/index.html.erb +49 -0
  85. data/app/views/growth/admin/reward_expenses/show.html.erb +26 -0
  86. data/app/views/growth/admin/reward_incomes/_filter.html.erb +10 -0
  87. data/app/views/growth/admin/reward_incomes/_form.html.erb +3 -0
  88. data/app/views/growth/admin/reward_incomes/edit.html.erb +11 -0
  89. data/app/views/growth/admin/reward_incomes/index.html.erb +49 -0
  90. data/app/views/growth/admin/reward_incomes/new.html.erb +11 -0
  91. data/app/views/growth/admin/reward_incomes/show.html.erb +18 -0
  92. data/app/views/growth/admin/rewards/_filter.html.erb +14 -0
  93. data/app/views/growth/admin/rewards/_form.html.erb +27 -0
  94. data/app/views/growth/admin/rewards/index.html.erb +84 -0
  95. data/app/views/growth/admin/rewards/show.html.erb +26 -0
  96. data/app/views/growth/my/aims/_aim.json.jbuilder +6 -0
  97. data/app/views/growth/my/aims/index.json.jbuilder +3 -0
  98. data/app/views/growth/my/aims/show.json.jbuilder +1 -0
  99. data/app/views/growth/my/gifts/_gift.json.jbuilder +1 -0
  100. data/app/views/growth/my/gifts/_praise_income.json.jbuilder +8 -0
  101. data/app/views/growth/my/gifts/give.json.jbuilder +8 -0
  102. data/app/views/growth/my/gifts/index.json.jbuilder +9 -0
  103. data/app/views/growth/my/rewards/_praise_user.json.jbuilder +2 -0
  104. data/app/views/growth/my/rewards/top.json.jbuilder +6 -0
  105. data/config/locales/en.notify.yml +7 -0
  106. data/config/locales/en.yml +29 -0
  107. data/config/locales/zh.controller.yml +24 -0
  108. data/config/locales/zh.notify.yml +7 -0
  109. data/config/locales/zh.yml +11 -0
  110. data/config/routes.rb +57 -0
  111. data/lib/rails_growth/config.rb +13 -0
  112. data/lib/rails_growth/engine.rb +19 -0
  113. data/lib/rails_growth/serial_number_helper.rb +28 -0
  114. data/lib/rails_growth.rb +4 -0
  115. metadata +170 -0
@@ -0,0 +1,4 @@
1
+ require 'rails_growth/engine'
2
+ require 'rails_growth/config'
3
+
4
+ require 'rails_growth/serial_number_helper'
metadata ADDED
@@ -0,0 +1,170 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_growth
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - qinmingyuan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-09-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails_com
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.2'
27
+ description: Description of RailsGrowth.
28
+ email:
29
+ - mingyuan0715@foxmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE
35
+ - README.md
36
+ - Rakefile
37
+ - app/controllers/growth/admin/aim_entities_controller.rb
38
+ - app/controllers/growth/admin/aim_logs_controller.rb
39
+ - app/controllers/growth/admin/aim_users_controller.rb
40
+ - app/controllers/growth/admin/aims_controller.rb
41
+ - app/controllers/growth/admin/base_controller.rb
42
+ - app/controllers/growth/admin/praise_incomes_controller.rb
43
+ - app/controllers/growth/admin/reward_expenses_controller.rb
44
+ - app/controllers/growth/admin/reward_incomes_controller.rb
45
+ - app/controllers/growth/admin/rewards_controller.rb
46
+ - app/controllers/growth/controller/application.rb
47
+ - app/controllers/growth/my/aim_logs_controller.rb
48
+ - app/controllers/growth/my/aim_users_controller.rb
49
+ - app/controllers/growth/my/aims_controller.rb
50
+ - app/controllers/growth/my/base_controller.rb
51
+ - app/controllers/growth/my/gifts_controller.rb
52
+ - app/controllers/growth/my/rewards_controller.rb
53
+ - app/models/growth.rb
54
+ - app/models/growth/aim.rb
55
+ - app/models/growth/aim_code.rb
56
+ - app/models/growth/aim_entity.rb
57
+ - app/models/growth/aim_log.rb
58
+ - app/models/growth/aim_user.rb
59
+ - app/models/growth/model/aim.rb
60
+ - app/models/growth/model/aim_code.rb
61
+ - app/models/growth/model/aim_entity.rb
62
+ - app/models/growth/model/aim_log.rb
63
+ - app/models/growth/model/aim_user.rb
64
+ - app/models/growth/model/card.rb
65
+ - app/models/growth/model/cash.rb
66
+ - app/models/growth/model/entity.rb
67
+ - app/models/growth/model/praise_compute.rb
68
+ - app/models/growth/model/praise_income.rb
69
+ - app/models/growth/model/praise_user.rb
70
+ - app/models/growth/model/promote.rb
71
+ - app/models/growth/model/reward.rb
72
+ - app/models/growth/model/reward_expense.rb
73
+ - app/models/growth/model/reward_income.rb
74
+ - app/models/growth/model/royalty_compute.rb
75
+ - app/models/growth/model/user.rb
76
+ - app/models/growth/praise_income.rb
77
+ - app/models/growth/praise_user.rb
78
+ - app/models/growth/reward.rb
79
+ - app/models/growth/reward_expense.rb
80
+ - app/models/growth/reward_income.rb
81
+ - app/views/application/_growth_nav.html.erb
82
+ - app/views/growth/admin/aim_entities/_filter.html.erb
83
+ - app/views/growth/admin/aim_entities/index.html.erb
84
+ - app/views/growth/admin/aim_entities/show.html.erb
85
+ - app/views/growth/admin/aim_logs/_filter.html.erb
86
+ - app/views/growth/admin/aim_logs/index.html.erb
87
+ - app/views/growth/admin/aim_logs/show.html.erb
88
+ - app/views/growth/admin/aim_users/_filter.html.erb
89
+ - app/views/growth/admin/aim_users/index.html.erb
90
+ - app/views/growth/admin/aim_users/show.html.erb
91
+ - app/views/growth/admin/aims/_filter.html.erb
92
+ - app/views/growth/admin/aims/_form.html.erb
93
+ - app/views/growth/admin/aims/_item_field.html.erb
94
+ - app/views/growth/admin/aims/_item_form.html.erb
95
+ - app/views/growth/admin/aims/add_item.js.erb
96
+ - app/views/growth/admin/aims/index.html.erb
97
+ - app/views/growth/admin/aims/remove_item.js.erb
98
+ - app/views/growth/admin/aims/show.html.erb
99
+ - app/views/growth/admin/managers/_edit.html.erb
100
+ - app/views/growth/admin/managers/_form.html.erb
101
+ - app/views/growth/admin/managers/_new.html.erb
102
+ - app/views/growth/admin/managers/_search_form.html.erb
103
+ - app/views/growth/admin/managers/edit.js.erb
104
+ - app/views/growth/admin/managers/index.html.erb
105
+ - app/views/growth/admin/managers/new.js.erb
106
+ - app/views/growth/admin/managers/show.html.erb
107
+ - app/views/growth/admin/managers/update.js.erb
108
+ - app/views/growth/admin/praise_incomes/_filter.html.erb
109
+ - app/views/growth/admin/praise_incomes/_form.html.erb
110
+ - app/views/growth/admin/praise_incomes/edit.html.erb
111
+ - app/views/growth/admin/praise_incomes/index.html.erb
112
+ - app/views/growth/admin/praise_incomes/new.html.erb
113
+ - app/views/growth/admin/praise_incomes/show.html.erb
114
+ - app/views/growth/admin/reward_expenses/_filter.html.erb
115
+ - app/views/growth/admin/reward_expenses/_form.html.erb
116
+ - app/views/growth/admin/reward_expenses/index.html.erb
117
+ - app/views/growth/admin/reward_expenses/show.html.erb
118
+ - app/views/growth/admin/reward_incomes/_filter.html.erb
119
+ - app/views/growth/admin/reward_incomes/_form.html.erb
120
+ - app/views/growth/admin/reward_incomes/edit.html.erb
121
+ - app/views/growth/admin/reward_incomes/index.html.erb
122
+ - app/views/growth/admin/reward_incomes/new.html.erb
123
+ - app/views/growth/admin/reward_incomes/show.html.erb
124
+ - app/views/growth/admin/rewards/_filter.html.erb
125
+ - app/views/growth/admin/rewards/_form.html.erb
126
+ - app/views/growth/admin/rewards/index.html.erb
127
+ - app/views/growth/admin/rewards/show.html.erb
128
+ - app/views/growth/my/aims/_aim.json.jbuilder
129
+ - app/views/growth/my/aims/index.json.jbuilder
130
+ - app/views/growth/my/aims/show.json.jbuilder
131
+ - app/views/growth/my/gifts/_gift.json.jbuilder
132
+ - app/views/growth/my/gifts/_praise_income.json.jbuilder
133
+ - app/views/growth/my/gifts/give.json.jbuilder
134
+ - app/views/growth/my/gifts/index.json.jbuilder
135
+ - app/views/growth/my/rewards/_praise_user.json.jbuilder
136
+ - app/views/growth/my/rewards/top.json.jbuilder
137
+ - config/locales/en.notify.yml
138
+ - config/locales/en.yml
139
+ - config/locales/zh.controller.yml
140
+ - config/locales/zh.notify.yml
141
+ - config/locales/zh.yml
142
+ - config/routes.rb
143
+ - lib/rails_growth.rb
144
+ - lib/rails_growth/config.rb
145
+ - lib/rails_growth/engine.rb
146
+ - lib/rails_growth/serial_number_helper.rb
147
+ homepage: https://github.com/work-design/rails_growth
148
+ licenses:
149
+ - MIT
150
+ metadata: {}
151
+ post_install_message:
152
+ rdoc_options: []
153
+ require_paths:
154
+ - lib
155
+ required_ruby_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ required_rubygems_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ requirements: []
166
+ rubygems_version: 3.2.22
167
+ signing_key:
168
+ specification_version: 4
169
+ summary: 增长策略
170
+ test_files: []